public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - dont own localized man directories through find_lang (#569536)
Date: Mon, 23 Nov 2026 09:26:33 GMT	[thread overview]
Message-ID: <179542599380.1.6045717738994597544.rpms-rpm-53b8b3c646cf@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 53b8b3c646cf0dddcd144f766cfc4c1e61decb98
Author : Panu Matilainen <pmatilai@fedoraproject.org>
Date   : 2010-03-16T09:41:32+00:00
Stats  : +16/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/53b8b3c646cf0dddcd144f766cfc4c1e61decb98?branch=pmatilai-v6

Log:
- dont own localized man directories through find_lang (#569536)

---
diff --git a/rpm-4.8.0-no-man-dirs.patch b/rpm-4.8.0-no-man-dirs.patch
new file mode 100644
index 0000000..cd1c090
--- /dev/null
+++ b/rpm-4.8.0-no-man-dirs.patch
@@ -0,0 +1,12 @@
+diff --git a/scripts/find-lang.sh b/scripts/find-lang.sh
+index bb25b31..df6b576 100755
+--- a/scripts/find-lang.sh
++++ b/scripts/find-lang.sh
+@@ -173,7 +173,6 @@ s:%lang(C) ::
+ find $TOP_DIR -type d|sed '
+ s:'"$TOP_DIR"'::
+ '"$ALL_NAME$MAN"'s:\(.*/man/\([^/_]\+\).*/man[a-z0-9]\+/\)::
+-'"$ALL_NAME$MAN"'s:\(.*/man/\([^/_]\+\).*/man[a-z0-9]\+$\):%lang(\2) \1*:
+ s:^\([^%].*\)::
+ s:%lang(C) ::
+ /^$/d' >> $MO_NAME

diff --git a/rpm.spec b/rpm.spec
index 5124fce..9cc529c 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -37,6 +37,8 @@ Patch2: rpm-4.5.90-gstreamer-provides.patch
 Patch3: rpm-4.7.90-fedora-specspo.patch
 # Postscript driver provides extraction is Fedora specific for now
 Patch4: rpm-4.8.0-psdriver-deps.patch
+# In current Fedora, man-pages pkg owns all the localized man directories
+Patch5: rpm-4.8.0-no-man-dirs.patch
 
 # Patches already in upstream
 Patch200: rpm-4.8.0-url-segfault.patch
@@ -191,6 +193,7 @@ packages on a system.
 %patch2 -p1 -b .gstreamer-prov
 %patch3 -p1 -b .fedora-specspo
 %patch4 -p1 -b .psdriver-deps
+%patch5 -p1 -b .no-man-dirs
 
 %patch200 -p1 -b .url-segfault
 %patch201 -p1 -b .verify-exitcode
@@ -421,6 +424,7 @@ exit 0
 - merge the psdriver patch pile into one
 - preserve empty lines in spec prep section (#573339)
 - teach python bindings about RPMTRANS_FLAG_NOCONTEXTS (related to #573111)
+- dont own localized man directories through find_lang (#569536)
 
 * Mon Feb 15 2010 Panu Matilainen <pmatilai@redhat.com> - 4.8.0-10
 - drop bogus dependency on lzma, xz is used to handle the lzma format too

                 reply	other threads:[~2026-11-23  9:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179542599380.1.6045717738994597544.rpms-rpm-53b8b3c646cf@fedoraproject.org \
    --to=pmatilai@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox