diff options
author | Remi Collet <remi@remirepo.net> | 2018-02-26 11:02:22 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-02-26 11:02:22 +0100 |
commit | 692c12c3c5cb628e9974ef69da1d5c557eab4ec7 (patch) | |
tree | 6c830de5fb2ba788d26ee7411974565061570b6d /cmph.spec | |
parent | 28a6ebf0704658f48dad744ba798b5bfb45504a4 (diff) |
Diffstat (limited to 'cmph.spec')
-rw-r--r-- | cmph.spec | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -1,13 +1,11 @@ Name: cmph Version: 2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Minimal hash C library -Group: System Environment/Libraries License: MPLv1.1 or LGPLv2 URL: http://cmph.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libtool BuildRequires: check-devel @@ -38,11 +36,7 @@ sed -e 's/-Wall/$CFLAGS/' -i configure.ac %build -%if 0%{?rhel} == 5 -: Use provided configure in EL5 -%else autoreconf -i --force -%endif # --enable-cxxmph not used, build broken @@ -62,20 +56,19 @@ rm -f %{buildroot}%{_libdir}/lib%{name}.{a,la} make check -%post -p /sbin/ldconfig - +%if 0%{?fedora} < 28 && 0%{?rhel} < 8 +%post -p /sbin/ldconfig %postun -p /sbin/ldconfig +%endif %files -%defattr(-,root,root,-) %doc AUTHORS COPYING LGPL-2 MPL-1.1 README %{_libdir}/lib%{name}.so.* %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %files devel -%defattr(-,root,root,-) %{_includedir}/%{name}* %{_includedir}/chd_ph.h %{_libdir}/lib%{name}.so @@ -83,5 +76,8 @@ make check %changelog +* Mon Feb 26 2018 Remi Collet <remi@feoraproject.org> - 2.0-2 +- F28 cleanup + * Wed Oct 9 2013 Remi Collet <remi@feoraproject.org> - 2.0-1 - Initial package |