- Spec cleanup

This commit is contained in:
Filipe Rosset 2017-06-18 23:40:41 -03:00
parent 2d322234fa
commit 83662e935b

View File

@ -1,14 +1,11 @@
Name: glog
Version: 0.3.3
Release: 13%{?dist}
Release: 14%{?dist}
Summary: A C++ application logging library
Group: System Environment/Libraries
License: BSD
URL: http://code.google.com/p/google-glog
Source0: http://google-glog.googlecode.com/files/%{name}-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Patch0: glog-0.3.3-gflags-namespace.patch
BuildRequires: autoconf, gflags-devel >= 2.1.0
@ -41,28 +38,21 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING README
%{_libdir}/libglog.so.*
%files devel
%defattr(-,root,root,-)
%doc doc/designstyle.css doc/glog.html
%{_libdir}/libglog.so
%{_libdir}/pkgconfig/libglog.pc
@ -71,6 +61,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Jun 19 2017 Filipe Rosset <rosset.filipe@gmail.com> - 0.3.3-14
- Spec cleanup
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild