[Groonga-commit] groonga/groonga at 369f020 [master] rpm centos: use %systemd_requires

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Apr 22 14:32:22 JST 2016


Kouhei Sutou	2016-04-22 14:32:22 +0900 (Fri, 22 Apr 2016)

  New Revision: 369f020e84f3065a3f88a8e0ea68293241290991
  https://github.com/groonga/groonga/commit/369f020e84f3065a3f88a8e0ea68293241290991

  Message:
    rpm centos: use %systemd_requires

  Modified files:
    packages/rpm/centos/groonga.spec.in

  Modified: packages/rpm/centos/groonga.spec.in (+3 -9)
===================================================================
--- packages/rpm/centos/groonga.spec.in    2016-04-22 14:19:50 +0900 (06123c6)
+++ packages/rpm/centos/groonga.spec.in    2016-04-22 14:32:22 +0900 (009f095)
@@ -95,9 +95,7 @@ License:	LGPLv2
 Requires:	%{name}-server-common = %{version}-%{release}
 Requires(pre):	shadow-utils
 %if %{use_systemd}
-Requires(post):	systemd
-Requires(preun):	systemd
-Requires(postun):	systemd
+%systemd_requires
 %else
 Requires(post):	/sbin/chkconfig
 Requires(preun):	/sbin/chkconfig
@@ -119,9 +117,7 @@ Requires:	curl
 Requires:	%{name}-httpd = %{version}-%{release}
 Requires(pre):	shadow-utils
 %if %{use_systemd}
-Requires(post):	systemd
-Requires(preun):	systemd
-Requires(postun):	systemd
+%systemd_requires
 %else
 Requires(post):	/sbin/chkconfig
 Requires(preun):	/sbin/chkconfig
@@ -140,9 +136,7 @@ Group:		Applications/Text
 License:	LGPLv2 and BSD
 Requires:	%{name}-server-common = %{version}-%{release}
 %if %{use_systemd}
-Requires(post):	systemd
-Requires(preun):	systemd
-Requires(postun):	systemd
+%systemd_requires
 %else
 Requires(post):	/sbin/chkconfig
 Requires(preun):	/sbin/chkconfig
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index