diff --git a/glog.spec b/glog.spec index 10aa2f5..5eb21a8 100644 --- a/glog.spec +++ b/glog.spec @@ -1,6 +1,6 @@ Name: glog Version: 0.3.5 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A C++ application logging library Group: System Environment/Libraries License: BSD @@ -30,24 +30,19 @@ developing applications that use %{name}. %prep -%setup -q +%autosetup %build autoconf %configure --disable-static -make %{?_smp_mflags} - +%make_build %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version} - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - +%ldconfig_scriptlets %files %doc ChangeLog COPYING README @@ -62,6 +57,9 @@ rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version} %changelog +* Wed Oct 10 2018 Filipe Rosset - 0.3.5-6 +- spec cleanup and modernization + * Wed Oct 10 2018 Sérgio Basto - 0.3.5-5 - Rebuit for gflags-2.2.1