fix libcryptsetup.so symlink [release 2.0.0-2mamba;Mon Jan 08 2018]

This commit is contained in:
Silvan Calarco 2024-01-06 04:02:43 +01:00
parent eedcf64433
commit 124c29bb48

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: libcryptsetup Name: libcryptsetup
Version: 1.7.5 Version: 2.0.0
Release: 1mamba Release: 2mamba
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
@ -73,7 +73,7 @@ rm -rf %{buildroot}/%{_lib}/*.la %{buildroot}/%{_lib}/cryptsetup
pushd %{buildroot}/%{_lib} pushd %{buildroot}/%{_lib}
rm libcryptsetup.so rm libcryptsetup.so
mkdir -p %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_libdir}
ln -s ../../%{_lib}/$(ls libcryptsetup.so.?.?.?) %{buildroot}%{_libdir}/libcryptsetup.so find libcryptsetup.so.*\.*\.* -exec ln -s /%{_lib}/{} %{buildroot}%{_libdir}/libcryptsetup.so \;
mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir} mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}
popd popd
@ -101,10 +101,21 @@ popd
%defattr(-,root,root) %defattr(-,root,root)
/sbin/cryptsetup /sbin/cryptsetup
/sbin/veritysetup /sbin/veritysetup
%{_mandir}/man8/cryptsetup.8.gz /sbin/cryptsetup-reencrypt
%{_mandir}/man8/veritysetup.8.gz /sbin/integritysetup
%{_prefix}/lib/tmpfiles.d/cryptsetup.conf
%{_mandir}/man8/cryptsetup.8*
%{_mandir}/man8/cryptsetup-reencrypt.8*
%{_mandir}/man8/veritysetup.8*
%{_mandir}/man8/integritysetup.8*
%changelog %changelog
* Mon Jan 08 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-2mamba
- fix libcryptsetup.so symlink
* Sat Jan 06 2018 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- automatic version update by autodist
* Sat Jun 17 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.5-1mamba * Sat Jun 17 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.5-1mamba
- update to 1.7.5 - update to 1.7.5