null+****@clear*****
null+****@clear*****
2012年 5月 9日 (水) 22:08:36 JST
IWAI, Masaharu 2012-05-09 22:08:36 +0900 (Wed, 09 May 2012) New Revision: 289839ad8b80cac0590fcb64af10e8b44e0fbfa0 Merged 28b996c: Merge pull request #1 from iwaim/master Log: rpm: change %postun to %preun %preun is better than %postun with uninstalling mroonga plugin from MySQL plugins. Because when postun script run, mroonga plugin file didn't exist. Modified files: packages/rpm/centos/mysql-mroonga.spec.in packages/rpm/fedora/mysql-mroonga.spec.in Modified: packages/rpm/centos/mysql-mroonga.spec.in (+1 -1) =================================================================== --- packages/rpm/centos/mysql-mroonga.spec.in 2012-05-09 22:07:25 +0900 (3433276) +++ packages/rpm/centos/mysql-mroonga.spec.in 2012-05-09 22:08:36 +0900 (d6379d0) @@ -135,7 +135,7 @@ eval $command || \ (echo "run the following command to register mroonga:"; \ echo " $command") -%postun +%preun if [ "$1" = 0 ]; then sql=" DROP FUNCTION last_insert_grn_id; Modified: packages/rpm/fedora/mysql-mroonga.spec.in (+1 -1) =================================================================== --- packages/rpm/fedora/mysql-mroonga.spec.in 2012-05-09 22:07:25 +0900 (eb47899) +++ packages/rpm/fedora/mysql-mroonga.spec.in 2012-05-09 22:08:36 +0900 (e1f3fd7) @@ -89,7 +89,7 @@ eval $command || \ (echo "run the following command to register mroonga:"; \ echo " $command") -%postun +%preun if [ "$1" = 0 ]; then sql=" DROP FUNCTION last_insert_grn_id;