Drop Epoch

This commit is contained in:
Ilfat G 2025-01-23 19:27:57 +03:00
parent ca15bec188
commit e43f6869b4
No known key found for this signature in database
GPG key ID: D5E884CA11E29755

View file

@ -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