[packages/rpm-build-macros: 4/4] - use macros defined by rpm5

baggins baggins at pld-linux.org
Tue Jan 7 07:48:42 CET 2020


commit 648e21aa103da55aff8a64c8a55357a23b6189b6
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Jan 6 21:13:13 2020 +0900

    - use macros defined by rpm5

 attr.kernel | 4 ++--
 attr.php    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/attr.kernel b/attr.kernel
index 2660d2a..a4e45f8 100644
--- a/attr.kernel
+++ b/attr.kernel
@@ -1,3 +1,3 @@
-%__kernel_provides	%{_rpmconfigdir}/kmod-deps.sh --provides --modinfo %__modinfo
-#__kernel_requires	%{_rpmconfigdir}/kmod-deps.sh --requires --modinfo %__modinfo
+%__kernel_provides	%{_rpmlibdir}/kmod-deps.sh --provides --modinfo %__modinfo
+#__kernel_requires	%{_rpmlibdir}/kmod-deps.sh --requires --modinfo %__modinfo
 %__kernel_path		^.*/lib/modules/.*\.ko(\.gz|\.xz)?$
diff --git a/attr.php b/attr.php
index 4f430e5..ad897d0 100644
--- a/attr.php
+++ b/attr.php
@@ -1,5 +1,5 @@
-%__php_provides		%{_rpmconfigdir}/php.prov
+%__php_provides		%{_rpmlibdir}/php.prov
 # define 'php_req_new' in ~/.rpmmacros to use php version of req finder
-%__php_requires		env PHP_MIN_VERSION=%{?php_min_version} %{_rpmconfigdir}/php.req%{?php_req_new:.php}
+%__php_requires		env PHP_MIN_VERSION=%{?php_min_version} %{_rpmlibdir}/php.req%{?php_req_new:.php}
 %__php_magic		^PHP script.*
 %__php_path		\\.php$
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/648e21aa103da55aff8a64c8a55357a23b6189b6



More information about the pld-cvs-commit mailing list