2011-08-08 14:28:25 +00:00
|
|
|
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}\"\
|
2019-04-25 12:04:30 +00:00
|
|
|
+ RPM_LD_FLAGS=\"%{?build_ldflags}\"\
|
2011-08-08 14:28:25 +00:00
|
|
|
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\
|
2017-03-08 09:25:36 +00:00
|
|
|
RPM_PACKAGE_NAME=\"%{NAME}\"\
|