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: - add back defaultdocdir patch which hadn't been applied on 4.6.x branch
Date: Mon, 23 Nov 2026 09:25:26 GMT [thread overview]
Message-ID: <179542592645.1.17179015891496987045.rpms-rpm-43b33fef16bb@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 43b33fef16bb9a8a3a2c0b8792c1183aa71c1539
Author : Panu Matilainen <pmatilai@fedoraproject.org>
Date : 2008-12-12T18:54:23+00:00
Stats : +53/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/43b33fef16bb9a8a3a2c0b8792c1183aa71c1539?branch=pmatilai-v6
Log:
- add back defaultdocdir patch which hadn't been applied on 4.6.x branch
yet
---
diff --git a/rpm-4.6.0-rc1-defaultdocdir.patch b/rpm-4.6.0-rc1-defaultdocdir.patch
new file mode 100644
index 0000000..cb71e0b
--- /dev/null
+++ b/rpm-4.6.0-rc1-defaultdocdir.patch
@@ -0,0 +1,45 @@
+commit 927f384a9bc058eb6f954e93cc515cc1293fd2a3
+Author: Panu Matilainen <pmatilai@redhat.com>
+Date: Fri Oct 17 08:11:10 2008 +0300
+
+ Kick out the dumb defaultdocdir logic from installplatform
+ - defaultdocdir is simply %{_datadir}/doc
+
+diff --git a/installplatform b/installplatform
+index 8861df0..266d877 100755
+--- a/installplatform
++++ b/installplatform
+@@ -8,12 +8,6 @@ RPMRC="${1:-rpmrc}"
+ MACROS="${2:-macros}"
+ PLATFORM="${3:-platform}"
+
+-if grep /share/ $PLATFORM > /dev/null 2>&1 ; then
+- DEFAULTDOCDIR='%{_usr}/share/doc'
+-else
+- DEFAULTDOCDIR='%{_usr}/doc'
+-fi
+-
+ TEMPRC="/tmp/rpmrc.$$"
+ cat << E_O_F > $TEMPRC
+ include: $RPMRC
+@@ -155,7 +149,6 @@ for SUBST in $SUBSTS ; do
+ -e "s,@RPMRC_GNU@,$RPMRC_GNU," \
+ -e "s,@LIB@,$LIB," \
+ -e "s,@ARCH_INSTALL_POST@,$ARCH_INSTALL_POST," \
+- -e "s,@DEFAULTDOCDIR@,$DEFAULTDOCDIR," \
+ -e '/\${\w*:-/!s,\${,%{_,' \
+ -e "s,@ISANAME@,$ISANAME," \
+ -e "s,@ISABITS@,$ISABITS," \
+diff --git a/platform.in b/platform.in
+index 4b496a0..9768a8a 100644
+--- a/platform.in
++++ b/platform.in
+@@ -37,7 +37,7 @@
+ # Deprecated misspelling, present for backwards compatibility.
+ %_initrddir %{_initddir}
+
+-%_defaultdocdir @DEFAULTDOCDIR@
++%_defaultdocdir %{_datadir}/doc
+
+ %_smp_mflags %([ -z "$RPM_BUILD_NCPUS" ] \\\
+ && RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \\\
diff --git a/rpm.spec b/rpm.spec
index 3112ce7..fcf991c 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -18,7 +18,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: 0.%{snapver}.1%{?dist}
+Release: 0.%{snapver}.2%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -31,6 +31,7 @@ Patch1: rpm-4.5.90-pkgconfig-path.patch
Patch2: rpm-4.5.90-gstreamer-provides.patch
# Patches already in upstream
+Patch200: rpm-4.6.0-rc1-defaultdocdir.patch
# These are not yet upstream
Patch300: rpm-4.5.90-posttrans.patch
@@ -164,6 +165,9 @@ that will manipulate RPM packages and databases.
%patch1 -p1 -b .pkgconfig-path
%patch2 -p1 -b .gstreamer-prov
+# upstream but not on 4.6.x branch yet, oops
+%patch200 -p1 -b .defaultdocdir
+
# needs a bit of upstream love first...
#%patch300 -p1 -b .posttrans
@@ -353,6 +357,9 @@ exit 0
%doc doc/librpm/html/*
%changelog
+* Fri Dec 12 2008 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc3.2
+- add back defaultdocdir patch which hadn't been applied on 4.6.x branch yet
+
* Fri Dec 12 2008 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc3.1
- add dist-tag, rebuild
reply other threads:[~2026-11-23 9:25 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=179542592645.1.17179015891496987045.rpms-rpm-43b33fef16bb@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