[packages/numactl] Rel 2. dropped %pretrans for the 2014 libnuma.so.1 migration

arekm arekm at pld-linux.org
Tue Oct 13 01:00:24 CEST 2026


commit 5336af3aa071cc653c08e1d7b2f4dccd715f9319
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Oct 13 00:54:58 2026 +0200

    Rel 2. dropped %pretrans for the 2014 libnuma.so.1 migration
    
    A sh %pretrans needs /bin/sh in the rpmdb already, so installing into
    an empty root failed.

 numactl.spec | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/numactl.spec b/numactl.spec
index 4c8f361..d54773c 100644
--- a/numactl.spec
+++ b/numactl.spec
@@ -2,7 +2,7 @@ Summary:	Simple NUMA policy support
 Summary(pl.UTF-8):	Prosta obsługa polityk NUMA
 Name:		numactl
 Version:	2.0.19
-Release:	1
+Release:	2
 License:	LGPL v2.1 (library), GPL v2 (utilities)
 Group:		Applications/System
 #Source0Download: https://github.com/numactl/numactl/releases
@@ -81,12 +81,6 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%pretrans libs
-# it used to be library itself, now it's SONAME symlink
-if [ -f %{_libdir}/libnuma.so.1 ]; then
-	rm -f %{_libdir}/libnuma.so.1
-fi
-
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/numactl.git/commitdiff/5336af3aa071cc653c08e1d7b2f4dccd715f9319



More information about the pld-cvs-commit mailing list