- updated to 2.8.2 for security fixes - BZ 512900
- fixed "wrong-script-end-of-line-encoding" of license.txt - correctly disable auto update check - fixed an error message from 'find' during the build
This commit is contained in:
parent
2ac8cbe9a9
commit
2abc4dca38
3 changed files with 17 additions and 9 deletions
|
|
@ -1 +1 @@
|
|||
wordpress-2.8.1.tar.gz
|
||||
wordpress-2.8.2.tar.gz
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
b389dbbf60749ddc6c33f49740460a09 wordpress-2.8.1.tar.gz
|
||||
8fde8c4aa3e4d86ce9ddca7cdc0769a2 wordpress-2.8.2.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
Summary: WordPress blogging software
|
||||
URL: http://www.wordpress.org
|
||||
Name: wordpress
|
||||
Version: 2.8.1
|
||||
Version: 2.8.2
|
||||
Group: Applications/Publishing
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2
|
||||
Source0: http://wordpress.org/%{name}-%{version}.tar.gz
|
||||
Source1: wordpress-httpd-conf
|
||||
|
|
@ -18,9 +18,11 @@ almost trivial, to get information out to people on the web.
|
|||
|
||||
%prep
|
||||
%setup -q -n wordpress
|
||||
# disable-wordpress-core-update, updates are always installed via rpm
|
||||
# this does not disable the wordpress-plugins-update check
|
||||
sed -i -e "s,^add_action,#add_action,g" wp-includes/update.php
|
||||
# disable wp_version_check, updates are always installed via rpm
|
||||
sed -i -e "s,\(.*\)'wp_version_check'\(.*\),#\1'wp_version_check'\2,g" \
|
||||
wp-includes/update.php
|
||||
# fix file encoding
|
||||
sed -i -e 's/\r//' license.txt
|
||||
|
||||
%install
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/wordpress
|
||||
|
|
@ -28,11 +30,11 @@ mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/wordpress
|
|||
install -m 0644 -D -p %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d/wordpress.conf
|
||||
cp -pr * ${RPM_BUILD_ROOT}%{_datadir}/wordpress
|
||||
cat wp-config-sample.php | sed -e "s|dirname(__FILE__).'/'|'/usr/share/wordpress/'|g" > \
|
||||
${RPM_BUILD_ROOT}%{_sysconfdir}/wordpress/wp-config.php
|
||||
${RPM_BUILD_ROOT}%{_sysconfdir}/wordpress/wp-config.php
|
||||
/bin/ln -sf ../../../etc/wordpress/wp-config.php ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-config.php
|
||||
/bin/cp %{SOURCE2} ./README.fedora
|
||||
# Remove empty files to make rpmlint happy
|
||||
find ${RPM_BUILD_ROOT} -empty -exec rm -f {} \;
|
||||
find ${RPM_BUILD_ROOT} -type f -empty -exec rm -f {} \;
|
||||
# These are docs, remove them from here, docify them later
|
||||
rm -f ${RPM_BUILD_ROOT}%{_datadir}/wordpress/{license.txt,readme.html}
|
||||
|
||||
|
|
@ -75,6 +77,12 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||
%dir %{_sysconfdir}/wordpress
|
||||
|
||||
%changelog
|
||||
* Tue Jul 28 2009 Adrian Reber <adrian@lisas.de> - 2.8.2-1
|
||||
- updated to 2.8.2 for security fixes - BZ 512900
|
||||
- fixed "wrong-script-end-of-line-encoding" of license.txt
|
||||
- correctly disable auto update check
|
||||
- fixed an error message from 'find' during the build
|
||||
|
||||
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue