fix license handling
This commit is contained in:
parent
d23e30817f
commit
b40d96962b
20
xz.spec
20
xz.spec
@ -3,7 +3,7 @@
|
|||||||
Summary: LZMA compression utilities
|
Summary: LZMA compression utilities
|
||||||
Name: xz
|
Name: xz
|
||||||
Version: 5.1.2
|
Version: 5.1.2
|
||||||
Release: 12alpha%{?dist}
|
Release: 13alpha%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
# official upstream release
|
# official upstream release
|
||||||
@ -150,24 +150,29 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS COPYING* NEWS README THANKS TODO
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
%license COPYING*
|
||||||
|
%doc AUTHORS NEWS README THANKS TODO
|
||||||
%{_bindir}/*xz*
|
%{_bindir}/*xz*
|
||||||
%{_mandir}/man1/*xz*
|
%{_mandir}/man1/*xz*
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING*
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
%license COPYING
|
||||||
%{_libdir}/lib*.so.5*
|
%{_libdir}/lib*.so.5*
|
||||||
|
|
||||||
%files static
|
%files static
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING*
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
%license COPYING
|
||||||
%{_libdir}/liblzma.a
|
%{_libdir}/liblzma.a
|
||||||
|
|
||||||
%files compat-libs
|
%files compat-libs
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING*
|
%{!?_licensedir:%global license %%doc}
|
||||||
%{_libdir}/lib*.so.0*
|
%license COPYING*
|
||||||
|
%doc COPYING* %{_libdir}/lib*.so.0*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -183,6 +188,9 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man1/*lz*
|
%{_mandir}/man1/*lz*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 6 2014 Tom Callaway <spot@fedoraproject.org> - 5.1.2-13alpha
|
||||||
|
- fix license handling
|
||||||
|
|
||||||
* Fri Jun 13 2014 Pavel Raiskup <praiskup@redhat.com> - 5.1.2-12alpha
|
* Fri Jun 13 2014 Pavel Raiskup <praiskup@redhat.com> - 5.1.2-12alpha
|
||||||
- xzgrep: return 0 when at least one file matches (#1109122)
|
- xzgrep: return 0 when at least one file matches (#1109122)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user