summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-04-01 15:39:21 +0300
committerPanu Matilainen <pmatilai@redhat.com>2011-04-01 15:39:21 +0300
commita6ac17aec39ed216e31d8e94275a94e099eb6999 (patch)
tree882d4a2c4700506e290922c9252d497da7cbeef2 /tests
parentb2032ed776c489bda1e902061d2b2a9518235505 (diff)
downloadlibrpm-tizen-a6ac17aec39ed216e31d8e94275a94e099eb6999.tar.gz
librpm-tizen-a6ac17aec39ed216e31d8e94275a94e099eb6999.tar.bz2
librpm-tizen-a6ac17aec39ed216e31d8e94275a94e099eb6999.zip
Avoid unnecessary use of 'id' in test-suite specs
- We could just ditch the entire buildroot lines from the specs but leaving one case to test that we dont actually fail on specs that do have it.
Diffstat (limited to 'tests')
-rw-r--r--tests/data/SPECS/foo.spec2
-rw-r--r--tests/data/SPECS/hello.spec1
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/data/SPECS/foo.spec b/tests/data/SPECS/foo.spec
index 986e6dad6..88d037ee8 100644
--- a/tests/data/SPECS/foo.spec
+++ b/tests/data/SPECS/foo.spec
@@ -9,7 +9,7 @@ Provides: hi
Conflicts: goodbye
Obsoletes: howdy
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
Simple rpm demonstration.
diff --git a/tests/data/SPECS/hello.spec b/tests/data/SPECS/hello.spec
index 066388f2a..7f5a92ed8 100644
--- a/tests/data/SPECS/hello.spec
+++ b/tests/data/SPECS/hello.spec
@@ -16,7 +16,6 @@ Provides: hi
Conflicts: goodbye
Obsoletes: howdy
Prefix: /usr
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
Simple rpm demonstration.