mirror of
https://abf.rosa.ru/djam/php7.git
synced 2025-02-23 23:02:47 +00:00
Drop Epoch
This commit is contained in:
parent
ca15bec188
commit
e43f6869b4
1 changed files with 2 additions and 4 deletions
|
@ -33,7 +33,7 @@
|
||||||
Summary: The PHP7 scripting language
|
Summary: The PHP7 scripting language
|
||||||
Name: php7
|
Name: php7
|
||||||
Version: %{php_version}
|
Version: %{php_version}
|
||||||
Release: 13
|
Release: 1
|
||||||
Source0: http://ch1.php.net/distributions/php-%{version}.tar.gz
|
Source0: http://ch1.php.net/distributions/php-%{version}.tar.gz
|
||||||
Source1: macros.php
|
Source1: macros.php
|
||||||
Group: Development/PHP
|
Group: Development/PHP
|
||||||
|
@ -162,7 +162,6 @@ BuildRequires: xmlrpc-epi-devel
|
||||||
%if %{build_libmagic}
|
%if %{build_libmagic}
|
||||||
BuildRequires: magic-devel
|
BuildRequires: magic-devel
|
||||||
%endif
|
%endif
|
||||||
Epoch: 3
|
|
||||||
|
|
||||||
# stupid postgresql... stupid build system...
|
# stupid postgresql... stupid build system...
|
||||||
# this is needed due to the postgresql packaging and due to bugs like this:
|
# this is needed due to the postgresql packaging and due to bugs like this:
|
||||||
|
@ -1799,7 +1798,7 @@ install -d %{buildroot}%{_libdir}/apache
|
||||||
install -d %{buildroot}%{_sysconfdir}/httpd/modules.d
|
install -d %{buildroot}%{_sysconfdir}/httpd/modules.d
|
||||||
install -m 755 mod_php/.libs/*.so %{buildroot}%{_libdir}/apache/
|
install -m 755 mod_php/.libs/*.so %{buildroot}%{_libdir}/apache/
|
||||||
|
|
||||||
cat > %{buildroot}%{_sysconfdir}/httpd/modules.d/170_mod_php.conf << EOF
|
cat > %{buildroot}%{_sysconfdir}/httpd/modules.d/170_mod_%{name}.conf << EOF
|
||||||
LoadModule php_module %{_libdir}/apache/mod_php.so
|
LoadModule php_module %{_libdir}/apache/mod_php.so
|
||||||
|
|
||||||
AddType application/x-httpd-php .php
|
AddType application/x-httpd-php .php
|
||||||
|
@ -2313,4 +2312,3 @@ update-alternatives --remove php-fpm %{_libexecdir}/%{name}/php-fpm ||:
|
||||||
%dir %{_libdir}/php
|
%dir %{_libdir}/php
|
||||||
%dir %{_libdir}/php/extensions
|
%dir %{_libdir}/php/extensions
|
||||||
%dir %{_datadir}/php
|
%dir %{_datadir}/php
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue