summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-07-22 10:09:25 +0200
committerRemi Collet <fedora@famillecollet.com>2014-07-22 10:09:25 +0200
commit322d54625576884a0c2f1eba6e6a06a9302cddde (patch)
treea7741d789a18e0e67c073671c7c2f71b50d1ce4b
parent3e65a2c7c00f66bbd523b9189ee8272020faaff6 (diff)
php-pecl-ssdeep: cleanup
-rw-r--r--php-pecl-ssdeep.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/php-pecl-ssdeep.spec b/php-pecl-ssdeep.spec
index 7c5e599..cd9d461 100644
--- a/php-pecl-ssdeep.spec
+++ b/php-pecl-ssdeep.spec
@@ -50,12 +50,15 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
Obsoletes: php53-pecl-%{pecl_name}
Obsoletes: php53u-pecl-%{pecl_name}
Obsoletes: php54-pecl-%{pecl_name}
+Obsoletes: php54w-pecl-%{pecl_name}
%endif
%if "%{php_version}" > "5.5"
Obsoletes: php55u-pecl-%{pecl_name}
+Obsoletes: php55w-pecl-%{pecl_name}
%endif
%if "%{php_version}" > "5.6"
Obsoletes: php56u-pecl-%{pecl_name}
+Obsoletes: php56w-pecl-%{pecl_name}
%endif
%endif
@@ -139,9 +142,11 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
# Test & Documentation
for i in $(grep 'role="test"' package.xml | sed -e 's/^.*name="//;s/".*$//')
do install -Dpm 644 NTS/$i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i
+ sed -e 's/\r//' -i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i
done
for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//')
do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
+ sed -e 's/\r//' -i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
done