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 Name: glog
Version: 0.3.5 Version: 0.3.5
Release: 5%{?dist} Release: 6%{?dist}
Summary: A C++ application logging library Summary: A C++ application logging library
Group: System Environment/Libraries Group: System Environment/Libraries
License: BSD License: BSD
@ -30,24 +30,19 @@ developing applications that use %{name}.
%prep %prep
%setup -q %autosetup
%build %build
autoconf autoconf
%configure --disable-static %configure --disable-static
make %{?_smp_mflags} %make_build
%install %install
make install DESTDIR=$RPM_BUILD_ROOT %make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version} rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
%ldconfig_scriptlets
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files %files
%doc ChangeLog COPYING README %doc ChangeLog COPYING README
@ -62,6 +57,9 @@ rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
%changelog %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 * Wed Oct 10 2018 Sérgio Basto <sergio@serjux.com> - 0.3.5-5
- Rebuit for gflags-2.2.1 - Rebuit for gflags-2.2.1