rpm: fix remaining %if

This commit is contained in:
Marek Marczykowski-Górecki 2018-07-27 14:59:42 +02:00
parent 8b98565a86
commit 80a8c573a2
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -235,7 +235,7 @@ usermod -L user
(cd qrexec; make install DESTDIR=$RPM_BUILD_ROOT)
make install-vm DESTDIR=$RPM_BUILD_ROOT
%if %{fedora} >= 22
%if 0%{?fedora} >= 22
rm -f $RPM_BUILD_ROOT/etc/yum/post-actions/qubes-trigger-sync-appmenus.action
%endif
@ -321,7 +321,7 @@ if ! is_protected_file /etc/hostname ; then
done
fi
%if %{fedora} >= 20
%if 0%{?fedora} >= 20
# Make sure there is a default locale set so gnome-terminal will start
if [ ! -e /etc/locale.conf ] || ! grep -q LANG /etc/locale.conf; then
touch /etc/locale.conf
@ -508,7 +508,7 @@ rm -f %{name}-%{version}
%config(noreplace) /etc/yum.repos.d/qubes-r3.repo
/etc/yum/pluginconf.d/yum-qubes-hooks.conf
%config(noreplace) /etc/dnf/plugins/qubes-hooks.conf
%if %{fedora} < 22
%if 0%{?fedora} < 22
/etc/yum/post-actions/qubes-trigger-sync-appmenus.action
%endif
%config(noreplace) /etc/dconf/db/local.d/dpi