Fix doc-files installation
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
This commit is contained in:
parent
affeac2ffb
commit
f162ccfcf8
24
gflags.spec
24
gflags.spec
@ -2,14 +2,13 @@
|
|||||||
|
|
||||||
Name: gflags
|
Name: gflags
|
||||||
Version: 1.3
|
Version: 1.3
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Library for commandline flag processing
|
Summary: Library for commandline flag processing
|
||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://code.google.com/p/google-%{name}/
|
URL: http://code.google.com/p/google-%{name}/
|
||||||
Source0: http://google-%{name}.googlecode.com/files/%{name}-%{version}.tar.gz
|
Source0: http://google-%{name}.googlecode.com/files/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildRequires: python-setuptools-devel
|
BuildRequires: python-setuptools-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -23,7 +22,7 @@ they're used.
|
|||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains development files for %{name}.
|
This package contains development files for %{name}.
|
||||||
@ -41,10 +40,12 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
find %{buildroot} -type f -name "*.la" -delete
|
||||||
|
|
||||||
|
# Remove preinstaled versioned doc-files
|
||||||
|
rm -rf %{buildroot}/%{_datadir}/doc/%{name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -52,24 +53,19 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
|||||||
# disable test suite
|
# disable test suite
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%doc AUTHORS ChangeLog README COPYING
|
||||||
%doc ChangeLog README COPYING
|
|
||||||
%{_bindir}/gflags_completions.sh
|
%{_bindir}/gflags_completions.sh
|
||||||
%{_libdir}/libgflags.so.*
|
%{_libdir}/libgflags.so.*
|
||||||
%{_libdir}/libgflags_nothreads.so.*
|
%{_libdir}/libgflags_nothreads.so.*
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc doc/designstyle.css doc/gflags.html
|
%doc doc/designstyle.css doc/gflags.html
|
||||||
%{_libdir}/libgflags.so
|
%{_libdir}/libgflags.so
|
||||||
%{_libdir}/libgflags_nothreads.so
|
%{_libdir}/libgflags_nothreads.so
|
||||||
@ -79,6 +75,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_includedir}/google/*.h
|
%{_includedir}/google/*.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 06 2013 Peter Lemenkov <lemenkov@gmail.com> - 1.3-7
|
||||||
|
- Cleanup spec-file (removed EL6/FC6 stuff)
|
||||||
|
- Fix doc-files installation
|
||||||
|
|
||||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-6
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user