Spec file cleanup
- Remove leading "a" from summary: Most newly created packages don't use a leading "a" or "the" anymore - Remove %license definition: Building works without local definition, even on EPEL 7 - It seems to be strange, that -devel depends on the base package with an executable of the same version rather on -libs (like most other -devel packages do)
This commit is contained in:
parent
4d1c36bdb9
commit
2e030eca12
@ -1,4 +1,4 @@
|
|||||||
Summary: A utility for setting up encrypted disks
|
Summary: Utility for setting up encrypted disks
|
||||||
Name: cryptsetup
|
Name: cryptsetup
|
||||||
Version: 2.3.4
|
Version: 2.3.4
|
||||||
Release: 2%{?dist}
|
Release: 2%{?dist}
|
||||||
@ -23,7 +23,7 @@ The cryptsetup package contains a utility for setting up
|
|||||||
disk encryption using dm-crypt kernel module.
|
disk encryption using dm-crypt kernel module.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Summary: Headers and libraries for using encrypted file systems
|
Summary: Headers and libraries for using encrypted file systems
|
||||||
Provides: cryptsetup-luks-devel = %{version}-%{release}
|
Provides: cryptsetup-luks-devel = %{version}-%{release}
|
||||||
@ -75,33 +75,29 @@ chmod -x misc/dracut_90reencrypt/*
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
rm -rf %{buildroot}/%{_libdir}/*.la
|
rm -rf %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
%find_lang cryptsetup
|
%find_lang cryptsetup
|
||||||
|
|
||||||
%ldconfig_scriptlets -n cryptsetup-libs
|
%ldconfig_scriptlets -n cryptsetup-libs
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS FAQ docs/*ReleaseNotes
|
%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
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_mandir}/man8/veritysetup.8.gz
|
%{_mandir}/man8/veritysetup.8.gz
|
||||||
%{_sbindir}/veritysetup
|
%{_sbindir}/veritysetup
|
||||||
|
|
||||||
%files -n integritysetup
|
%files -n integritysetup
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_mandir}/man8/integritysetup.8.gz
|
%{_mandir}/man8/integritysetup.8.gz
|
||||||
%{_sbindir}/integritysetup
|
%{_sbindir}/integritysetup
|
||||||
|
|
||||||
%files reencrypt
|
%files reencrypt
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc misc/dracut_90reencrypt
|
%doc misc/dracut_90reencrypt
|
||||||
%{_mandir}/man8/cryptsetup-reencrypt.8.gz
|
%{_mandir}/man8/cryptsetup-reencrypt.8.gz
|
||||||
@ -114,7 +110,6 @@ rm -rf %{buildroot}/%{_libdir}/*.la
|
|||||||
%{_libdir}/pkgconfig/libcryptsetup.pc
|
%{_libdir}/pkgconfig/libcryptsetup.pc
|
||||||
|
|
||||||
%files libs -f cryptsetup.lang
|
%files libs -f cryptsetup.lang
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license COPYING COPYING.LGPL
|
%license COPYING COPYING.LGPL
|
||||||
%{_libdir}/libcryptsetup.so.*
|
%{_libdir}/libcryptsetup.so.*
|
||||||
%{_tmpfilesdir}/cryptsetup.conf
|
%{_tmpfilesdir}/cryptsetup.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user