summaryrefslogtreecommitdiffstats
path: root/php-pecl-uuid.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-05-08 17:06:27 +0200
committerRemi Collet <fedora@famillecollet.com>2015-05-08 17:06:27 +0200
commit4516778739f434d73f23d06defe4b2e78be72fe7 (patch)
treef0b200e2557e51482acfdfef0a9938a195a66bff /php-pecl-uuid.spec
parent2b262fff1a918ed2d3e0e57a0291e7fe9564f104 (diff)
php-pecl-uuid: 1.0.4
Diffstat (limited to 'php-pecl-uuid.spec')
-rw-r--r--php-pecl-uuid.spec15
1 files changed, 12 insertions, 3 deletions
diff --git a/php-pecl-uuid.spec b/php-pecl-uuid.spec
index 41e6efe..9caafb9 100644
--- a/php-pecl-uuid.spec
+++ b/php-pecl-uuid.spec
@@ -18,12 +18,12 @@
%else
%global ini_name 40-%{pecl_name}.ini
%endif
-%global prever RC1
+#global prever RC1
Summary: Universally Unique Identifier extension for PHP
Name: %{?scl_prefix}php-pecl-uuid
Version: 1.0.4
-Release: 0.1.RC1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: LGPLv2+
Group: Development/Languages
URL: http://pecl.php.net/package/uuid
@@ -60,6 +60,10 @@ Obsoletes: php55w-pecl-%{pecl_name} <= %{version}
Obsoletes: php56u-pecl-%{pecl_name} <= %{version}
Obsoletes: php56w-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.0"
+Obsoletes: php70u-pecl-%{pecl_name} <= %{version}
+Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -72,6 +76,8 @@ Obsoletes: php56w-pecl-%{pecl_name} <= %{version}
%description
A wrapper around Universally Unique Identifier library (libuuid).
+Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection}.
+
%prep
%setup -q -c
@@ -189,7 +195,7 @@ rm -rf %{buildroot}
%files
-%defattr(-, root, root, 0755)
+%defattr(-,root,root,-)
%{?_licensedir:%license NTS/LICENSE}
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml
@@ -204,6 +210,9 @@ rm -rf %{buildroot}
%changelog
+* Fri May 8 2015 Remi Collet <remi@fedoraproject.org> - 1.0.4-1
+- update to 1.0.4 (no change since RC)
+
* Sat Apr 4 2015 Remi Collet <remi@fedoraproject.org> - 1.0.4-0.1.RC1
- update to 1.0.4RC1
- drop upstream patches