SHA256
1
0
forked from pool/cryptsetup

Accepting request 161166 from security

- Remove excessive dependencies of libcryptsetup-devel
  (it does not require any of these)
- Mark 2.6.38 as needed

N.B.: You can now use the tilde syntax when procuring beta versions
in future, e.g. "Version: 2.0~beta1" (forwarded request 160813 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/161166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=81
This commit is contained in:
Stephan Kulow 2013-03-26 13:05:44 +00:00 committed by Git OBS Bridge
commit eb37569de2
2 changed files with 20 additions and 19 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Mar 24 19:17:47 UTC 2013 - jengelh@inai.de
- Remove excessive dependencies of libcryptsetup-devel
(it does not require any of these)
-------------------------------------------------------------------
Tue Jan 15 13:17:57 UTC 2013 - lnussel@suse.de

View File

@ -16,11 +16,19 @@
#
#define beta rc1
%define ver %version%{?beta:-%beta}
Name: cryptsetup
Url: http://code.google.com/p/cryptsetup/
Version: 1.6.0
Release: 0
Summary: Set Up dm-crypt Based Encrypted Block Devices
License: SUSE-GPL-2.0-with-openssl-exception and LGPL-2.0+
Group: System/Base
Source: http://cryptsetup.googlecode.com/files/cryptsetup-%version.tar.bz2
Source1: http://cryptsetup.googlecode.com/files/cryptsetup-%version.tar.bz2.asc
Source2: baselibs.conf
Source3: %{name}.keyring
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: device-mapper-devel
BuildRequires: e2fsprogs-devel
%if 0%{?suse_version} > 1220
@ -29,19 +37,10 @@ BuildRequires: gpg-offline
BuildRequires: libgcrypt-devel
BuildRequires: libselinux-devel
BuildRequires: libtool
# 2.6.38 has the required if_alg.h
BuildRequires: linux-glibc-devel >= 2.6.38
BuildRequires: pkgconfig
BuildRequires: popt-devel
Version: 1.6.0
Release: 0
#Release: %{?beta:0.}<CI_CNT>.<B_CNT>%{?beta:.}%{?beta}
Summary: Set Up dm-crypt Based Encrypted Block Devices
License: SUSE-GPL-2.0-with-openssl-exception and LGPL-2.0+
Group: System/Base
Source: http://cryptsetup.googlecode.com/files/cryptsetup-%{ver}.tar.bz2
Source1: http://cryptsetup.googlecode.com/files/cryptsetup-%{ver}.tar.bz2.asc
Source2: baselibs.conf
Source3: %{name}.keyring
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
cryptsetup is used to conveniently set up dm-crypt based device-mapper
@ -67,12 +66,8 @@ Group: Development/Libraries/C and C++
# cryptsetup-devel last used 11.1
Provides: cryptsetup-devel = %{version}
Obsoletes: cryptsetup-devel < %{version}
Requires: device-mapper-devel
Requires: e2fsprogs-devel
Requires: glibc-devel
Requires: libcryptsetup4 = %{version}
Requires: libgcrypt-devel
Requires: libgpg-error-devel
%description -n libcryptsetup-devel
cryptsetup is used to conveniently set up dm-crypt based device-mapper
@ -85,7 +80,7 @@ time via the config file /etc/crypttab.
%if 0%{?gpg_verify:1}
%gpg_verify %{S:1}
%endif
%setup -n %name-%ver -q
%setup -q
%build
# cryptsetup build