spec cleanup and modernization

This commit is contained in:
Filipe Rosset 2018-10-09 23:12:23 -03:00
parent 894b8da771
commit 6119777827

View File

@ -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 <rosset.filipe@gmail.com> - 0.3.5-6
- spec cleanup and modernization
* Wed Oct 10 2018 Sérgio Basto <sergio@serjux.com> - 0.3.5-5
- Rebuit for gflags-2.2.1