Navigation Menu

Skip to content

Commit

Permalink
rpm: fix dependency for common meta package
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Aug 20, 2012
1 parent 83c6906 commit 7ac17cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions packages/rpm/centos/groonga.spec.in
Expand Up @@ -59,14 +59,15 @@ This package provides common settings for server use
Summary: Groonga server
Group: Applications/Text
License: LGPLv2 and (MIT or GPLv2)
Requires: %{name} = %{version}-%{release}
Requires: %{name}-server-common = %{version}-%{release}
Requires: curl
Requires(pre): shadow-utils
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service
Requires(postun): /sbin/service
Obsoletes: %{name} < 1.2.2-0
Obsoletes: %{name}-server < 2.0.6-0

%description server
This package contains the groonga server
Expand All @@ -75,7 +76,8 @@ This package contains the groonga server
Summary: Groonga HTTP server
Group: Applications/Text
License: LGPLv2 and BSD
Requires: %{name}-libs = %{version}-%{release}
Requires: %{name}-server-common = %{version}-%{release}
Obsoletes: %{name}-httpd < 2.0.6-0

%description httpd
This package contains the groonga HTTP server
Expand Down
6 changes: 4 additions & 2 deletions packages/rpm/fedora/groonga.spec.in
Expand Up @@ -58,13 +58,14 @@ This package provides common settings for server use
Summary: Groonga server
Group: Applications/Text
License: LGPLv2 and (MIT or GPLv2)
Requires: %{name} = %{version}-%{release}
Requires: %{name}-server-common = %{version}-%{release}
Requires: curl
Requires(pre): shadow-utils
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service
Requires(postun): /sbin/service
Obsoletes: %{name}-server < 2.0.6-0

%description server
This package contains the groonga server
Expand All @@ -73,7 +74,8 @@ This package contains the groonga server
Summary: Groonga HTTP server
Group: Applications/Text
License: LGPLv2 and BSD
Requires: %{name}-libs = %{version}-%{release}
Requires: %{name}-server-common = %{version}-%{release}
Obsoletes: %{name}-httpd < 2.0.6-0

%description httpd
This package contains the groonga HTTP server
Expand Down

0 comments on commit 7ac17cb

Please sign in to comment.