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)