summaryrefslogtreecommitdiffstats
path: root/php-bartlett-PHP-CompatInfo-dev.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-02-22 11:47:05 +0100
committerRemi Collet <fedora@famillecollet.com>2015-02-22 11:47:05 +0100
commit602ad1b2534318ff26e962ad047c70bf5d50b680 (patch)
treedd423e77bc64c0147e591a692a74e279c9ef1c15 /php-bartlett-PHP-CompatInfo-dev.spec
parentfa1b616aa32ca107e061032514b2c4cc18041be4 (diff)
php-bartlett-PHP-CompatInfo: fix reported version
Diffstat (limited to 'php-bartlett-PHP-CompatInfo-dev.spec')
-rw-r--r--php-bartlett-PHP-CompatInfo-dev.spec10
1 files changed, 7 insertions, 3 deletions
diff --git a/php-bartlett-PHP-CompatInfo-dev.spec b/php-bartlett-PHP-CompatInfo-dev.spec
index 6036725..0f28d08 100644
--- a/php-bartlett-PHP-CompatInfo-dev.spec
+++ b/php-bartlett-PHP-CompatInfo-dev.spec
@@ -11,10 +11,11 @@
%global gh_date 20150220
%global gh_owner llaville
%global gh_project php-compat-info
+%global prever beta2
Name: php-bartlett-PHP-CompatInfo
Version: 4.0.0
-%global specrel 4
+%global specrel 5
Release: %{?gh_short:0.%{specrel}.%{?gh_date}git%{gh_short}}%{!?gh_short:%{specrel}}%{?dist}
Summary: Find out version and the extensions required for a piece of code to run
@@ -89,8 +90,8 @@ Documentation: http://php5.laurent-laville.org/compatinfo/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/phpcompatinfo
%build
@@ -138,6 +139,9 @@ fi
%changelog
+* Sun Feb 22 2015 Remi Collet <remi@fedoraproject.org> - 4.0.0-0.5.20150220git442d25d
+- fix reported version
+
* Sun Feb 22 2015 Remi Collet <remi@fedoraproject.org> - 4.0.0-0.4.20150220git442d25d
- update to 4.0.0beta2