]> git.pld-linux.org Git - packages/openssh.git/commitdiff
updated noarch rule
authorJan Palus <atler@pld-linux.org>
Wed, 3 Feb 2021 22:33:12 +0000 (23:33 +0100)
committerJan Palus <atler@pld-linux.org>
Wed, 3 Feb 2021 22:33:12 +0000 (23:33 +0100)
openssh.spec

index 2d17c50a38644bc682e8b836bae20b1c193c1444..a8dd922c0d79cf5f7eab52c30e2dd9ee2e86245f 100644 (file)
@@ -96,7 +96,7 @@ BuildRequires:        pam-devel
 BuildRequires: python-TwistedConch
 %endif
 BuildRequires: rpm >= 4.4.9-56
-BuildRequires: rpmbuild(macros) >= 1.627
+BuildRequires: rpmbuild(macros) >= 1.752
 BuildRequires: sed >= 4.0
 BuildRequires: zlib-devel >= 1.2.3
 %if %{with tests} && 0%(id -u sshd >/dev/null 2>&1; echo $?)
@@ -529,9 +529,7 @@ Summary(pl.UTF-8):  Schemat klucza publicznego LDAP dla OpenSSH
 Group:         Networking/Daemons
 Requires(post,postun): sed >= 4.0
 Requires:      openldap-servers
-%if "%{_rpmversion}" >= "5"
-BuildArch:     noarch
-%endif
+%{?noarchpackage}
 
 %description -n openldap-schema-openssh-lpk
 This package contains OpenSSH LDAP Public Key schema for openldap.
This page took 0.027785 seconds and 4 git commands to generate.