summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2012-10-30 17:04:36 -0500
committerSol Jerome <sol.jerome@gmail.com>2012-10-30 17:04:36 -0500
commitbf8deeb3fa6151995b4ad1fe206da4c4a31f0f9b (patch)
treeead35aae7937a4ed3b1f1a514e69855197fac53f /misc
parente404baf33dad8902f5b6d11e1020d7489d34b671 (diff)
downloadbcfg2-bf8deeb3fa6151995b4ad1fe206da4c4a31f0f9b.tar.gz
bcfg2-bf8deeb3fa6151995b4ad1fe206da4c4a31f0f9b.tar.bz2
bcfg2-bf8deeb3fa6151995b4ad1fe206da4c4a31f0f9b.zip
bcfg2{,-selinux}.spec: Fix BuildRoot
This should work in SUSE as well according to http://fox-eye.appspot.com/bugzilla.novell.com/728682. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/bcfg2-selinux.spec5
-rw-r--r--misc/bcfg2.spec5
2 files changed, 0 insertions, 10 deletions
diff --git a/misc/bcfg2-selinux.spec b/misc/bcfg2-selinux.spec
index a5864848d..bdee40ece 100644
--- a/misc/bcfg2-selinux.spec
+++ b/misc/bcfg2-selinux.spec
@@ -25,12 +25,7 @@ Conflicts: selinux-policy = 3.11.1
License: BSD
URL: http://bcfg2.org
Source0: ftp://ftp.mcs.anl.gov/pub/bcfg/bcfg2-%{version}.tar.gz
-%if 0%{?suse_version}
-# SUSEs OBS does not understand the id macro below.
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
-%else
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-%endif
BuildArch: noarch
BuildRequires: checkpolicy, selinux-policy-devel, hardlink
diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec
index aa330c583..16c20c834 100644
--- a/misc/bcfg2.spec
+++ b/misc/bcfg2.spec
@@ -18,12 +18,7 @@ Group: Applications/System
License: BSD
URL: http://bcfg2.org
Source0: ftp://ftp.mcs.anl.gov/pub/bcfg/%{name}-%{version}.tar.gz
-%if 0%{?suse_version}
-# SUSEs OBS does not understand the id macro below.
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
-%else
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-%endif
BuildArch: noarch
BuildRequires: python-devel