[packages/libisofs] - updated to 1.5.8.pl02, replaced .la file by pc patch

qboosh qboosh at pld-linux.org
Sat Jul 4 12:13:15 CEST 2026


commit fd4e048051169566cc337c79f363ec3ce1106c6c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jul 4 12:13:12 2026 +0200

    - updated to 1.5.8.pl02, replaced .la file by pc patch

 libisofs-pc.patch | 10 ++++++++++
 libisofs.spec     | 10 ++++++----
 2 files changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/libisofs.spec b/libisofs.spec
index c2f3051..45d157e 100644
--- a/libisofs.spec
+++ b/libisofs.spec
@@ -1,12 +1,13 @@
 Summary:	Library to pack up hard disk files and directories into a ISO 9660 disk image
 Summary(pl.UTF-8):	Biblioteka do pakowania plików i katalogów w obrazy ISO 9660
 Name:		libisofs
-Version:	1.5.8.pl01
+Version:	1.5.8.pl02
 Release:	1
 License:	GPL v2+
 Group:		Libraries
 Source0:	https://files.libburnia-project.org/releases/%{name}-%{version}.tar.gz
-# Source0-md5:	5befafd5ee49eb0768a0097e883237f8
+# Source0-md5:	48150014510f8e65de66cb687ff63957
+Patch0:		%{name}-pc.patch
 URL:		https://dev.lovelyhq.com/libburnia/web/wiki
 BuildRequires:	acl-devel
 BuildRequires:	attr-devel
@@ -55,6 +56,7 @@ Statyczna biblioteka libisofs.
 
 %prep
 %setup -q -n %{name}-1.5.8
+%patch -P0 -p1
 
 %build
 %configure
@@ -66,7 +68,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-# *.la kept, dependencies are missing in .pc
+# obsoleted by pkg-config (with patch)
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libisofs.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -84,7 +87,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc doc/Tutorial
 %{_libdir}/libisofs.so
-%{_libdir}/libisofs.la
 %{_includedir}/libisofs
 %{_pkgconfigdir}/libisofs-1.pc
 
diff --git a/libisofs-pc.patch b/libisofs-pc.patch
new file mode 100644
index 0000000..b1d44e0
--- /dev/null
+++ b/libisofs-pc.patch
@@ -0,0 +1,10 @@
+--- libisofs-1.5.8/libisofs-1.pc.in.orig	2026-07-04 12:00:54.146921684 +0200
++++ libisofs-1.5.8/libisofs-1.pc.in	2026-07-04 12:04:02.659233758 +0200
+@@ -7,5 +7,7 @@ Name: libisofs
+ Description: ISO9660 filesystem creation library
+ Version: @VERSION@
+ Requires: 
++Requires.private: libjte-2 zlib acl
+ Libs: -L${libdir} -lisofs
++Libs.private: @THREAD_LIBS@
+ Cflags: -I${includedir}/libisofs
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libisofs.git/commitdiff/fd4e048051169566cc337c79f363ec3ce1106c6c



More information about the pld-cvs-commit mailing list