mirror of
https://abf.rosa.ru/djam/php7.git
synced 2025-02-23 14:52: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
|
||||
Name: php7
|
||||
Version: %{php_version}
|
||||
Release: 13
|
||||
Release: 1
|
||||
Source0: http://ch1.php.net/distributions/php-%{version}.tar.gz
|
||||
Source1: macros.php
|
||||
Group: Development/PHP
|
||||
|
@ -162,7 +162,6 @@ BuildRequires: xmlrpc-epi-devel
|
|||
%if %{build_libmagic}
|
||||
BuildRequires: magic-devel
|
||||
%endif
|
||||
Epoch: 3
|
||||
|
||||
# stupid postgresql... stupid build system...
|
||||
# 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 -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
|
||||
|
||||
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/extensions
|
||||
%dir %{_datadir}/php
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue