From 602ad1b2534318ff26e962ad047c70bf5d50b680 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 22 Feb 2015 11:47:05 +0100 Subject: php-bartlett-PHP-CompatInfo: fix reported version --- php-bartlett-PHP-CompatInfo-dev.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'php-bartlett-PHP-CompatInfo-dev.spec') 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 - 4.0.0-0.5.20150220git442d25d +- fix reported version + * Sun Feb 22 2015 Remi Collet - 4.0.0-0.4.20150220git442d25d - update to 4.0.0beta2 -- cgit