Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

Commit

Permalink
Use %{_rpmmacrodir} for the macros file path
Browse files Browse the repository at this point in the history
  • Loading branch information
carlwgeorge committed May 2, 2019
1 parent e8e97f3 commit e907674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions php73.spec
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,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 \
Expand Down Expand Up @@ -1681,7 +1681,7 @@ exit 0
%{_mandir}/man1/zts-phpize.1*
%endif
%{_mandir}/man1/php-config.1*
%{_rpmconfigdir}/macros.d/macros.php
%{_rpmmacrodir}/macros.php

%files embedded
%{_libdir}/libphp7.so
Expand Down

0 comments on commit e907674

Please sign in to comment.