- Split translations to -lang package

OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=156
This commit is contained in:
Ludwig Nussel 2020-04-02 14:37:41 +00:00 committed by Git OBS Bridge
parent 8873d8f729
commit 7b6ff2d0f5
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,7 @@
-------------------------------------------------------------------
Thu Apr 2 14:27:18 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- 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

View File

@ -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}*