[packages/libscfg] up to 0.2.0 (new soname)

atler atler at pld-linux.org
Mon Jan 26 14:34:59 CET 2026


commit ce79385469bb2bead2ee343d8a0530d791f73c3a
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Jan 26 14:34:30 2026 +0100

    up to 0.2.0 (new soname)

 lib-version.patch | 37 -------------------------------------
 libscfg.spec      | 12 +++++-------
 2 files changed, 5 insertions(+), 44 deletions(-)
---
diff --git a/libscfg.spec b/libscfg.spec
index 60ee1c8..5cc2b66 100644
--- a/libscfg.spec
+++ b/libscfg.spec
@@ -5,13 +5,12 @@
 Summary:	A C library for scfg
 Summary(pl.UTF-8):	Biblioteka C do scfg
 Name:		libscfg
-Version:	0.1.1
+Version:	0.2.0
 Release:	1
 License:	MIT
 Group:		Libraries
 Source0:	https://codeberg.org/emersion/libscfg/releases/download/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	c88d1e1c0da28a33d33a4efd160013b4
-Patch0:		lib-version.patch
+# Source0-md5:	11ac643dcbdc16c5c11dd75f9fb103f4
 URL:		https://codeberg.org/emersion/libscfg
 BuildRequires:	meson >= 0.54.0
 BuildRequires:	ninja
@@ -50,7 +49,6 @@ Biblioteka statyczna libscfg.
 
 %prep
 %setup -q
-%patch -P0 -p1
 
 %build
 %meson \
@@ -73,12 +71,12 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc LICENSE README.md
-%attr(755,root,root) %{_libdir}/libscfg.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libscfg.so.1
+%{_libdir}/libscfg.so.*.*.*
+%ghost %{_libdir}/libscfg.so.2
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libscfg.so
+%{_libdir}/libscfg.so
 %{_includedir}/scfg.h
 %{_pkgconfigdir}/scfg.pc
 
diff --git a/lib-version.patch b/lib-version.patch
deleted file mode 100644
index 75e2882..0000000
--- a/lib-version.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 3bdba8c2bc3c3625d9751501ab42b047ec01addf Mon Sep 17 00:00:00 2001
-From: Simon Ser <contact at emersion.fr>
-Date: Wed, 6 Mar 2024 19:22:45 +0100
-Subject: [PATCH] build: set library version and soversion
-
----
- meson.build | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/meson.build b/meson.build
-index f426e0c..8877259 100644
---- a/meson.build
-+++ b/meson.build
-@@ -11,6 +11,11 @@ project(
- 	],
- )
- 
-+version = meson.project_version()
-+version_major = version.split('.')[0]
-+version_minor = version.split('.')[1]
-+assert(version_major == '0')
-+
- cc = meson.get_compiler('c')
- 
- add_project_arguments(cc.get_supported_arguments([
-@@ -28,6 +33,8 @@ scfg_lib = library(
- 	files('scfg.c'),
- 	include_directories: scfg_inc,
- 	install: true,
-+	version: version,
-+	soversion: version_minor,
- )
- 
- scfg = declare_dependency(
--- 
-2.38.5
-
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libscfg.git/commitdiff/ce79385469bb2bead2ee343d8a0530d791f73c3a



More information about the pld-cvs-commit mailing list