From 7b6ff2d0f5dcf92cbc7465f54ea66995808154a7f511533ff677da9796c43861 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Thu, 2 Apr 2020 14:37:41 +0000 Subject: [PATCH] - Split translations to -lang package OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=156 --- cryptsetup.changes | 1 + cryptsetup.spec | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) 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}*