Projects
home:rottame:vhosts-ng:php-common
php-vhng-distribution
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
php-vhng-distribution.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Mon Mar 6 11:05:35 UTC 2023 - Angelo Grossini <rottame@intercom.it> + +- fix macros + +------------------------------------------------------------------- Mon Mar 6 08:53:04 UTC 2023 - Angelo Grossini <rottame@intercom.it> - 1.0 - initial release
View file
php-vhng-distribution.spec
Changed
@@ -1,12 +1,4 @@ -%if 0%{php_vhng_branch} < 7.0 -%global php_vhng_name php5 -%endif -%if %{php_vhng_branch} >= 7.0 && %{php_vhng_branch} <= 8.0 -%global php_vhng_name php7 -%endif -%if %{php_vhng_branch} >= 8.0 -%global php_vhng_name php8 -%endif + Name: php-vhng-distribution Version: 1.0 @@ -19,15 +11,15 @@ BuildRequires: patterns-rpm-macros Provides: pattern-category() = PHP%20VHNG Requires: php-composer -%if %{php_vhng_branch} >= 7.0 +%if "%{php_vhng_branch}" >= "7.0" Requires: php(vhng) = %{php_vhng_branch} %endif Requires: %{php_vhng_name}-fpm -%if %{php_vhng_branch} >= 8.1 +%if "%{php_vhng_branch}" >= "8.1" Requires: %{php_vhng_name}-fpm-apache %endif Requires: %{php_vhng_name}-APCu -%if %{php_vhng_branch} >= 7.0 && %{php_vhng_branch} < 8.0 +%if "%{php_vhng_branch}" >= "7.0" && "%{php_vhng_branch}" < "8.0" Requires: %{php_vhng_name}-APCu-bc %endif Requires: %{php_vhng_name}-bcmath @@ -37,14 +29,14 @@ Requires: %{php_vhng_name}-curl Requires: %{php_vhng_name}-dba Requires: %{php_vhng_name}-dom -%if %{php_vhng_branch} >= 7.0 +%if "%{php_vhng_branch}" >= "7.0" Requires: %{php_vhng_name}-embed -%end +%endif Requires: %{php_vhng_name}-enchant Requires: %{php_vhng_name}-exif -%if %{php_vhng_branch} >= 8.1 +%if "%{php_vhng_branch}" >= "8.1" Requires: %{php_vhng_name}-ffi -%end +%endif Requires: %{php_vhng_name}-fileinfo Requires: %{php_vhng_name}-firebird Requires: %{php_vhng_name}-ftp @@ -56,12 +48,12 @@ Requires: %{php_vhng_name}-imagick Requires: %{php_vhng_name}-imap Requires: %{php_vhng_name}-intl -%if %{php_vhng_branch} < 8.0 +%if "%{php_vhng_branch}" < "8.0" Requires: %{php_vhng_name}-json %endif Requires: %{php_vhng_name}-ldap Requires: %{php_vhng_name}-mbstring -%if %{php_vhng_branch} < 7.0 +%if "%{php_vhng_branch}" < "7.0" Requires: %{php_vhng_name}-mcrypt Requires: %{php_vhng_name}-memcache %endif @@ -70,32 +62,32 @@ Requires: %{php_vhng_name}-mysq Requires: %{php_vhng_name}-odbc Requires: %{php_vhng_name}-openssl -%if %{php_vhng_branch} > 5.3 +%if "%{php_vhng_branch}" > "5.3" Requires: %{php_vhng_name}-opcache %endif Requires: %{php_vhng_name}-pcntl Requires: %{php_vhng_name}-pdo Requires: %{php_vhng_name}-pear -%if %{php_vhng_branch} >= 5.6 && %{php_vhng_branch} < 7.3 +%if "%{php_vhng_branch}" >= "5.6" && "%{php_vhng_branch}" < "7.3" Requires: %{php_vhng_name}-pear-Archive_Tar %endif Requires: %{php_vhng_name}-pgsql Requires: %{php_vhng_name}-phar Requires: %{php_vhng_name}-posi -%if %{php_vhng_branch} < 7.1 +%if "%{php_vhng_branch}" < "7.1" Requires: %{php_vhng_name}-pspell %endif Requires: %{php_vhng_name}-readline -%if %{php_vhng_branch} >= 7.0 +%if "%{php_vhng_branch}" >= "7.0" Requires: %{php_vhng_name}-redis %endif Requires: %{php_vhng_name}-shmop -%if %{php_vhng_branch} >= 7.0 +%if "%{php_vhng_branch}" >= "7.0" Requires: %{php_vhng_name}-snmp %endif Requires: %{php_vhng_name}-soap Requires: %{php_vhng_name}-sockets -%if %{php_vhng_branch} >= 7.0 +%if "%{php_vhng_branch}" >= "7.0" Requires: %{php_vhng_name}-sodium %endif Requires: %{php_vhng_name}-sqlite @@ -106,17 +98,17 @@ Requires: %{php_vhng_name}-tidy Requires: %{php_vhng_name}-tokenize Requires: %{php_vhng_name}-uploadprogres -%if %{php_vhng_branch} < 7.4 +%if "%{php_vhng_branch}" < "7.4" Requires: %{php_vhng_name}-wddx %endif -%if %{php_vhng_branch} < 7.0 +%if "%{php_vhng_branch}" < "7.0" Requires: %{php_vhng_name}-xcache %endif -%if %{php_vhng_branch} >= 7.0 +%if "%{php_vhng_branch}" >= "7.0" Requires: %{php_vhng_name}-xdebug %endif Requires: %{php_vhng_name}-xmlreader -%if %{php_vhng_branch} < 8.0 +%if "%{php_vhng_branch}" < "8.0" Requires: %{php_vhng_name}-xmlrpc %endif Requires: %{php_vhng_name}-xmlwrite @@ -143,4 +135,4 @@ >"%{buildroot}%{_docdir}/patterns/$i.txt" done -%changelog \ No newline at end of file +%changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.