summaryrefslogtreecommitdiffstats
path: root/php-bartlett-PHP-Reflect-dev.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-02-22 11:46:56 +0100
committerRemi Collet <fedora@famillecollet.com>2015-02-22 11:46:56 +0100
commit97d26d55d0b0a5df2a3896b767db3ae4381567ce (patch)
tree087caa505b07357ff8a55439368581b92daad426 /php-bartlett-PHP-Reflect-dev.spec
parent6105fcc36c6432f44f72cb7849c2088ab6b808e9 (diff)
php-bartlett-PHP-Reflect: fix reported version
Diffstat (limited to 'php-bartlett-PHP-Reflect-dev.spec')
-rw-r--r--php-bartlett-PHP-Reflect-dev.spec10
1 files changed, 7 insertions, 3 deletions
diff --git a/php-bartlett-PHP-Reflect-dev.spec b/php-bartlett-PHP-Reflect-dev.spec
index 02326bf..766477f 100644
--- a/php-bartlett-PHP-Reflect-dev.spec
+++ b/php-bartlett-PHP-Reflect-dev.spec
@@ -11,10 +11,11 @@
%global gh_date 20150219
%global gh_owner llaville
%global gh_project php-reflect
+%global prever beta2
Name: php-bartlett-PHP-Reflect
Version: 3.0.0
-%global specrel 6
+%global specrel 7
Release: %{?gh_short:0.%{specrel}.%{?gh_date}git%{gh_short}}%{!?gh_short:%{specrel}}%{?dist}
Summary: Adds the ability to reverse-engineer PHP
@@ -118,8 +119,8 @@ Documentation: http://php5.laurent-laville.org/reflect/manual/current/en/
%patch0 -p1 -b .rpm
-sed -e 's/@package_version@/%{version}/' \
- -i $(find src -name \*.php)
+sed -e 's/@package_version@/%{version}%{?prever}/' \
+ -i $(find src -name \*.php) bin/phpreflect
%build
@@ -165,6 +166,9 @@ fi
%changelog
+* Sun Feb 22 2015 Remi Collet <remi@fedoraproject.org> - 3.0.0-0.7.20150219gite7f804e
+- fix reported version
+
* Sun Feb 22 2015 Remi Collet <remi@fedoraproject.org> - 3.0.0-0.6.20150219gite7f804e
- update to 3.0.0 beta2