diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-02-15 16:18:35 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-02-15 16:18:35 +0100 |
commit | cb798b0e3754b9215473011a21fdbf1f457dafdf (patch) | |
tree | 20064c4a8a272b3e4b1ff96d25f22bccb19d3998 | |
parent | 5258836a2645a8375e29f7a90a55ff5a5d02cd8e (diff) |
php-pecl-msgpack: minor cleanup
-rw-r--r-- | php-pecl-msgpack-php7.spec | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/php-pecl-msgpack-php7.spec b/php-pecl-msgpack-php7.spec index 08be942..5d4bcd1 100644 --- a/php-pecl-msgpack-php7.spec +++ b/php-pecl-msgpack-php7.spec @@ -111,6 +111,11 @@ Summary: MessagePack developer files (header) Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{?scl_prefix}php-devel%{?_isa} +%if "%{?scl_prefix}" != "%{?sub_prefix}" +Provides: %{?scl_prefix}php-pecl-%{pecl_name}-devel = %{version}-%{release} +Provides: %{?scl_prefix}php-pecl-%{pecl_name}-devel%{?_isa} = %{version}-%{release} +%endif + %description devel These are the files needed to compile programs using MessagePack serializer. @@ -126,7 +131,7 @@ sed -e '/release/s/0.5.6/%{version}%{?gh_date:dev}/' -i package.xml mv %{pecl_name}-%{version} NTS %endif -%{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml} \ +%{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml} cd NTS %if %{with_msgpack} |