public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: recognize perl script as perl code (#772632)
@ 2026-11-23  9:27 Jindrich Novy
  0 siblings, 0 replies; only message in thread
From: Jindrich Novy @ 2026-11-23  9:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 156379cf0b2e548ba5da589fd1edc9859c676332
Author : Jindrich Novy <jnovy@redhat.com>
Date   : 2012-01-09T20:55:26+01:00
Stats  : +19/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/156379cf0b2e548ba5da589fd1edc9859c676332?branch=pmatilai-v6

Log:
recognize perl script as perl code (#772632)

---
diff --git a/rpm-4.9.1.2-perl-script.patch b/rpm-4.9.1.2-perl-script.patch
new file mode 100644
index 0000000..90178ff
--- /dev/null
+++ b/rpm-4.9.1.2-perl-script.patch
@@ -0,0 +1,12 @@
+diff --git a/build/rpmfc.c b/build/rpmfc.c
+index 60ab0e3..5b6ddb5 100644
+--- a/build/rpmfc.c
++++ b/build/rpmfc.c
+@@ -557,6 +557,7 @@ static const struct rpmfcTokens_s rpmfcTokens[] = {
+ 
+   { "perl ",			RPMFC_INCLUDE },
+   { "Perl5 module source text", RPMFC_INCLUDE },
++  { "Perl script",		RPMFC_INCLUDE },
+   { "python ",			RPMFC_INCLUDE },
+ 
+   { "libtool library ",         RPMFC_INCLUDE },

diff --git a/rpm.spec b/rpm.spec
index 323ee6a..a318598 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -21,7 +21,7 @@
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}8%{?dist}
+Release: %{?snapver:0.%{snapver}.}9%{?dist}
 Group: System Environment/Base
 Url: http://www.rpm.org/
 Source0: http://rpm.org/releases/rpm-4.9.x/%{name}-%{srcver}.tar.bz2
@@ -58,6 +58,8 @@ Patch305: rpm-4.9.x-gnome-help.patch
 Patch306: rpm-4.9.x-debugedit-stabs-warn.patch
 # Temporary Patch to provide support for updates
 Patch400: rpm-4.9.1.2-rpmlib-filesystem-check.patch
+# Recognize Perl script as Perl code
+Patch401: rpm-4.9.1.2-perl-script.patch
 
 # Partially GPL/LGPL dual-licensed and some bits with BSD
 # SourceLicense: (GPLv2+ and LGPLv2+ with exceptions) and BSD 
@@ -230,6 +232,7 @@ packages on a system.
 %patch306 -p1 -b .debugedit-stabs-warn
 
 %patch400 -p1 -b .rpmlib-filesystem-check
+%patch401 -p1 -b .perl-script
 
 # this patch cant be applied on softfp builds
 %ifnarch armv3l armv4b armv4l armv4tl armv5tel armv5tejl armv6l armv7l
@@ -448,6 +451,9 @@ exit 0
 %doc COPYING doc/librpm/html/*
 
 %changelog
+* Mon Jan 09 2012 Jindrich Novy <jnovy@redhat.com> - 4.9.1.2-9
+- recognize perl script as perl code (#772632)
+
 * Tue Dec 20 2011 Kay Sievers <kay@redhat.com> - 4.9.1.2-8
 - add temporary rpmlib patch to support filesystem transition
   https://fedoraproject.org/wiki/Features/UsrMove

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23  9:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:27 [rpms/rpm] pmatilai-v6: recognize perl script as perl code (#772632) Jindrich Novy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox