From 15bdbfb1089d593ca2a195605bcae27690e6067e Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 23 Sep 2013 11:44:06 -0500 Subject: [PATCH] macros.qt5: use newer location, use unexpanded macros --- qt5-qtbase.spec | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec index c4a5eff..aaa7526 100644 --- a/qt5-qtbase.spec +++ b/qt5-qtbase.spec @@ -6,10 +6,16 @@ %define qtchooser 1 %global qt_module qtbase +%if 0%{?fedora} > 18 +%define rpm_macros_dir %{_rpmconfigdir}/macros.d +%else +%define rpm_macros_dir %{_sysconfdir}/rpm +%endif + Summary: Qt5 - QtBase components Name: qt5-qtbase Version: 5.1.1 -Release: 3%{?dist} +Release: 4%{?dist} # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details License: LGPLv2 with exceptions or GPLv3 with exceptions @@ -264,8 +270,8 @@ Version: %{version} EOF # rpm macros -mkdir -p %{buildroot}%{_sysconfdir}/rpm -cat >%{buildroot}%{_sysconfdir}/rpm/macros.qt5<%{buildroot}%{rpm_macros_dir}/macros.qt5<%{buildroot}%{_sysconfdir}/rpm/macros.qt5< 5.1.1-4 +- macros.qt5: use newer location, use unexpanded macros + * Sat Sep 07 2013 Rex Dieter 5.1.1-3 - ExcludeArch: ppc64 ppc (#1005482)