Skip to content

Commit 2358100

Browse files
committed
Add CentOS 8 rule.
1 parent 2f0a01f commit 2358100

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

xml-security-c.spec

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Name: xml-security-c
22
Version: 2.0.2
3-
Release: 1
3+
Release: 2
44
Summary: Apache XML security C++ library
55
Group: Development/Libraries/C and C++
66
License: Apache 2.0
@@ -15,6 +15,10 @@ BuildRequires: openssl-devel gcc-c++ pkgconfig
1515
BuildRequires: redhat-rpm-config
1616
%endif
1717

18+
%if 0%{?rhel} >= 8 || 0%{?centos_version} >= 800
19+
BuildRequires: gdb
20+
%endif
21+
1822
%description
1923
The xml-security-c library is a C++ implementation of the XML Digital Signature
2024
and Encryption specifications. The library makes use of the Apache XML project's
@@ -77,13 +81,9 @@ This package includes files needed for development with xml-security-c.
7781
%{__rm} -rf $RPM_BUILD_ROOT
7882

7983

80-
%ifnos solaris2.8 solaris2.9 solaris2.10
8184
%post -n libxml-security-c20 -p /sbin/ldconfig
82-
%endif
8385

84-
%ifnos solaris2.8 solaris2.9 solaris2.10
8586
%postun -n libxml-security-c20 -p /sbin/ldconfig
86-
%endif
8787

8888
%files -n xml-security-c-bin
8989
%defattr(-,root,root,-)
@@ -102,6 +102,10 @@ This package includes files needed for development with xml-security-c.
102102
%exclude %{_libdir}/*.la
103103

104104
%changelog
105+
* Fri Sep 27 2019 Scott Cantor <[email protected]> 2.0.0-2
106+
- Add CentOS 8 dependency rule
107+
- Remove Solaris exclusions
108+
105109
* Mon Nov 13 2017 Scott Cantor <[email protected]> 2.0.0-1
106110
- update to 2.0.0
107111
- exclude libtool archive

0 commit comments

Comments
 (0)