public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: Use %{_rpmmacrodir} for the macros file path
@ 2026-11-27 7:29 Carl George
0 siblings, 0 replies; only message in thread
From: Carl George @ 2026-11-27 7:29 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/php
Branch : private-php86
Commit : 20df81fc345204ef83d498398889c5c7ea11e4a8
Author : Carl George <carl@george.computer>
Date : 2019-04-26T08:49:58+02:00
Stats : +2/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/php/c/20df81fc345204ef83d498398889c5c7ea11e4a8?branch=private-php86
Log:
Use %{_rpmmacrodir} for the macros file path
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_packaging_of_additional_rpm_macros
---
diff --git a/php.spec b/php.spec
index 9f661c3..0a22042 100644
--- a/php.spec
+++ b/php.spec
@@ -1386,7 +1386,7 @@ sed -e "s/@PHP_APIVER@/%{apiver}-%{__isa_bits}/" \
%endif
< %{SOURCE3} > macros.php
install -m 644 -D macros.php \
- $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d/macros.php
+ $RPM_BUILD_ROOT%{_rpmmacrodir}/macros.php
# Remove unpackaged files
rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \
@@ -1509,7 +1509,7 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
%{_mandir}/man1/zts-phpize.1*
%endif
%{_mandir}/man1/php-config.1*
-%{_rpmconfigdir}/macros.d/macros.php
+%{_rpmmacrodir}/macros.php
%files embedded
%{_libdir}/libphp7.so
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-27 7:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 7:29 [rpms/php] private-php86: Use %{_rpmmacrodir} for the macros file path Carl George
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox