public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Add RPM_LD_FLAGS to build environment (#728974)
@ 2026-11-23 9:27 Adam Jackson
0 siblings, 0 replies; only message in thread
From: Adam Jackson @ 2026-11-23 9:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 4dd6dd15e611bac9d48893bdd9ed0cfb0e978818
Author : Adam Jackson <ajax@redhat.com>
Date : 2011-08-08T10:28:25-04:00
Stats : +22/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/4dd6dd15e611bac9d48893bdd9ed0cfb0e978818?branch=pmatilai-v6
Log:
Add RPM_LD_FLAGS to build environment (#728974)
---
diff --git a/rpm-4.9.1.1-ld-flags.patch b/rpm-4.9.1.1-ld-flags.patch
new file mode 100644
index 0000000..f8b2524
--- /dev/null
+++ b/rpm-4.9.1.1-ld-flags.patch
@@ -0,0 +1,15 @@
+diff -up rpm-4.9.1.1/macros.in.jx rpm-4.9.1.1/macros.in
+--- rpm-4.9.1.1/macros.in.jx 2011-08-03 16:19:05.000000000 -0400
++++ rpm-4.9.1.1/macros.in 2011-08-08 09:41:52.981064316 -0400
+@@ -674,9 +674,10 @@ print (t)\
+ RPM_SOURCE_DIR=\"%{u2p:%{_sourcedir}}\"\
+ RPM_BUILD_DIR=\"%{u2p:%{_builddir}}\"\
+ RPM_OPT_FLAGS=\"%{optflags}\"\
++ RPM_LD_FLAGS=\"%{?__global_ldflags}\"\
+ RPM_ARCH=\"%{_arch}\"\
+ RPM_OS=\"%{_os}\"\
+- export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS\
++ export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_LD_FLAGS RPM_ARCH RPM_OS\
+ RPM_DOC_DIR=\"%{_docdir}\"\
+ export RPM_DOC_DIR\
+ RPM_PACKAGE_NAME=\"%{name}\"\
diff --git a/rpm.spec b/rpm.spec
index e8f3f2e..0a9f39d 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}.}1%{?dist}
+Release: %{?snapver:0.%{snapver}.}2%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/rpm-4.9.x/%{name}-%{srcver}.tar.bz2
@@ -46,6 +46,8 @@ Patch301: rpm-4.6.0-niagara.patch
Patch302: rpm-4.7.1-geode-i686.patch
# To be upstreamed after rawhide-testdrive (#641377)
Patch303: rpm-4.9.0-debuginfo-allnames.patch
+# Probably to be upstreamed in slightly different form
+Patch304: rpm-4.9.1.1-ld-flags.patch
# Partially GPL/LGPL dual-licensed and some bits with BSD
# SourceLicense: (GPLv2+ and LGPLv2+ with exceptions) and BSD
@@ -210,6 +212,7 @@ packages on a system.
%patch301 -p1 -b .niagara
%patch302 -p1 -b .geode
%patch303 -p1 -b .debuginfo-allnames
+%patch304 -p1 -b .ldflags
%if %{with int_bdb}
ln -s db-%{bdbver} db
@@ -423,6 +426,9 @@ exit 0
%doc COPYING doc/librpm/html/*
%changelog
+* Mon Aug 08 2011 Adam Jackson <ajax@redhat.com> 4.9.1.1-2
+- Add RPM_LD_FLAGS to build environment (#728974)
+
* Tue Aug 02 2011 Panu Matilainen <pmatilai@redhat.com> - 4.9.1.1-1
- update to 4.9.1.1
^ 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: Add RPM_LD_FLAGS to build environment (#728974) Adam Jackson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox