summaryrefslogtreecommitdiffstats
path: root/php-bartlett-PHP-Reflect.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-07-24 09:01:20 +0200
committerRemi Collet <fedora@famillecollet.com>2014-07-24 09:01:20 +0200
commitd4f0c7ece61c9a4f03b1b41c0d28bc5a1d9a6010 (patch)
tree6817287557331a6e855bf3031bff10f02ee3c0d5 /php-bartlett-PHP-Reflect.spec
parentf45c75f5392c4affcd7fcfb45a2c5aa35a5050a9 (diff)
php-bartlett-PHP-Reflect: 2.2.0 WIP
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)