summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2017-04-18 17:04:42 +0200
committerPavel Raiskup <praiskup@redhat.com>2017-04-18 17:04:42 +0200
commit01bea68485db5eb67559ef226878268d57e3e4f8 (patch)
treea5e2edf1c0b35429fb8c06c637bb5629dc3137e6
parent2c3ee8b7dc426939092305a60a942c6fd4c18f0a (diff)
downloadscl-autotools-01bea68485db5eb67559ef226878268d57e3e4f8.tar.gz
scl-autotools-01bea68485db5eb67559ef226878268d57e3e4f8.tar.xz
scl-autotools-01bea68485db5eb67559ef226878268d57e3e4f8.zip
meta: fix bootstrapping
-rw-r--r--repos/autotools/autotools-git/autotools-git/autotools-git.spec8
-rw-r--r--repos/autotools/autotools-latest/autotools-latest/autotools-latest.spec8
2 files changed, 8 insertions, 8 deletions
diff --git a/repos/autotools/autotools-git/autotools-git/autotools-git.spec b/repos/autotools/autotools-git/autotools-git/autotools-git.spec
index a7010f5..7094d20 100644
--- a/repos/autotools/autotools-git/autotools-git/autotools-git.spec
+++ b/repos/autotools/autotools-git/autotools-git/autotools-git.spec
@@ -3,10 +3,10 @@
# Workaround to always have %%scl defined
%{!?scl:%global scl autotools-git}
-%{?scl:%scl_package %scl}
+%{?scl_package:%scl_package %{scl}}
Summary: Package that installs %scl
-Name: %scl_name
+Name: %scl
Version: 1
Release: 23%{?dist}
License: GPLv2+
@@ -14,8 +14,8 @@ Group: Applications/File
Requires: %{?scl_prefix}m4 %{?scl_prefix}automake
Requires: %{?scl_prefix}autoconf %{?scl_prefix}libtool
-%{?scl:BuildRequires: scl-utils-build}
-%{?scl:BuildRequires: iso-codes}
+# Fix build even when scl-utils-build is not in minimal buildroot.
+BuildRequires: scl-utils-build
%description
diff --git a/repos/autotools/autotools-latest/autotools-latest/autotools-latest.spec b/repos/autotools/autotools-latest/autotools-latest/autotools-latest.spec
index 59a8304..47be0c7 100644
--- a/repos/autotools/autotools-latest/autotools-latest/autotools-latest.spec
+++ b/repos/autotools/autotools-latest/autotools-latest/autotools-latest.spec
@@ -3,10 +3,10 @@
# Workaround to always have %%scl defined
%{!?scl:%global scl autotools-latest}
-%{?scl:%scl_package %scl}
+%{?scl_package:%scl_package %{scl}}
Summary: Package that installs %scl
-Name: %scl_name
+Name: %scl
Version: 1
Release: 20%{?dist}
License: GPLv2+
@@ -14,8 +14,8 @@ Group: Applications/File
Requires: %{?scl_prefix}m4 %{?scl_prefix}automake
Requires: %{?scl_prefix}autoconf %{?scl_prefix}libtool
-%{?scl:BuildRequires: scl-utils-build}
-%{?scl:BuildRequires: iso-codes}
+# Fix build even when scl-utils-build is not in minimal buildroot.
+BuildRequires: scl-utils-build
%description