summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-05 18:49:02 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-05 18:49:02 +0100
commit82d3648e565cee4d3244f0e5b8c2e422d238e299 (patch)
tree0a00b83c722608295e47e4e3a7c388ae45a1d94d
parent383054eb30da4493cad8d43b22f3b12a467a0ad5 (diff)
php-pecl-memprof: use package2.xml
-rw-r--r--php-pecl-memprof-php7.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/php-pecl-memprof-php7.spec b/php-pecl-memprof-php7.spec
index 912449c..9f89c1d 100644
--- a/php-pecl-memprof-php7.spec
+++ b/php-pecl-memprof-php7.spec
@@ -23,7 +23,7 @@
Summary: Memory usage profiler
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 2.0.0
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
@@ -80,6 +80,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO
%prep
%setup -q -c
mv %{pecl_name}-%{version} NTS
+mv package2.xml package.xml
# Don't install tests
sed -e 's/role="test"/role="src"/' \
@@ -205,6 +206,9 @@ fi
%changelog
+* Sun Feb 5 2017 Remi Collet <remi@fedoraproject.org> - 2.0.0-2
+- use package2.xml for correct registration
+
* Sat Jan 28 2017 Remi Collet <remi@fedoraproject.org> - 2.0.0-1
- update to 2.0.0 for PHP 7+
- open https://github.com/arnaud-lb/php-memory-profiler/pull/13