From bf8deeb3fa6151995b4ad1fe206da4c4a31f0f9b Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Tue, 30 Oct 2012 17:04:36 -0500 Subject: 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 --- misc/bcfg2-selinux.spec | 5 ----- misc/bcfg2.spec | 5 ----- 2 files changed, 10 deletions(-) (limited to 'misc') 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 -- cgit v1.2.3-1-g7c22