fix license handling

This commit is contained in:
Tom Callaway 2014-07-17 14:07:00 -04:00
parent 0725db5125
commit 71ff6ca57c

View File

@ -1,6 +1,6 @@
Name: libarchive Name: libarchive
Version: 3.1.2 Version: 3.1.2
Release: 8%{?dist} Release: 9%{?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
@ -140,7 +140,9 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING README NEWS %{!?_licensedir:%global license %%doc}
%license COPYING
%doc README NEWS
%{_libdir}/libarchive.so.13* %{_libdir}/libarchive.so.13*
%{_mandir}/*/cpio.* %{_mandir}/*/cpio.*
%{_mandir}/*/mtree.* %{_mandir}/*/mtree.*
@ -157,18 +159,25 @@ rm -rf $RPM_BUILD_ROOT
%files -n bsdtar %files -n bsdtar
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING README NEWS %{!?_licensedir:%global license %%doc}
%license COPYING
%doc README NEWS
%{_bindir}/bsdtar %{_bindir}/bsdtar
%{_mandir}/*/bsdtar* %{_mandir}/*/bsdtar*
%files -n bsdcpio %files -n bsdcpio
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING README NEWS %{!?_licensedir:%global license %%doc}
%license COPYING
%doc README NEWS
%{_bindir}/bsdcpio %{_bindir}/bsdcpio
%{_mandir}/*/bsdcpio* %{_mandir}/*/bsdcpio*
%changelog %changelog
* Thu Jul 17 2014 Tom Callaway <spot@fedoraproject.org> - 3.1.2-9
- fix license handling
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-8 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild