From c1fcdc966ebed4dee74ff1a244f211026e030686 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 8 Sep 2010 15:31:45 +0000 Subject: [PATCH] - init place for mu in config Changed files: multisite.patch -> 1.1 wordpress.spec -> 1.66 --- multisite.patch | 15 +++++++++++++++ wordpress.spec | 10 ++++++---- 2 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 multisite.patch diff --git a/multisite.patch b/multisite.patch new file mode 100644 index 0000000..79f6343 --- /dev/null +++ b/multisite.patch @@ -0,0 +1,15 @@ +--- wordpress-3.0.1/wp-config-sample.php 2010-09-08 18:03:29.421631471 +0300 ++++ wordpress-3.0.1/wp-config-sample.php 2010-09-08 18:28:37.181139000 +0300 +@@ -80,6 +80,12 @@ + */ + define('WP_DEBUG', false); + ++/** ++ * Options for setting up Multisite. ++ * @see http://codex.wordpress.org/Create_A_Network ++ */ ++define('WP_ALLOW_MULTISITE', false); ++ + /* That's all, stop editing! Happy blogging. */ + + /** Absolute path to the WordPress directory. */ diff --git a/wordpress.spec b/wordpress.spec index 28fecae..21637f4 100644 --- a/wordpress.spec +++ b/wordpress.spec @@ -5,7 +5,7 @@ Summary: Personal publishing system Summary(pl.UTF-8): Osobisty system publikacji Name: wordpress Version: 3.0.1 -Release: 0.6 +Release: 0.7 License: GPL v2 Group: Applications/Publishing Source0: http://wordpress.org/%{name}-%{version}.tar.gz @@ -22,8 +22,9 @@ Source7: http://svn.automattic.com/wordpress-i18n/pl_PL/tags/%{version}/messages # MagpieRSS upgrade (version 0.8a) from feedwordpress plugin: http://feedwordpress.radgeek.com/ Source10: rss.php Source11: rss-functions.php -Patch0: %{name}.patch -Patch1: configpath.patch +Patch0: configpath.patch +Patch1: allow-multisite.patch +Patch2: %{name}.patch URL: http://www.wordpress.org/ BuildRequires: gettext-devel BuildRequires: rpmbuild(macros) >= 1.553 @@ -109,9 +110,10 @@ that removes the sidebar. %setup -qc mv %{name}/* . && rmdir %{name} %undos -f php,js,html -cp -a wp-config{-sample,}.php %patch0 -p1 %patch1 -p1 +cp -a wp-config{-sample,}.php +%patch2 -p1 cp -a %{SOURCE3} . rm -f license.txt -- 2.44.0