[packages/perl-rpm-packaging] - fix bad condition check, rel 3

baggins baggins at pld-linux.org
Wed Feb 5 19:23:29 CET 2025


commit 9214913f2de1963b32ad8f96de624b3529318bea
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Feb 5 20:03:16 2025 +0100

    - fix bad condition check, rel 3

 fix-reverse-condition.patch | 11 +++++++++++
 perl-rpm-packaging.spec     |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/perl-rpm-packaging.spec b/perl-rpm-packaging.spec
index c5be51f..ad28f60 100644
--- a/perl-rpm-packaging.spec
+++ b/perl-rpm-packaging.spec
@@ -3,7 +3,7 @@ Summary(de.UTF-8):	Zusatzwerkzeuge fürs Nachsehen Perl-Abhängigkeiten in RPM-P
 Summary(pl.UTF-8):	Dodatkowe narzędzia do sprawdzenia zależności skryptów Perla w pakietach RPM
 Name:		perl-rpm-packaging
 Version:	1.1
-Release:	2
+Release:	3
 License:	GPL v2
 Group:		Base
 Source0:	https://github.com/rpm-software-management/perl-rpm-packaging/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -12,6 +12,7 @@ Source1:	perl.prov
 Patch0:		rpm-perl-macros.patch
 Patch1:		rpm-perl-req-perlfile.patch
 Patch2:		rpm-perl_req-INC_dirs.patch
+Patch3:		fix-reverse-condition.patch
 URL:		https://github.com/rpm-software-management/perl-rpm-packaging
 BuildRequires:	rpm-build >= 4.6
 Requires:	perl-Encode
@@ -41,6 +42,7 @@ pakietach RPM.
 %patch -P0 -p1
 %patch -P1 -p1
 %patch -P2 -p0
+%patch -P3 -p1
 
 install %{SOURCE1} scripts/perl.prov
 
diff --git a/fix-reverse-condition.patch b/fix-reverse-condition.patch
new file mode 100644
index 0000000..8a3e2c3
--- /dev/null
+++ b/fix-reverse-condition.patch
@@ -0,0 +1,11 @@
+--- perl-rpm-packaging-1.1/scripts/perl.req~	2025-02-05 19:40:44.000000000 +0100
++++ perl-rpm-packaging-1.1/scripts/perl.req	2025-02-05 20:00:27.886663997 +0100
+@@ -87,7 +87,7 @@
+ foreach my $module (sort grep length, keys %require) {
+   if (length($require{$module}) == 0) {
+     print "perl($module)\n";
+-    print "perln($module)\n" if !$perln;
++    print "perln($module)\n" if $perln;
+   } else {
+ 
+     # I am not using rpm3.0 so I do not want spaces around my
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-rpm-packaging.git/commitdiff/9214913f2de1963b32ad8f96de624b3529318bea



More information about the pld-cvs-commit mailing list