Browse Source

php72 spec file update

Signed-off-by: webbuilder_pel7x64builder0 <webbuilder@powerel.org>
master
webbuilder_pel7x64builder0 6 years ago
parent
commit
d3f933fc4c
  1. 37
      SPECS/php72.spec

37
SPECS/php72.spec

@ -35,35 +35,25 @@ @@ -35,35 +35,25 @@
# needed at srpm build time, when httpd-devel not yet installed
%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}}

%global with_argon2 1
%global with_argon2 0
%global with_dtrace 1
%global with_libgd 1
%global with_zip 0
%global with_libgd 0
%global with_zip 1
%global with_libzip 0
%if 0%{?fedora}
%global with_zts 1
%global with_firebird 1
%global with_firebird 0
%global with_imap 1
%global with_freetds 1
%global with_sodium 1
%global with_pspell 1
%global with_lmdb 1
%else
%global with_zts 0
%global with_firebird 0
%global with_imap 0
%global with_freetds 0
%global with_sodium 0
%global with_pspell 0
%global with_pspell 1
%global with_lmdb 0
%endif

%global upver 7.2.13

Summary: PHP scripting language for creating dynamic web sites
Name: php
Version: %{upver}
Release: 2%{?dist}
Release: 1%{?dist}
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
@ -124,15 +114,15 @@ Patch300: php-5.6.3-datetests.patch @@ -124,15 +114,15 @@ Patch300: php-5.6.3-datetests.patch
BuildRequires: bzip2-devel, curl-devel >= 7.9
BuildRequires: httpd-devel >= 2.0.46-1, pam-devel
# to ensure we are using httpd with filesystem feature (see #1081453)
BuildRequires: httpd-filesystem
#BuildRequires: httpd-filesystem
# to ensure we are using nginx with filesystem feature (see #1142298)
BuildRequires: nginx-filesystem
#BuildRequires: nginx-filesystem
BuildRequires: libstdc++-devel, openssl-devel
BuildRequires: sqlite-devel >= 3.6.0
BuildRequires: zlib-devel, smtpdaemon, libedit-devel
BuildRequires: pcre-devel >= 6.6
BuildRequires: bzip2
BuildRequires: perl-interpreter
#BuildRequires: perl-interpreter
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
@ -159,7 +149,7 @@ Provides: mod_php = %{version}-%{release} @@ -159,7 +149,7 @@ Provides: mod_php = %{version}-%{release}
Requires: php-common%{?_isa} = %{version}-%{release}
# For backwards-compatibility, require php-cli for the time being:
Requires: php-cli%{?_isa} = %{version}-%{release}
Recommends: php-fpm%{?_isa} = %{version}-%{release}
Requires: php-fpm%{?_isa} = %{version}-%{release}
# To ensure correct /var/lib/php/session ownership:
Requires(pre): httpd-filesystem
# php engine for Apache httpd webserver
@ -210,11 +200,11 @@ BuildRequires: systemd-devel @@ -210,11 +200,11 @@ BuildRequires: systemd-devel
Requires(pre): httpd-filesystem
# For php.conf in /etc/httpd/conf.d
# and version 2.4.10 for proxy support in SetHandler
Requires: httpd-filesystem >= 2.4.10
#Requires: httpd-filesystem >= 2.4.10
# php engine for Apache httpd webserver
Provides: php(httpd)
# for /etc/nginx ownership
Requires: nginx-filesystem
#Requires: nginx-filesystem

%description fpm
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI
@ -682,7 +672,8 @@ support for JavaScript Object Notation (JSON) to PHP. @@ -682,7 +672,8 @@ support for JavaScript Object Notation (JSON) to PHP.
Summary: Wrapper for the Sodium cryptographic library
# All files licensed under PHP version 3.0.1
License: PHP
BuildRequires: pkgconfig(libsodium) >= 1.0.9
#BuildRequires: pkgconfig(libsodium) >= 1.0.9
BuildRequires: pkgconfig(libsodium)

Requires: php-common%{?_isa} = %{version}-%{release}
Obsoletes: php-pecl-libsodium2 < 3

Loading…
Cancel
Save