Projects
home:rottame:vhosts-ng:php72
php7
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
php7.spec
Changed
@@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%global php_vhng_branch 7.2 %global apiver 20170718 %global zendver 20170718 @@ -161,7 +162,7 @@ Provides: php-zend-abi = %{zendver} Provides: php(api) = %{apiver} Provides: php(zend-abi) = %{zendver} -Provides: php(vhng) = 7.2 +Provides: php(vhng) = %{php_vhng_branch} # builtin extensions Provides: php-date = %{version} Provides: php-filter = %{version} @@ -228,8 +229,8 @@ Requires: php7-pear Provides: pecl = %{version} Provides: php-devel = %{version} -Provides: pecl(vhng) = 7.2 -Provides: php-devel(vhng) = 7.2 +Provides: pecl(vhng) = %{php_vhng_branch} +Provides: php-devel(vhng) = %{php_vhng_branch} Obsoletes: php5-devel %description devel @@ -245,7 +246,7 @@ Requires: %{name}-zlib = %{version} Requires: php7-pear-Archive_Tar Provides: php-pear = %{version} -Provides: pear(vhng) = 7.2 +Provides: pear(vhng) = %{php_vhng_branch} Obsoletes: php5-pear BuildArch: noarch @@ -1406,7 +1407,7 @@ grep -c "\"metadata_dir\";s:${#pd}:\"${pd}\"" %{buildroot}%{php_sysconf}/cli/pear.conf || exit 1 # Install the macros file: install -d %{buildroot}%{_sysconfdir}/rpm -sed -e "s/@PHP_APIVER@/%{apiver}/;s/@PHP_ZENDVER@/%{zendver}/" < $RPM_SOURCE_DIR/macros.php > macros.php +sed -e "s/@PHP_APIVER@/%{apiver}/;s/@PHP_ZENDVER@/%{zendver}/;s/@PHP_VHNG@/%{php_vhng_branch}/" < $RPM_SOURCE_DIR/macros.php > macros.php install -m 644 -c macros.php %{buildroot}%{_sysconfdir}/rpm/macros.php #install fpm init script. install -D -m 0644 ./build-fpm/sapi/fpm/php-fpm.service %{buildroot}%{_unitdir}/php-fpm.service
View file
macros.php
Changed
@@ -7,6 +7,8 @@ %php_core_api @PHP_APIVER@ %php_zend_api @PHP_ZENDVER@ +%php_vhng_branch @PHP_VHNG@ + # Useful php macros (from Christian Wittmer <chris@computersalat.de>) # %__php /usr/bin/php
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
.