summaryrefslogtreecommitdiffstats
path: root/php-bartlett-PHP-Reflect.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-bartlett-PHP-Reflect.spec')
-rw-r--r--php-bartlett-PHP-Reflect.spec5
1 files changed, 2 insertions, 3 deletions
diff --git a/php-bartlett-PHP-Reflect.spec b/php-bartlett-PHP-Reflect.spec
index 35d9ca4..16a6af9 100644
--- a/php-bartlett-PHP-Reflect.spec
+++ b/php-bartlett-PHP-Reflect.spec
@@ -69,10 +69,11 @@ Requires: php-composer(doctrine/cache) < 2
# For our patch
Requires: php-composer(symfony/class-loader) >= 2.5
Requires: php-composer(symfony/class-loader) < 3
-
# From package.xml
Requires: php-reflection
+Provides: php-composer(bartlett/php-reflect) = %{version}
+
%description
PHP_Reflect adds the ability to reverse-engineer classes, interfaces,
@@ -86,8 +87,6 @@ Documentation: http://php5.laurent-laville.org/reflect/manual/2.0/en/
%patch0 -p1 -b .rpm
-find . -type f -name \*.rpm -print | xargs rm
-
sed -e 's/@package_version@/%{version}/' \
-i $(find src -name \*.php)