[packages/rpm] Rel 3. dropped %pretrans build for the upgrade from rpm 4.0.x
arekm
arekm at pld-linux.org
Tue Oct 13 00:57:46 CEST 2026
commit 9e2a819642a79243ebee471b3c35cb3ad9971f5d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Oct 13 00:55:05 2026 +0200
Rel 3. dropped %pretrans build for the upgrade from rpm 4.0.x
A sh %pretrans needs /bin/sh in the rpmdb already, so installing into
an empty root failed.
rpm.spec | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/rpm.spec b/rpm.spec
index 7c2f238..c38bfca 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -36,7 +36,7 @@ Summary(ru.UTF-8): Менеджер пакетов от RPM
Summary(uk.UTF-8): Менеджер пакетів від RPM
Name: rpm
Version: 6.1.0
-Release: 2
+Release: 3
Epoch: 1
License: GPL v2 / LGPL v2.1
Group: Base
@@ -375,8 +375,6 @@ Summary(pt_BR.UTF-8): Scripts e programas executáveis usados para construir pac
Summary(ru.UTF-8): Скрипты и утилиты, необходимые для сборки пакетов
Summary(uk.UTF-8): Скрипти та утиліти, необхідні для побудови пакетів
Group: Applications/File
-Requires(pretrans): coreutils
-Requires(pretrans): findutils
Requires: %{name}-utils = %{epoch}:%{version}-%{release}
Requires: /bin/id
Requires: awk
@@ -890,9 +888,6 @@ fi
%post lib -p /sbin/ldconfig
%postun lib -p /sbin/ldconfig
-%pretrans build
-find %{_rpmlibdir} -name '*-linux' -type l | xargs rm -f
-
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc ChangeLog CREDITS README docs/manual
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/9e2a819642a79243ebee471b3c35cb3ad9971f5d
More information about the pld-cvs-commit
mailing list