Masafumi Yokoyama
null+****@clear*****
Fri Jun 26 16:54:30 JST 2015
Masafumi Yokoyama 2015-06-26 16:54:30 +0900 (Fri, 26 Jun 2015) New Revision: bd260a2f70a4bde9824d4d56b61b73f03f60f0b0 https://github.com/groonga/groonga/commit/bd260a2f70a4bde9824d4d56b61b73f03f60f0b0 Message: rpm: rename configure option to use more meaningful name --with-packages-platform=PLATFORM -> --with-system-files=SYSTEM PLATFORMS -> SYSTEM: redhat -> init fedora -> systemd Modified files: configure.ac doc/source/install/others.rst packages/rpm/centos/groonga.spec.in Modified: configure.ac (+10 -10) =================================================================== --- configure.ac 2015-06-26 15:32:48 +0900 (dad29c7) +++ configure.ac 2015-06-26 16:54:30 +0900 (13fa8ca) @@ -1326,19 +1326,19 @@ AM_CONDITIONAL([INSTALL_MUNIN_PLUGINS], [test "${install_munin_plugins}" = "yes"]) # platform -AC_MSG_CHECKING([whether package platform]) -AC_ARG_WITH(package-platform, - [AS_HELP_STRING([--with-package-platform=PLATFORM], - [install package platform related files. [default=no] - (supported package platforms: redhat, fedora)])], - [package_platform="$withval"], - [package_platform="no"]) -AC_MSG_RESULT($package_platform) +AC_MSG_CHECKING([whether install system files]) +AC_ARG_WITH(system-files, + [AS_HELP_STRING([--with-system-files=SYSTEM], + [install system related files. [default=no] + (supported systems: init, systemd)])], + [install_system_files="$withval"], + [install_system_files="no"]) +AC_MSG_RESULT($install_system_files) AM_CONDITIONAL([REDHAT_PLATFORM], - [test "${package_platform}" = "redhat"]) + [test "${install_system_files}" = "init"]) AM_CONDITIONAL([FEDORA_PLATFORM], - [test "${package_platform}" = "fedora"]) + [test "${install_system_files}" = "systemd"]) # plugins check relative_pluginsdir_base="\$(PACKAGE)/plugins" Modified: doc/source/install/others.rst (+5 -7) =================================================================== --- doc/source/install/others.rst 2015-06-26 15:32:48 +0900 (395b385) +++ doc/source/install/others.rst 2015-06-26 16:54:30 +0900 (8a7189b) @@ -218,20 +218,18 @@ Here is an example that installs Munin plugins for Groonga:: % ./configure --with-munin-plugins -``--with-package-platform=PLATFORM`` -++++++++++++++++++++++++++++++++++++ +``--with-system-files=SYSTEM`` +++++++++++++++++++++++++++++++ Installs platform specific system management files such as init -script. Available platforms are ``redhat`` and ``fedora``. ``redhat`` -is for Red Hat and Red Hat clone distributions such as -CentOS. ``fedora`` is for Fedora. +script. Available platforms are ``init`` and ``systemd``. Those system management files are not installed by default. -Here is an example that installs CentOS specific system management +Here is an example that installs Systemd specific system management files:: - % ./configure --with-package-platform=redhat + % ./configure --with-system-files=systemd ``--help`` ++++++++++ Modified: packages/rpm/centos/groonga.spec.in (+2 -1) =================================================================== --- packages/rpm/centos/groonga.spec.in 2015-06-26 15:32:48 +0900 (2ee3ada) +++ packages/rpm/centos/groonga.spec.in 2015-06-26 16:54:30 +0900 (ba7e7f7) @@ -176,7 +176,7 @@ Munin plugins for Groonga %build %configure \ --disable-static \ - --with-package-platform=redhat \ + --with-system-files=init \ %if %{!use_lz4} --without-lz4 \ %endif @@ -413,6 +413,7 @@ fi %changelog * Mon Jun 29 2015 Masafumi Yokoyama <myokoym �� gmail.com> - 5.0.5-1 - new upstream release. +- replace --with-package-platform=redhat with --with-system-files=init to install init script. * Fri May 29 2015 Masafumi Yokoyama <yokoyama �� clear-code.com> - 5.0.4-1 - new upstream release. -------------- next part -------------- HTML����������������������������... 下載