]> git.pld-linux.org Git - packages/rpm-build-macros.git/blobdiff - attr.php
- move php macros and php-pearprov here from rpm package
[packages/rpm-build-macros.git] / attr.php
diff --git a/attr.php b/attr.php
new file mode 100644 (file)
index 0000000..42eb130
--- /dev/null
+++ b/attr.php
@@ -0,0 +1,6 @@
+%__php_provides                %{_rpmconfigdir}/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_magic           ^PHP script.*
+%__php_path            \\.php$
+%__php_flags           magic_and_path
This page took 0.062493 seconds and 4 git commands to generate.