[cpp-log4shib] branch master updated: CentOS 8 specfile fixes.

Scott Cantor cantor.2 at osu.edu
Fri Sep 27 13:53:57 EDT 2019


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository cpp-log4shib.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-log4shib.git;a=commit;h=ed0436600d5315e8795a35079548abe157700756

The following commit(s) were added to refs/heads/master by this push:
       new  ed04366   CentOS 8 specfile fixes.
ed04366 is described below

commit ed0436600d5315e8795a35079548abe157700756
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Sep 27 13:53:52 2019 -0400

    CentOS 8 specfile fixes.
---
 log4shib.spec.in | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/log4shib.spec.in b/log4shib.spec.in
index a416682..078d64e 100644
--- a/log4shib.spec.in
+++ b/log4shib.spec.in
@@ -14,6 +14,10 @@ BuildRequires:  gcc-c++ pkgconfig
 BuildRequires: redhat-rpm-config  
 %endif  
 
+%if 0%{?rhel} >= 8 || 0%{?centos_version} >= 800
+BuildRequires: gdb
+%endif
+
 %if "%{_vendor}" == "suse"
 %define pkgdocdir %{_docdir}/%{name}
 %else
@@ -66,18 +70,14 @@ config/install-sh -m 644 -c AUTHORS COPYING INSTALL NEWS README THANKS ChangeLog
 %clean
 [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
 
-%ifnos solaris2.8 solaris2.9 solaris2.10
 %post -n lib at PACKAGE_NAME@2 -p /sbin/ldconfig
-%endif
 
 %post -n lib at PACKAGE_NAME@-devel
 if test "x$RPM_INSTALL_PREFIX0" != "x" ; then
     %{__perl} -pi -e"s|^prefix=\"[^\"]*\"|prefix=\"$RPM_INSTALL_PREFIX0\"|" $RPM_INSTALL_PREFIX0/bin/@PACKAGE_NAME at -config
 fi
 
-%ifnos solaris2.8 solaris2.9 solaris2.10 
 %postun -n lib at PACKAGE_NAME@2 -p /sbin/ldconfig
-%endif
 
 %files -n lib at PACKAGE_NAME@2
 %defattr(-,root,root,755)
@@ -94,6 +94,10 @@ fi
 %doc %{pkgdocdir}
 
 %changelog
+* Fri Sep 27 2019 Scott Cantor <cantor.2 at osu.edu> - 2.0.0-2
+- Remove old Solaris exclusions
+- Add CentOS 8 gdb dependency
+
 * Mon Jun 25 2018 Scott Cantor <cantor.2 at osu.edu> - 2.0.0-1
 - Bump version
 - Switch to bzipped source

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list