diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-09-08 16:34:00 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-09-08 16:34:00 +0200 |
commit | 66383cdb8598be2992f852914d1f04bb464b954c (patch) | |
tree | 88ad2db9bfd864279d92d3667557a842e9ff46be | |
parent | 702a3551fb703a4784361b08fb14be9579feffc8 (diff) |
php54: provides php56-runtime(remi), add _sclreq macro
-rw-r--r-- | macros-build | 2 | ||||
-rw-r--r-- | php54.spec | 20 |
2 files changed, 15 insertions, 7 deletions
diff --git a/macros-build b/macros-build index 5f62237..6a9f923 100644 --- a/macros-build +++ b/macros-build @@ -1,3 +1,5 @@ +%_sclreq (%{scl_vendor}) + %scl_package_override() %{expand: %{?@SCL@___pear:%global __pear %@SCL@___pear} %{?@SCL@___pecl:%global __pecl %@SCL@___pecl} @@ -9,7 +9,7 @@ Summary: Package that installs PHP 5.4 Name: %scl_name -Version: 1.0 +Version: 2.0 Release: 1%{?dist} Group: Development/Languages License: GPLv2+ @@ -24,10 +24,10 @@ BuildRequires: help2man # Temporary work-around BuildRequires: iso-codes -Requires: %{?scl_prefix}php-common -Requires: %{?scl_prefix}php-cli -Requires: %{?scl_prefix}php-pear -Requires: %{?scl_name}-runtime +Requires: %{?scl_prefix}php-common%{?_isa} >= 5.4.32 +Requires: %{?scl_prefix}php-cli%{?_isa} +Requires: %{?scl_prefix}php-pear >= 1.9.5 +Requires: %{?scl_name}-runtime%{?_isa} = %{version}-%{release} %description This is the main package for %scl Software Collection, @@ -38,6 +38,8 @@ that install PHP 5.4 language. Summary: Package that handles %scl Software Collection. Group: Development/Languages Requires: scl-utils +Provides: %{?scl_name}-runtime(%{scl_vendor}) +Provides: %{?scl_name}-runtime(%{scl_vendor})%{?_isa} %description runtime Package shipping essential scripts to work with %scl Software Collection. @@ -47,7 +49,7 @@ Package shipping essential scripts to work with %scl Software Collection. Summary: Package shipping basic build configuration Group: Development/Languages Requires: scl-utils-build -Requires: %{?scl_name}-runtime +Requires: %{?scl_name}-runtime%{?_isa} = %{version}-%{release} %description build Package shipping essential configuration macros @@ -57,7 +59,7 @@ to build %scl Software Collection. %package scldevel Summary: Package shipping development files for %scl Group: Development/Languages -Requires: %{?scl_name}-runtime +Requires: %{?scl_name}-runtime%{?_isa} = %{version}-%{release} %description scldevel Package shipping development files, especially usefull for development of @@ -143,6 +145,10 @@ fi %changelog +* Mon Sep 8 2014 Remi Collet <remi@fedoraproject.org> 2.0-1 +- provides php56-runtime(remi) +- add _sclreq macro + * Sun Aug 31 2014 Remi Collet <rcollet@redhat.com> 1.0-1 - initial packaging from php55 from rhscl 1.1 - install macro in /usr/lib/rpm/macros.d |