From 9a3a345835da58402a5113dacfdfd471d40bdb0e Mon Sep 17 00:00:00 2001 From: Helio Chissini de Castro Date: Sun, 13 Dec 2015 15:11:26 +0100 Subject: [PATCH] - Prep for epel7 --- polkit-qt5-1.spec | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/polkit-qt5-1.spec b/polkit-qt5-1.spec index 9d7ae3d..0a24130 100644 --- a/polkit-qt5-1.spec +++ b/polkit-qt5-1.spec @@ -1,6 +1,6 @@ Name: polkit-qt5-1 Version: 0.103.0 -Release: 6.20130415gitbac771e%{?dist} +Release: 7.20130415gitbac771e%{?dist} Summary: Qt5 bindings for PolicyKit License: GPLv2+ @@ -12,7 +12,7 @@ Source0: %{name}.tar.gz Source1: Doxyfile BuildRequires: automoc4 -BuildRequires: cmake +BuildRequires: %{?fedora:cmake >= 3.3}%{!?fedora:cmake3 >= 3.3} BuildRequires: extra-cmake-modules BuildRequires: pkgconfig(polkit-agent-1) pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(Qt5DBus) pkgconfig(Qt5Gui) pkgconfig(Qt5Widgets) pkgconfig(Qt5Xml) @@ -35,13 +35,16 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %setup -q -n %{name} %build -%{cmake} . -make %{?_smp_mflags} +mkdir -p %{_target_platform} +pushd %{_target_platform} + %{?fedora:%{cmake}}%{?rhel:%{cmake3}} .. +popd %install -make install DESTDIR=%{buildroot} - +pushd %{_target_platform} + make install DESTDIR=%{buildroot} +popd %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -67,6 +70,9 @@ make install DESTDIR=%{buildroot} %changelog +* Sun Dec 13 2015 Helio Chissini de Castro - 0.103.0-7.20130415gitbac771e +- Prepare tu use on epel + * Thu Jun 18 2015 Fedora Release Engineering - 0.103.0-6.20130415gitbac771e - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild