diff --git a/attica.spec b/attica.spec index 85a05eb..95b257a 100644 --- a/attica.spec +++ b/attica.spec @@ -1,20 +1,14 @@ -%if 0%{?rhel} == 6 -%define cmake_pkg cmake28 -%else -%define cmake_pkg cmake -%endif - Name: attica Version: 0.4.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Implementation of the Open Collaboration Services API License: LGPLv2+ URL: http://www.kde.org Source0: http://download.kde.org/stable/attica/attica-%{version}.tar.bz2 -BuildRequires: %{cmake_pkg} >= 2.8 +BuildRequires: cmake >= 2.8 BuildRequires: pkgconfig(QtNetwork) >= 4.7 %description @@ -33,11 +27,10 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %build -mkdir -p %{_target_platform} +mkdir %{_target_platform} pushd %{_target_platform} -%{?cmake28}%{!?cmake28:%{?cmake}} \ +%{cmake} .. \ -DQT4_BUILD:BOOL=ON \ - .. popd make %{?_smp_mflags} -C %{_target_platform} @@ -68,6 +61,9 @@ test "$(pkg-config --modversion libattica)" = "%{version}" %changelog +* Thu Jan 08 2015 Rex Dieter 0.4.2-5 +- drop cmake/el6 hack + * Fri Aug 15 2014 Fedora Release Engineering - 0.4.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild