fix license handling
This commit is contained in:
parent
6e66c7950a
commit
7ca797b4f6
@ -3,7 +3,7 @@
|
||||
Summary: A utility for setting up encrypted disks
|
||||
Name: cryptsetup
|
||||
Version: 1.6.5
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Group: Applications/System
|
||||
URL: http://cryptsetup.googlecode.com/
|
||||
@ -133,17 +133,22 @@ popd
|
||||
%postun -n cryptsetup-libs -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc COPYING AUTHORS FAQ docs/*ReleaseNotes
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc AUTHORS FAQ docs/*ReleaseNotes
|
||||
%{_mandir}/man8/cryptsetup.8.gz
|
||||
%{_sbindir}/cryptsetup
|
||||
|
||||
%files -n veritysetup
|
||||
%doc COPYING
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%{_mandir}/man8/veritysetup.8.gz
|
||||
%{_sbindir}/veritysetup
|
||||
|
||||
%files reencrypt
|
||||
%doc COPYING misc/dracut_90reencrypt
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc misc/dracut_90reencrypt
|
||||
%{_mandir}/man8/cryptsetup-reencrypt.8.gz
|
||||
%{_sbindir}/cryptsetup-reencrypt
|
||||
|
||||
@ -154,23 +159,31 @@ popd
|
||||
%{_libdir}/pkgconfig/libcryptsetup.pc
|
||||
|
||||
%files libs -f cryptsetup.lang
|
||||
%doc COPYING COPYING.LGPL
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING COPYING.LGPL
|
||||
%{_libdir}/libcryptsetup.so.*
|
||||
%{_libdir}/fipscheck/libcryptsetup.so.*.hmac
|
||||
|
||||
%files python
|
||||
%doc COPYING.LGPL python/pycryptsetup-test.py
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING.LGPL
|
||||
%doc python/pycryptsetup-test.py
|
||||
%exclude %{python_sitearch}/pycryptsetup.la
|
||||
%{python_sitearch}/pycryptsetup.so
|
||||
|
||||
%files python3
|
||||
%doc COPYING.LGPL python/pycryptsetup-test.py
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING.LGPL
|
||||
%doc python/pycryptsetup-test.py
|
||||
%exclude %{python3_sitearch}/pycryptsetup.la
|
||||
%{python3_sitearch}/pycryptsetup.so
|
||||
|
||||
%clean
|
||||
|
||||
%changelog
|
||||
* Fri Jul 11 2014 Tom Callaway <spot@fedoraproject.org> - 1.6.5-2
|
||||
- fix license handling
|
||||
|
||||
* Sun Jun 29 2014 Milan Broz <gmazyland@gmail.com> - 1.6.5-1
|
||||
- Update to cryptsetup 1.6.5.
|
||||
- Add cryptsetup-python3 subpackage.
|
||||
|
Loading…
Reference in New Issue
Block a user