public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Carl George <carl@george.computer>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: Use %{_rpmmacrodir} for the macros file path
Date: Fri, 27 Nov 2026 07:29:55 GMT	[thread overview]
Message-ID: <179576459516.1.740433116138935703.rpms-php-20df81fc3452@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-11-27  7:29 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=179576459516.1.740433116138935703.rpms-php-20df81fc3452@fedoraproject.org \
    --to=carl@george.computer \
    --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