[packages/kde5-extra-cmake-modules] conditional noarch subpkg (for rpm4); cleanups
glen
glen at pld-linux.org
Wed Jul 9 12:14:59 CEST 2014
commit f96a4c913aadb1260a04c73ecbc51aad44a02379
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Jul 9 13:14:56 2014 +0300
conditional noarch subpkg (for rpm4); cleanups
kde5-extra-cmake-modules.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/kde5-extra-cmake-modules.spec b/kde5-extra-cmake-modules.spec
index 27c2eb4..a5fd074 100644
--- a/kde5-extra-cmake-modules.spec
+++ b/kde5-extra-cmake-modules.spec
@@ -1,7 +1,6 @@
# TODO where to put files and docs of KF5
-%define _state stable
-%define orgname extra-cmake-modules
-%define qt5ver 5.2.0
+%define orgname extra-cmake-modules
+%define qt5ver 5.2.0
Summary: Extra Cmake Modules for KF5
Name: kde5-extra-cmake-modules
@@ -9,7 +8,7 @@ Version: 1.0.0
Release: 0.1
License: See COPYING-CMAKE-SCRIPTS
Group: X11/Libraries
-Source0: ftp://ftp.kde.org/pub/kde/%{_state}/frameworks/5.0.0/%{orgname}-%{version}.tar.xz
+Source0: ftp://ftp.kde.org/pub/kde/stable/frameworks/5.0.0/%{orgname}-%{version}.tar.xz
# Source0-md5: a7b9e8756fdc2b3a8518ad9f9d21dfd5
URL: http://www.kde.org/
BuildRequires: cmake >= 2.8.12
@@ -33,7 +32,9 @@ software that uses the CMake build system.
%package doc
Summary: Documentation for ECM
Group: Documentation
+%if "%{_rpmversion}" >= "5"
BuildArch: noarch
+%endif
%description doc
Documentation for ECM.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kde5-extra-cmake-modules.git/commitdiff/f96a4c913aadb1260a04c73ecbc51aad44a02379
More information about the pld-cvs-commit
mailing list