diff --git a/qt.spec b/qt.spec index 6cd9085..bd9fc99 100644 --- a/qt.spec +++ b/qt.spec @@ -13,6 +13,11 @@ %define qt_settings 1 %endif +%define rpm_macros_dir %{_sysconfdir}/rpm +%if 0%{?fedora} > 18 +%define rpm_macros_dir %{_rpmconfigdir}/macros.d +%endif + # use qtchooser (default off, for now) #define qtchooser 1 @@ -22,7 +27,7 @@ Summary: Qt toolkit Name: qt Epoch: 1 Version: 4.8.5 -Release: 0.1.%{pre}%{?dist} +Release: 0.2.%{pre}%{?dist} # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details License: (LGPLv2 with exceptions or GPLv3 with exceptions) and ASL 2.0 and BSD and FTL and MIT @@ -779,8 +784,8 @@ Version: %{version} EOF # rpm macros -mkdir -p %{buildroot}%{_sysconfdir}/rpm -cat >%{buildroot}%{_sysconfdir}/rpm/macros.qt4<%{buildroot}%{rpm_macros_dir}/macros.qt4<%{buildroot}%{_sysconfdir}/rpm/macros.qt4< 4.8.5-0.2.rc +- RFE: Add %qmake_qt4 macro (#870199) + * Sun Jun 09 2013 Rex Dieter 4.8.5-0.1.rc - 4.8.5-RC