Better installation of manual pages for libarchive
- and several low-prio problems in spec file found by fedora-review - Resolves: #862605
This commit is contained in:
parent
163481b495
commit
b71c2f0945
@ -1,12 +1,12 @@
|
|||||||
Name: libarchive
|
Name: libarchive
|
||||||
Version: 3.0.4
|
Version: 3.0.4
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A library for handling streaming archive formats
|
Summary: A library for handling streaming archive formats
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://code.google.com/p/libarchive/
|
URL: http://code.google.com/p/libarchive/
|
||||||
Source0: http://libarchive.googlecode.com/files/libarchive-%{version}.tar.gz
|
Source0: https://github.com/downloads/libarchive/libarchive/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
|
|
||||||
%package -n bsdtar
|
%package -n bsdtar
|
||||||
Summary: bsdtar utility
|
Summary: Manipulate tape archives
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
|
|
||||||
%description -n bsdtar
|
%description -n bsdtar
|
||||||
@ -49,7 +49,7 @@ libarchive packages.
|
|||||||
|
|
||||||
|
|
||||||
%package -n bsdcpio
|
%package -n bsdcpio
|
||||||
Summary: bsdcpio utility
|
Summary: Copy files to and from archives
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
|
|
||||||
%description -n bsdcpio
|
%description -n bsdcpio
|
||||||
@ -74,9 +74,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS
|
iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
find $RPM_BUILD_ROOT -name cpio.5 -exec rm -f {} ';'
|
|
||||||
find $RPM_BUILD_ROOT -name mtree.5 -exec rm -f {} ';'
|
|
||||||
find $RPM_BUILD_ROOT -name tar.5 -exec rm -f {} ';'
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -92,13 +89,17 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING README NEWS
|
%doc COPYING README NEWS
|
||||||
%{_libdir}/libarchive.so.12*
|
%{_libdir}/libarchive.so.12*
|
||||||
|
%{_mandir}/*/cpio.*
|
||||||
|
%{_mandir}/*/mtree.*
|
||||||
|
%{_mandir}/*/tar.*
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc
|
%doc
|
||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/archive*
|
||||||
|
%{_mandir}/*/libarchive*
|
||||||
%{_libdir}/libarchive.so
|
%{_libdir}/libarchive.so
|
||||||
%{_libdir}/pkgconfig/libarchive.pc
|
%{_libdir}/pkgconfig/libarchive.pc
|
||||||
|
|
||||||
@ -106,14 +107,23 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING README NEWS
|
%doc COPYING README NEWS
|
||||||
%{_bindir}/bsdtar
|
%{_bindir}/bsdtar
|
||||||
|
%{_mandir}/*/bsdtar*
|
||||||
|
|
||||||
%files -n bsdcpio
|
%files -n bsdcpio
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING README NEWS
|
%doc COPYING README NEWS
|
||||||
%{_bindir}/bsdcpio
|
%{_bindir}/bsdcpio
|
||||||
|
%{_mandir}/*/bsdcpio*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 03 2012 Pavel Raiskup <praiskup@redhat.com> - 3.0.4-3
|
||||||
|
- better install manual pages for libarchive/bsdtar/bsdcpio (# ... )
|
||||||
|
- several fedora-review fixes ...:
|
||||||
|
- Source0 has moved to github.com
|
||||||
|
- remove trailing white spaces
|
||||||
|
- repair summary to better describe bsdtar/cpiotar utilities
|
||||||
|
|
||||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-2
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user