From 8fc0cd92025d2f6e7535a392802bd5e2d9424aa1 Mon Sep 17 00:00:00 2001 From: mellor Date: Tue, 22 Jan 2013 15:35:43 +0000 Subject: [PATCH] defect 3297: buildkit buildrepo on sles needs Group in spec file; also, fixed xCAT-buildkit spec file to install correctly on both SLES and RH (rpmbuild command is in different pkgs) git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-buildkit/share/xcat/kits/kitcomponent.spec.template | 1 + xCAT-buildkit/xCAT-buildkit.spec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-buildkit/share/xcat/kits/kitcomponent.spec.template b/xCAT-buildkit/share/xcat/kits/kitcomponent.spec.template index 3618c3e23..d7cd10598 100644 --- a/xCAT-buildkit/share/xcat/kits/kitcomponent.spec.template +++ b/xCAT-buildkit/share/xcat/kits/kitcomponent.spec.template @@ -2,6 +2,7 @@ Summary: Kit <<>> Component <<>> Version: <<>> Release: <<>> +Group: Applications/System License: EPL BuildArch: noarch Requires: <<>>,<<>>,<<>> diff --git a/xCAT-buildkit/xCAT-buildkit.spec b/xCAT-buildkit/xCAT-buildkit.spec index 0cdfcf3f5..179422ce8 100644 --- a/xCAT-buildkit/xCAT-buildkit.spec +++ b/xCAT-buildkit/xCAT-buildkit.spec @@ -25,7 +25,7 @@ BuildArch: noarch # No dependencies on any other xCAT rpms # so that this rpm can be installed in a separate build server -Requires: rpm-build createrepo +Requires: /usr/bin/rpmbuild createrepo Provides: xCAT-buildkit = %{epoch}:%{version}