public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: - update to 4.6.0-rc1
@ 2026-11-23  9:25 Panu Matilainen
  0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23  9:25 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rpm
            Branch : pmatilai-v6
            Commit : 20231bf36b6ebd8d5249fe1b9b6da32d0017dff6
            Author : Panu Matilainen <pmatilai@fedoraproject.org>
            Date   : 2008-10-16T16:19:41+00:00
            Stats  : +21/-61 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/20231bf36b6ebd8d5249fe1b9b6da32d0017dff6?branch=pmatilai-v6

            Log:
            - update to 4.6.0-rc1
- fixes #465586, #466597, #465409, #216221, #466503, #466009, #463447...
- avoid using %%configure macro for now, it has unwanted side-effects on
    rpm

---
diff --git a/.cvsignore b/.cvsignore
index c299f66..5f6f567 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-rpm-4.5.90.git8514.tar.bz2
+rpm-4.6.0-rc1.tar.bz2

diff --git a/rpm-4.5.90-ppc-isa.patch b/rpm-4.5.90-ppc-isa.patch
deleted file mode 100644
index 1d7d7d8..0000000
--- a/rpm-4.5.90-ppc-isa.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-commit 65e06b20130da895fda8e3698a7ebe18e14d13ca
-Author: Panu Matilainen <pmatilai@redhat.com>
-Date:   Wed Oct 1 10:06:27 2008 +0300
-
-    Tweaks to how ISA-macros are generated (rhbz#464754)
-    - for ppc and sparc, move the check for 64bit version first and use a
-      wildcards to cover more field automatically
-
-diff --git a/installplatform b/installplatform
-index bb5933d..8861df0 100755
---- a/installplatform
-+++ b/installplatform
-@@ -80,13 +80,13 @@ for SUBST in $SUBSTS ; do
-   ISANAME=
-   ISABITS=
-   case "${ARCH}" in
--    sparc|sparcv8|sparcv9*) 
-+    sparc64*) 
- 	ISANAME=sparc
--	ISABITS=32
-+	ISABITS=64
- 	;;
--    sparc64|sparc64v) 
-+    sparc*) 
- 	ISANAME=sparc
--	ISABITS=64
-+	ISABITS=32
- 	;;
-     s390)
- 	ISANAME=s390
-@@ -96,13 +96,13 @@ for SUBST in $SUBSTS ; do
- 	ISANAME=s390
- 	ISABITS=64
- 	;;
--    ppc)
-+    ppc64*)
- 	ISANAME=ppc
--	ISABITS=32
-+	ISABITS=64
- 	;;
--    ppc64)
-+    ppc*)
- 	ISANAME=ppc
--	ISABITS=64
-+	ISABITS=32
- 	;;
-     i?86|pentium?|athlon|geode)
- 	ISANAME=x86

diff --git a/rpm.spec b/rpm.spec
index 1b41a69..b5a01a4 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -9,9 +9,9 @@
 
 %define rpmhome /usr/lib/rpm
 
-%define rpmver 4.5.90
-%define snapver git8514
-%define srcver %{rpmver}.%{snapver}
+%define rpmver 4.6.0
+%define snapver rc1
+%define srcver %{rpmver}-%{snapver}
 
 %define bdbver 4.5.20
 
@@ -32,9 +32,6 @@ Patch2: rpm-4.5.90-gstreamer-provides.patch
 # XXX only create provides for pkgconfig and libtool initially
 Patch100: rpm-4.6.x-no-pkgconfig-reqs.patch
 
-# Already in upstream, remove on next snapshot update
-Patch200: rpm-4.5.90-ppc-isa.patch
-
 # These are not yet upstream
 Patch300: rpm-4.5.90-posttrans.patch
 
@@ -165,8 +162,6 @@ that will manipulate RPM packages and databases.
 %patch2 -p1 -b .gstreamer-prov
 %patch100 -p1 -b .pkgconfig-deps
 
-%patch200 -p1 -b .ppc-isa
-
 # needs a bit of upstream love first...
 #%patch300 -p1 -b .posttrans
 
@@ -180,9 +175,17 @@ CPPFLAGS=-I%{_includedir}/db%{bdbver}
 LDFLAGS=-L%{_libdir}/db%{bdbver}
 %endif
 CPPFLAGS="$CPPFLAGS `pkg-config --cflags nss`"
-export CPPFLAGS LDFLAGS
-
-%configure \
+CFLAGS="$RPM_OPT_FLAGS"
+export CPPFLAGS CFLAGS LDFLAGS
+
+# Using configure macro has some unwanted side-effects on rpm platform
+# setup, use the old-fashioned way for now only defining minimal paths.
+./configure \
+    --prefix=%{_usr} \
+    --sysconfdir=%{_sysconfdir} \
+    --localstatedir=%{_var} \
+    --mandir=%{_mandir} \
+    --libdir=%{_libdir} \
     %{!?with_int_bdb: --with-external-db} \
     %{?with_sqlite: --enable-sqlite3} \
     --with-lua \
@@ -349,6 +352,11 @@ exit 0
 %doc doc/librpm/html/*
 
 %changelog
+* Thu Oct 16 2008 Panu Matilainen <pmatilai@redhat.com>
+- update to 4.6.0-rc1 
+- fixes #465586, #466597, #465409, #216221, #466503, #466009, #463447...
+- avoid using %%configure macro for now, it has unwanted side-effects on rpm
+
 * Wed Oct 01 2008 Panu Matilainen <pmatilai@redhat.com>
 - update to official 4.5.90 alpha tarball 
 - a big pile of misc bugfixes + translation updates

diff --git a/sources b/sources
index 93801c3..6559ce6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5bb759ffc690dfc9e1456391fa001447  rpm-4.5.90.git8514.tar.bz2
+083184a85aec253cb4c4662c46379925  rpm-4.6.0-rc1.tar.bz2

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

only message in thread, other threads:[~2026-11-23  9:25 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:25 [rpms/rpm] pmatilai-v6: - update to 4.6.0-rc1 Panu Matilainen

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