From f9b2d6dd5931d34faea559d9f2c658181c399f5b Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Sun, 1 Dec 2019 02:09:18 +0300 Subject: [PATCH] Spec fixes --- rpmbuilder-node.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpmbuilder-node.spec b/rpmbuilder-node.spec index cf9776e..432af29 100644 --- a/rpmbuilder-node.spec +++ b/rpmbuilder-node.spec @@ -98,15 +98,15 @@ install -pm 755 nodeinfo %{buildroot}%{home_dir}/ install -pm 755 initenv %{buildroot}%{home_dir}/ install -pm 644 rpmlint %{buildroot}%{home_dir}/.config/ -%if 0%{?rhel} = 8 +%if 0%{?rhel} == 8 install -pm 755 rpmmacros_centos8 %{buildroot}%{home_dir}/.rpmmacros_rpmbuilder %endif -%if 0%{?rhel} = 7 +%if 0%{?rhel} == 7 install -pm 755 rpmmacros_centos7 %{buildroot}%{home_dir}/.rpmmacros_rpmbuilder %endif -%if 0%{?rhel} = 6 +%if 0%{?rhel} == 6 install -pm 755 rpmmacros_centos6 %{buildroot}%{home_dir}/.rpmmacros_rpmbuilder %endif