Add CentOS 8 rule.
git-svn-id: https://svn.apache.org/repos/asf/santuario/xml-security-cpp/trunk@1867645 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/xml-security-c.spec b/xml-security-c.spec
index c638994..68f9a6e 100644
--- a/xml-security-c.spec
+++ b/xml-security-c.spec
@@ -1,6 +1,6 @@
Name: xml-security-c
Version: 2.0.2
-Release: 1
+Release: 2
Summary: Apache XML security C++ library
Group: Development/Libraries/C and C++
License: Apache 2.0
@@ -15,6 +15,10 @@
BuildRequires: redhat-rpm-config
%endif
+%if 0%{?rhel} >= 8 || 0%{?centos_version} >= 800
+BuildRequires: gdb
+%endif
+
%description
The xml-security-c library is a C++ implementation of the XML Digital Signature
and Encryption specifications. The library makes use of the Apache XML project's
@@ -77,13 +81,9 @@
%{__rm} -rf $RPM_BUILD_ROOT
-%ifnos solaris2.8 solaris2.9 solaris2.10
%post -n libxml-security-c20 -p /sbin/ldconfig
-%endif
-%ifnos solaris2.8 solaris2.9 solaris2.10
%postun -n libxml-security-c20 -p /sbin/ldconfig
-%endif
%files -n xml-security-c-bin
%defattr(-,root,root,-)
@@ -102,6 +102,10 @@
%exclude %{_libdir}/*.la
%changelog
+* Fri Sep 27 2019 Scott Cantor <cantor.2@osu.edu> 2.0.0-2
+- Add CentOS 8 dependency rule
+- Remove Solaris exclusions
+
* Mon Nov 13 2017 Scott Cantor <cantor.2@osu.edu> 2.0.0-1
- update to 2.0.0
- exclude libtool archive