fix license handling

This commit is contained in:
Tom Callaway 2014-07-11 17:08:04 -04:00
parent 6e66c7950a
commit 7ca797b4f6

View File

@ -3,7 +3,7 @@
Summary: A utility for setting up encrypted disks Summary: A utility for setting up encrypted disks
Name: cryptsetup Name: cryptsetup
Version: 1.6.5 Version: 1.6.5
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Group: Applications/System Group: Applications/System
URL: http://cryptsetup.googlecode.com/ URL: http://cryptsetup.googlecode.com/
@ -133,17 +133,22 @@ popd
%postun -n cryptsetup-libs -p /sbin/ldconfig %postun -n cryptsetup-libs -p /sbin/ldconfig
%files %files
%doc COPYING AUTHORS FAQ docs/*ReleaseNotes %{!?_licensedir:%global license %%doc}
%license COPYING
%doc AUTHORS FAQ docs/*ReleaseNotes
%{_mandir}/man8/cryptsetup.8.gz %{_mandir}/man8/cryptsetup.8.gz
%{_sbindir}/cryptsetup %{_sbindir}/cryptsetup
%files -n veritysetup %files -n veritysetup
%doc COPYING %{!?_licensedir:%global license %%doc}
%license COPYING
%{_mandir}/man8/veritysetup.8.gz %{_mandir}/man8/veritysetup.8.gz
%{_sbindir}/veritysetup %{_sbindir}/veritysetup
%files reencrypt %files reencrypt
%doc COPYING misc/dracut_90reencrypt %{!?_licensedir:%global license %%doc}
%license COPYING
%doc misc/dracut_90reencrypt
%{_mandir}/man8/cryptsetup-reencrypt.8.gz %{_mandir}/man8/cryptsetup-reencrypt.8.gz
%{_sbindir}/cryptsetup-reencrypt %{_sbindir}/cryptsetup-reencrypt
@ -154,23 +159,31 @@ popd
%{_libdir}/pkgconfig/libcryptsetup.pc %{_libdir}/pkgconfig/libcryptsetup.pc
%files libs -f cryptsetup.lang %files libs -f cryptsetup.lang
%doc COPYING COPYING.LGPL %{!?_licensedir:%global license %%doc}
%license COPYING COPYING.LGPL
%{_libdir}/libcryptsetup.so.* %{_libdir}/libcryptsetup.so.*
%{_libdir}/fipscheck/libcryptsetup.so.*.hmac %{_libdir}/fipscheck/libcryptsetup.so.*.hmac
%files python %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 %exclude %{python_sitearch}/pycryptsetup.la
%{python_sitearch}/pycryptsetup.so %{python_sitearch}/pycryptsetup.so
%files python3 %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 %exclude %{python3_sitearch}/pycryptsetup.la
%{python3_sitearch}/pycryptsetup.so %{python3_sitearch}/pycryptsetup.so
%clean %clean
%changelog %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 * Sun Jun 29 2014 Milan Broz <gmazyland@gmail.com> - 1.6.5-1
- Update to cryptsetup 1.6.5. - Update to cryptsetup 1.6.5.
- Add cryptsetup-python3 subpackage. - Add cryptsetup-python3 subpackage.