#1 Use %{_rpmmacrodir} for the macros file path
Closed 2 years ago by remi. Opened 2 years ago by carlwgeorge.
rpms/ carlwgeorge/php rpmmacrodir  into  master

file modified
+2 -2
@@ -1386,7 +1386,7 @@ 

  %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 @@ 

  %{_mandir}/man1/zts-phpize.1*

  %endif

  %{_mandir}/man1/php-config.1*

- %{_rpmconfigdir}/macros.d/macros.php

+ %{_rpmmacrodir}/macros.php

  

  %files embedded

  %{_libdir}/libphp7.so