Move license to libudisks2 subpackage

Ensure that the license is always installed.
This commit is contained in:
David King 2015-04-23 10:14:31 +01:00
parent 814a039db7
commit c73718d01d

View File

@ -136,34 +136,29 @@ make check
%files -f %{name}.lang
%doc README AUTHORS NEWS HACKING
%license COPYING
%dir %{_sysconfdir}/udisks2
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.UDisks2.conf
%{_datadir}/bash-completion/completions/udisksctl
%{_prefix}/lib/systemd/system/udisks2.service
%{_prefix}/lib/udev/rules.d/80-udisks2.rules
%{_sbindir}/umount.udisks2
%dir %{_prefix}/lib/udisks2
%{_prefix}/lib/udisks2/udisksd
%{_bindir}/udisksctl
%{_mandir}/man1/udisksctl.1*
%{_mandir}/man8/udisks.8*
%{_mandir}/man8/udisksd.8*
%{_mandir}/man8/umount.udisks2.8*
%{_datadir}/polkit-1/actions/org.freedesktop.udisks2.policy
%{_datadir}/dbus-1/system-services/org.freedesktop.UDisks2.service
# Permissions for local state data are 0700 to avoid leaking information
# about e.g. mounts to unprivileged users
%attr(0700,root,root) %dir %{_localstatedir}/lib/udisks2
%files -n libudisks2
# The COPYING file contains both the GPL (daemon and tools) and LGPL (library
# and development headers).
%license COPYING
%{_libdir}/libudisks2.so.*
%{_libdir}/girepository-1.0/UDisks-2.0.typelib
@ -180,6 +175,7 @@ make check
%changelog
* Thu Apr 23 2015 David King <amigadave@amigadave.com> - 2.1.5-3
- Call make check during check phase
- Move license to libudisks2 subpackage
* Wed Apr 22 2015 David King <amigadave@amigadave.com> - 2.1.5-2
- Use systemd scriptlet snippets (#857409)