Changes of Revision 3
[-] | Changed | php-pecl-igbinary-dev.spec |
x 1
2 %global gh_commit 332a3d7ca899531f063dab38608e69e0e18f62a2 3 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) 4 ##lobal gh_date 20160724 5 -%global prever -dev 6 +##%global prever -dev 7 %if "%{php_version}" < "5.6" 8 %global ini_name %{extname}.ini 9 %else 10
11 cd NTS 12 13 # Check version 14 -extver=$(sed -n '/#define PHP_IGBINARY_VERSION/{s/.* "//;s/".*$//;p}' igbinary.h) 15 +extver=$(sed -n '/#define PHP_IGBINARY_VERSION/{s/.* "//;s/".*$//;p}' src/php7/igbinary.h) 16 if test "x${extver}" != "x%{version}%{?prever}"; then 17 : Error: Upstream version is ${extver}, expecting %{version}%{?prever}. 18 exit 1 19 |