- Spec cleanup
This commit is contained in:
parent
2d322234fa
commit
83662e935b
17
glog.spec
17
glog.spec
@ -1,15 +1,12 @@
|
||||
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
|
||||
Patch0: glog-0.3.3-gflags-namespace.patch
|
||||
|
||||
BuildRequires: autoconf, gflags-devel >= 2.1.0
|
||||
Requires: gflags
|
||||
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user