summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--t/data/SPECS/ordering-scriptlets/a_1.spec4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 4eaa2205..3b82045c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
- cpan_testers:
+ o adapt to a world where gcc is no more the apex predator
+ (aka works out of the box when there's clang but not gcc)
o check & report where genhdlist2 is
o check that web server has actually started
o describe more tests to help pinpoint regressions
diff --git a/t/data/SPECS/ordering-scriptlets/a_1.spec b/t/data/SPECS/ordering-scriptlets/a_1.spec
index 41776692..a4a0b1cd 100644
--- a/t/data/SPECS/ordering-scriptlets/a_1.spec
+++ b/t/data/SPECS/ordering-scriptlets/a_1.spec
@@ -7,7 +7,7 @@ Version: 1
Release: 1
License: x
Provides: /bin/a
-BuildRequires: gcc
+#BuildRequires: gcc
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^libc.so|^ld
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^libc.so|^ld
@@ -29,7 +29,7 @@ EOF
%build
# Try a static build with fallback to dynamic if no static libs/headers
# (in which case we will pull the the wanted libs in %%install):
-gcc -Wall -static -o a a.c || gcc -Wall -o a a.c
+cc -Wall -static -o a a.c || cc -Wall -o a a.c
%install
rm -rf $RPM_BUILD_ROOT