]> git.pld-linux.org Git - packages/libtomcrypt.git/commitdiff
- include libtommath dependency in .pc file, drop .la file; release 3 master auto/th/libtomcrypt-1.18.2-3
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 31 May 2024 03:35:16 +0000 (05:35 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 31 May 2024 03:35:16 +0000 (05:35 +0200)
libtomcrypt-pc.patch
libtomcrypt.spec

index 0f102e721f4b468d1f0aab7f4e432962114900be..b11fd9c7a12e71a64c7e578243c9f6f3c1c9aa53 100644 (file)
@@ -9,3 +9,11 @@
        install -p -d $(DESTDIR)$(LIBPATH)/pkgconfig
        install -p -m 644 libtomcrypt.pc $(DESTDIR)$(LIBPATH)/pkgconfig/
  
+--- libtomcrypt-1.18.2/libtomcrypt.pc.in.orig  2018-07-01 22:49:01.000000000 +0200
++++ libtomcrypt-1.18.2/libtomcrypt.pc.in       2024-05-30 22:33:10.156938298 +0200
+@@ -7,4 +7,5 @@ Name: LibTomCrypt
+ Description: public domain open source cryptographic toolkit
+ Version: @to-be-replaced@
+ Libs: -L${libdir} -ltomcrypt
++Requires.private: libtommath
+ Cflags: -I${includedir}
index d556331dd011a141d79362b14d0f2bdc0302b513..a77c71d133e5515065219cc9c4ef49e7bf1d1dc2 100644 (file)
@@ -6,7 +6,7 @@ Summary:        LibTomCrypt - fairly comprehensive, modular and portable cryptographic
 Summary(pl.UTF-8):     LibTomCrypt - dość obszerna, modularna i przenośna biblioteka kryptograficzna
 Name:          libtomcrypt
 Version:       1.18.2
-Release:       2
+Release:       3
 License:       Public Domain or WTFPL v2
 Group:         Libraries
 #Source0Download: https://github.com/libtom/libtomcrypt/releases
@@ -81,6 +81,9 @@ rm -rf $RPM_BUILD_ROOT
        PREFIX=%{_prefix} \
        LIBPATH=%{_libdir}
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libtomcrypt.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -97,7 +100,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc doc/crypt.pdf notes/*.txt
 %attr(755,root,root) %{_libdir}/libtomcrypt.so
-%{_libdir}/libtomcrypt.la
 %{_includedir}/tomcrypt*.h
 %{_pkgconfigdir}/libtomcrypt.pc
 
This page took 0.216165 seconds and 4 git commands to generate.