[packages/systemd] updated noarch rules
atler
atler at pld-linux.org
Tue Feb 16 19:51:02 CET 2021
commit 010fe167da5fa75c116a3c0fc4c05e6c4583b76b
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Feb 16 19:48:00 2021 +0100
updated noarch rules
systemd.spec | 18 +++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index 5647261..456a533 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -128,7 +128,7 @@ BuildRequires: polkit-devel >= 0.106
BuildRequires: python3
BuildRequires: python3-lxml
%{?with_qrencode:BuildRequires: qrencode-devel}
-BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: rpmbuild(macros) >= 1.752
BuildRequires: sed >= 4.0
%{?with_tests:BuildRequires: systemd}
BuildRequires: usbutils >= 0.82
@@ -558,9 +558,7 @@ Group: Applications/Shells
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: bash-completion >= 2.0
Obsoletes: bash-completion-elogind
-%if "%{_rpmversion}" >= "4.6"
-BuildArch: noarch
-%endif
+%{?noarchpackage}
%description -n bash-completion-systemd
bash-completion for systemd.
@@ -574,9 +572,7 @@ Summary(pl.UTF-8): Uzupełnianie parametrów w zsh dla poleceń systemd
Group: Applications/Shells
Requires: %{name} = %{epoch}:%{version}-%{release}
Obsoletes: zsh-completion-elogind
-%if "%{_rpmversion}" >= "4.6"
-BuildArch: noarch
-%endif
+%{?noarchpackage}
%description -n zsh-completion-systemd
zsh completion for systemd commands.
@@ -667,9 +663,7 @@ Summary(pl.UTF-8): Bashowe dopełnianie składni dla udev
Group: Applications/Shells
Requires: bash-completion >= 2.0
Requires: udev = %{epoch}:%{version}-%{release}
-%if "%{_rpmversion}" >= "4.6"
-BuildArch: noarch
-%endif
+%{?noarchpackage}
%description -n bash-completion-udev
bash-completion for udev.
@@ -682,9 +676,7 @@ Summary: zsh completion for udev commands
Summary(pl.UTF-8): Uzupełnianie parametrów w zsh dla poleceń udev
Group: Applications/Shells
Requires: %{name} = %{epoch}:%{version}-%{release}
-%if "%{_rpmversion}" >= "4.6"
-BuildArch: noarch
-%endif
+%{?noarchpackage}
%description -n zsh-completion-udev
zsh completion for udev commands.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/a0d3acbd3d7abc66e82016b828b1bfeab263c805
More information about the pld-cvs-commit
mailing list