- update to 3.7
- requires ca-certificates for ca-bundle.crt
This commit is contained in:
parent
6011a98a43
commit
ded9b1d8d4
3 changed files with 38 additions and 58 deletions
41
.gitignore
vendored
41
.gitignore
vendored
|
|
@ -1,42 +1,3 @@
|
|||
*spec~
|
||||
clog
|
||||
wordpress-3.0.1.tar.gz
|
||||
/wordpress-3.0.2.tar.gz
|
||||
/wordpress-3.0.3.tar.gz
|
||||
/wordpress-3.0.4.tar.gz
|
||||
/wordpress-3.1.tar.gz
|
||||
/wordpress-3.1.1.tar.gz
|
||||
/wordpress-3.1.2.tar.gz
|
||||
/wordpress-3.1.3.tar.gz
|
||||
/wordpress-3.2-RC1.zip
|
||||
/wordpress-3.2-RC3.zip
|
||||
/wordpress-3.2.tar.gz
|
||||
/wordpress-3.2.1.tar.gz
|
||||
/wordpress-3.3-beta2.tar.gz
|
||||
/wordpress-3.3-beta3.tar.gz
|
||||
/wordpress-3.3-beta4.tar.gz
|
||||
/wordpress-3.3-RC1.tar.gz
|
||||
/wordpress-3.3-RC2.tar.gz
|
||||
/wordpress-3.3.tar.gz
|
||||
/wordpress-3.3.1.tar.gz
|
||||
/wordpress-3.4-beta1.tar.gz
|
||||
/wordpress-3.4-beta2.tar.gz
|
||||
/wordpress-3.4-beta3.tar.gz
|
||||
/wordpress-3.4-beta4.tar.gz
|
||||
/wordpress-3.4-RC1.tar.gz
|
||||
/wordpress-3.4-RC2.tar.gz
|
||||
/wordpress-3.4-RC3.tar.gz
|
||||
/wordpress-3.4.tar.gz
|
||||
/wordpress-3.4.1.tar.gz
|
||||
/wordpress-3.4.2.tar.gz
|
||||
/wordpress-3.5-beta-1.tar.gz
|
||||
/wordpress-3.5-beta2.tar.gz
|
||||
/wordpress-3.5-beta3.tar.gz
|
||||
/wordpress-3.5-RC1.tar.gz
|
||||
/wordpress-3.5-RC2.tar.gz
|
||||
/wordpress-3.5-RC3.tar.gz
|
||||
/wordpress-3.5.tar.gz
|
||||
/wordpress-3.5.1.tar.gz
|
||||
/wordpress-3.5.2.tar.gz
|
||||
/wordpress-3.6.tar.gz
|
||||
|
||||
/wordpress-3.7.tar.gz
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
3f2c0b6f7f0626b5170a7b5df99d78b8 wordpress-3.6.1.tar.gz
|
||||
aaad36cd739b825952cf3e09de5e7856 wordpress-3.7.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,19 +1,24 @@
|
|||
%global wp_content %{_datadir}/wordpress/wp-content
|
||||
%global betatag RC3
|
||||
|
||||
Summary: Blog tool and publishing platform
|
||||
URL: http://www.wordpress.org
|
||||
Name: wordpress
|
||||
Version: 3.6.1
|
||||
Group: Applications/Publishing
|
||||
#Release: 0.5.%{betatag}%{?dist}
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2
|
||||
#Source0: http://wordpress.org/%{name}-%{version}-%{betatag}.tar.gz
|
||||
Source0: http://wordpress.org/%{name}-%{version}.tar.gz
|
||||
Source1: wordpress-httpd-conf
|
||||
Source2: README.fedora.wordpress
|
||||
Source3: README.fedora.wordpress-mu
|
||||
%if 0%{?rhel} == 5
|
||||
%global with_cacert 0
|
||||
%else
|
||||
%global with_cacert 1
|
||||
%endif
|
||||
|
||||
Summary: Blog tool and publishing platform
|
||||
URL: http://www.wordpress.org
|
||||
Name: wordpress
|
||||
Version: 3.7
|
||||
Group: Applications/Publishing
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2
|
||||
|
||||
Source0: http://wordpress.org/%{name}-%{version}.tar.gz
|
||||
Source1: wordpress-httpd-conf
|
||||
Source2: README.fedora.wordpress
|
||||
Source3: README.fedora.wordpress-mu
|
||||
|
||||
# Patch out copyrighted text of Hello, Dolly
|
||||
# (and replace it with Free Software Song)
|
||||
Patch0: wordpress-debian_patches_hello.patch
|
||||
|
|
@ -41,7 +46,7 @@ Requires: php53-simplepie >= 1.3.1
|
|||
Requires: php >= 5.2.4
|
||||
Requires: php-simplepie >= 1.3.1
|
||||
%endif
|
||||
# Required php extension (detected by phpci)
|
||||
# Required php extension (detected by phpcompatinfo)
|
||||
Requires: php-curl
|
||||
Requires: php-date
|
||||
Requires: php-dom
|
||||
|
|
@ -71,6 +76,9 @@ Requires: php-zlib
|
|||
# Unbundled libraries
|
||||
Requires: php-PHPMailer
|
||||
Requires: webserver
|
||||
%if %{with_cacert}
|
||||
Requires: ca-certificates
|
||||
%endif
|
||||
Provides: wordpress-mu = %{version}-%{release}
|
||||
Obsoletes: wordpress-mu < 2.9.3
|
||||
|
||||
|
|
@ -160,8 +168,15 @@ for fic in phpmailer smtp; do
|
|||
${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/class-$fic.php
|
||||
done
|
||||
|
||||
# Remove bundled ca-bundle.crt
|
||||
%if %{with_cacert}
|
||||
rm ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/certificates/ca-bundle.crt
|
||||
ln -s /etc/pki/tls/certs/ca-bundle.crt \
|
||||
${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/certificates/ca-bundle.crt
|
||||
%endif
|
||||
|
||||
# Remove backup copies of patches
|
||||
find ${RPM_BUILD_ROOT} \( -name \*.dolly -o -name \*.rhbz522897 -o -name \*.FSFaddr \) \
|
||||
find ${RPM_BUILD_ROOT} \( -name \*.dolly -o -name \*.rhbz522897 -o -name \*.orig \) \
|
||||
-print -delete
|
||||
|
||||
## Move wp-content directory to /var/www location
|
||||
|
|
@ -205,6 +220,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||
%dir %{_sysconfdir}/wordpress
|
||||
|
||||
%changelog
|
||||
* Fri Oct 25 2013 Remi Collet <rcollet@redhat.com> - 3.7-1
|
||||
- update to 3.7
|
||||
- requires ca-certificates for ca-bundle.crt
|
||||
|
||||
* Thu Sep 12 2013 Paul Wouters <pwouters@redhat.com> - 3.6.1-1
|
||||
- update to 3.6.1, various bugs and security fixes:
|
||||
CVE-2013-4338 CVE-2013-4339 CVE-2013-4340
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue