From 2e75799b80de4f6bb2f930272e5d15cc42e13c29 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 24 Feb 2021 17:51:31 +0100 Subject: [PATCH] templates: remove unused and deprecated BuildRoot tag from all templates --- templates/ghc | 1 - templates/gnome | 1 - templates/kde3 | 1 - templates/kde4 | 1 - templates/kde5 | 1 - templates/library | 1 - templates/ocaml-libs | 1 - templates/perl | 1 - templates/python | 1 - templates/standard | 1 - templates/standard-daemon | 1 - templates/web | 2 -- 12 files changed, 13 deletions(-) diff --git a/templates/ghc b/templates/ghc index 1537688..d5bf772 100644 --- a/templates/ghc +++ b/templates/ghc @@ -24,7 +24,6 @@ Requires(preun): %{__install_info} BuildRequires: ghc BuildRequires: hscolour Requires: ghc = %{ghc_ver} -BuildRoot: @rpm_default_buildroot@ %description ... diff --git a/templates/gnome b/templates/gnome index 0283820..e6fa93c 100644 --- a/templates/gnome +++ b/templates/gnome @@ -20,7 +20,6 @@ License: GPL ## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. ## AUTOBUILDREQ-END BuildRequires: gtk-doc -BuildRoot: @rpm_default_buildroot@ %description ... diff --git a/templates/kde3 b/templates/kde3 index e8c1269..dc05527 100644 --- a/templates/kde3 +++ b/templates/kde3 @@ -12,7 +12,6 @@ License: ... ## AUTOBUILDREQ-BEGIN ## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. ## AUTOBUILDREQ-END -BuildRoot: @rpm_default_buildroot@ %description ... diff --git a/templates/kde4 b/templates/kde4 index 02e4a4e..53d5ecc 100644 --- a/templates/kde4 +++ b/templates/kde4 @@ -17,7 +17,6 @@ BuildRequires: kdelibs-devel ## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. ## AUTOBUILDREQ-END Requires: kdelibs%{?_kde4_version: >= %{_kde4_version}} -BuildRoot: @rpm_default_buildroot@ %description ... diff --git a/templates/kde5 b/templates/kde5 index 9c7ba00..860eeb6 100644 --- a/templates/kde5 +++ b/templates/kde5 @@ -19,7 +19,6 @@ BuildRequires: cmake BuildRequires: rpm-macros-kde5 BuildRequires: extra-cmake-modules Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -BuildRoot: @rpm_default_buildroot@ %description ... diff --git a/templates/library b/templates/library index 780ae6f..6e0a631 100644 --- a/templates/library +++ b/templates/library @@ -26,7 +26,6 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires(post): %{__install_info} Requires(preun): %{__install_info} @fi:infopages -BuildRoot: @rpm_default_buildroot@ %description ... diff --git a/templates/ocaml-libs b/templates/ocaml-libs index 06c4a09..b216ec6 100644 --- a/templates/ocaml-libs +++ b/templates/ocaml-libs @@ -21,7 +21,6 @@ BuildRequires: ocaml-findlib ## remove the following build requirement if this package is compiled ## by using the OCaml native-code compiler (ocamlopt) Requires: ocaml-runtime -BuildRoot: @rpm_default_buildroot@ %description ... diff --git a/templates/perl b/templates/perl index 9db991f..088c9be 100644 --- a/templates/perl +++ b/templates/perl @@ -16,7 +16,6 @@ License: GPL, Artistic ## AUTOBUILDREQ-END BuildRequires: perl-devel Requires: perl >= %perl_major_ver -BuildRoot: @rpm_default_buildroot@ %description ... diff --git a/templates/python b/templates/python index c0fb09c..b060afd 100644 --- a/templates/python +++ b/templates/python @@ -14,7 +14,6 @@ License: ... ## AUTOBUILDREQ-END BuildRequires: libpython-devel Requires: python >= %python_version -BuildRoot: @rpm_default_buildroot@ %description %{summary}. diff --git a/templates/standard b/templates/standard index a749f86..e88cf03 100644 --- a/templates/standard +++ b/templates/standard @@ -19,7 +19,6 @@ BuildRequires: @build_tool@ Requires(post): %{__install_info} Requires(preun): %{__install_info} @fi:infopages -BuildRoot: @rpm_default_buildroot@ %description ... diff --git a/templates/standard-daemon b/templates/standard-daemon index 6054f9d..b46b870 100644 --- a/templates/standard-daemon +++ b/templates/standard-daemon @@ -19,7 +19,6 @@ BuildRequires: @build_tool@ Requires(post): %{__install_info} Requires(preun): %{__install_info} @fi:infopages -BuildRoot: @rpm_default_buildroot@ %description ... diff --git a/templates/web b/templates/web index de0faa4..1ee9c7a 100644 --- a/templates/web +++ b/templates/web @@ -33,8 +33,6 @@ Source: ... License: ... ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END -BuildArch: noarch -BuildRoot: @rpm_default_buildroot@ %description ...