obsolete cryptsetup4 legacy packages [release 2.3.4-3mamba;Sat May 01 2021]
This commit is contained in:
parent
4436cabd5c
commit
49d1c138dd
@ -2,7 +2,7 @@
|
|||||||
Name: libcryptsetup
|
Name: libcryptsetup
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 2.3.4
|
Version: 2.3.4
|
||||||
Release: 1mamba
|
Release: 3mamba
|
||||||
Summary: A library for setting up encrypted filesystems
|
Summary: A library for setting up encrypted filesystems
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -13,17 +13,18 @@ Source: https://www.kernel.org/pub/linux/utils/cryptsetup/v%{majver}/cryp
|
|||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libblkid-devel
|
||||||
BuildRequires: libdevmapper-devel
|
BuildRequires: libdevmapper-devel
|
||||||
BuildRequires: libgcrypt-devel
|
BuildRequires: libjson-c-devel
|
||||||
BuildRequires: libgpg-error-devel
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: libpopt-devel
|
BuildRequires: libpopt-devel
|
||||||
BuildRequires: libuuid-devel
|
BuildRequires: libuuid-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
BuildRequires: libsepol-devel
|
BuildRequires: libsepol-devel
|
||||||
Provides: %{name}-luks
|
Provides: %{name}-luks
|
||||||
Obsoletes: %{name}-luks
|
Obsoletes: %{name}-luks < 1:2.3.4-2mamba
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
Obsoletes: libcryptsetup4 < 1:2.3.4
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the cryptsetup shared library.
|
This package contains the cryptsetup shared library.
|
||||||
@ -36,7 +37,8 @@ Requires: libdevmapper-devel
|
|||||||
Requires: libgcrypt-devel
|
Requires: libgcrypt-devel
|
||||||
Requires: libuuid-devel
|
Requires: libuuid-devel
|
||||||
Provides: %{name}-luks-devel
|
Provides: %{name}-luks-devel
|
||||||
Obsoletes: %{name}-luks-devel
|
Obsoletes: %{name}-luks-devel < 1:2.3.4-2mamba
|
||||||
|
Obsoletes: libcryptsetup4-devel < 1:2.3.4
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contain libraries and header files used for writing code that makes use of encrypted filesystems.
|
This package contain libraries and header files used for writing code that makes use of encrypted filesystems.
|
||||||
@ -45,10 +47,13 @@ This package contain libraries and header files used for writing code that makes
|
|||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
Summary: A utility for setting up encrypted filesystems
|
Summary: A utility for setting up encrypted filesystems
|
||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Obsoletes: cryptsetup4 < 1:2.3.4
|
||||||
|
|
||||||
%description -n cryptsetup
|
%description -n cryptsetup
|
||||||
This package contains cryptsetup, a utility for setting up encrypted filesystems using Device Mapper and the dm-crypt target.
|
This package contains cryptsetup, a utility for setting up encrypted filesystems using Device Mapper and the dm-crypt target.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n cryptsetup-%{version}
|
%setup -q -n cryptsetup-%{version}
|
||||||
|
|
||||||
@ -56,9 +61,7 @@ iconv -f latin1 -t utf8 ChangeLog > ChangeLog.new
|
|||||||
mv -f ChangeLog.new ChangeLog
|
mv -f ChangeLog.new ChangeLog
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure
|
||||||
--sbindir=/sbin \
|
|
||||||
--libdir=/%{_lib}
|
|
||||||
|
|
||||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
@ -69,14 +72,8 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall
|
||||||
|
|
||||||
rm -rf %{buildroot}/%{_lib}/*.la %{buildroot}/%{_lib}/cryptsetup
|
rm -rf %{buildroot}%{_libdir}/*.la
|
||||||
|
#%{buildroot}/%{_lib}/cryptsetup
|
||||||
pushd %{buildroot}/%{_lib}
|
|
||||||
rm libcryptsetup.so
|
|
||||||
mkdir -p %{buildroot}%{_libdir}
|
|
||||||
find libcryptsetup.so.*\.*\.* -exec ln -s /%{_lib}/{} %{buildroot}%{_libdir}/libcryptsetup.so \;
|
|
||||||
mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}
|
|
||||||
popd
|
|
||||||
|
|
||||||
%find_lang cryptsetup
|
%find_lang cryptsetup
|
||||||
|
|
||||||
@ -88,7 +85,7 @@ popd
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/%{_lib}/libcryptsetup.so.*
|
%{_libdir}/libcryptsetup.so.*
|
||||||
%doc AUTHORS COPYING
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -100,17 +97,23 @@ popd
|
|||||||
|
|
||||||
%files -n cryptsetup -f cryptsetup.lang
|
%files -n cryptsetup -f cryptsetup.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/sbin/cryptsetup
|
%{_sbindir}/cryptsetup
|
||||||
/sbin/veritysetup
|
%{_sbindir}/veritysetup
|
||||||
/sbin/cryptsetup-reencrypt
|
%{_sbindir}/cryptsetup-reencrypt
|
||||||
/sbin/integritysetup
|
%{_sbindir}/integritysetup
|
||||||
%{_prefix}/lib/tmpfiles.d/cryptsetup.conf
|
%{_tmpfilesdir}/cryptsetup.conf
|
||||||
%{_mandir}/man8/cryptsetup.8*
|
%{_mandir}/man8/cryptsetup.8*
|
||||||
%{_mandir}/man8/cryptsetup-reencrypt.8*
|
%{_mandir}/man8/cryptsetup-reencrypt.8*
|
||||||
%{_mandir}/man8/veritysetup.8*
|
%{_mandir}/man8/veritysetup.8*
|
||||||
%{_mandir}/man8/integritysetup.8*
|
%{_mandir}/man8/integritysetup.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat May 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.4-3mamba
|
||||||
|
- obsolete cryptsetup4 legacy packages
|
||||||
|
|
||||||
|
* Sat May 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.4-2mamba
|
||||||
|
- rebuilt in /usr
|
||||||
|
|
||||||
* Sat Sep 05 2020 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
|
* Sat Sep 05 2020 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user