diff --git a/cryptsetup.changes b/cryptsetup.changes index 6f17bf9..0f867e5 100644 --- a/cryptsetup.changes +++ b/cryptsetup.changes @@ -1,6 +1,7 @@ ------------------------------------------------------------------- Thu Apr 2 14:27:18 UTC 2020 - Ludwig Nussel +- Split translations to -lang package - New version to 2.3.1 * Support VeraCrypt 128 bytes passwords. VeraCrypt now allows passwords of maximal length 128 bytes diff --git a/cryptsetup.spec b/cryptsetup.spec index a4b3eb0..fbefd44 100644 --- a/cryptsetup.spec +++ b/cryptsetup.spec @@ -56,6 +56,8 @@ BuildRequires: libtool Requires(post): coreutils Requires(postun): coreutils +%lang_package(cryptsetup) + %description cryptsetup is used to conveniently set up dm-crypt based device-mapper targets. It allows to set up targets to read cryptoloop compatible @@ -166,7 +168,7 @@ find %{buildroot} -type f -name "*.la" -delete -print %post -n libcryptsetup%{so_ver} -p /sbin/ldconfig %postun -n libcryptsetup%{so_ver} -p /sbin/ldconfig -%files -f %{name}.lang +%files %doc AUTHORS COPYING* FAQ README TODO docs/ChangeLog.old docs/*ReleaseNotes /sbin/cryptsetup%{?is_backports:2} %{_sbindir}/cryptsetup%{?is_backports:2} @@ -182,6 +184,8 @@ find %{buildroot} -type f -name "*.la" -delete -print %ghost %dir /run/cryptsetup %endif +%files lang -f %{name}.lang + %files -n libcryptsetup%{so_ver} %{_libdir}/libcryptsetup.so.%{so_ver}*