]> git.pld-linux.org Git - packages/kf5-extra-cmake-modules.git/commitdiff
conditional noarch subpkg (for rpm4); cleanups
authorElan Ruusamäe <glen@delfi.ee>
Wed, 9 Jul 2014 10:14:56 +0000 (13:14 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 9 Jul 2014 10:14:56 +0000 (13:14 +0300)
kde5-extra-cmake-modules.spec

index 27c2eb41def198858bfc1c3adc3d555e64421451..a5fd07484a2e152be6ddc868eedc7bc55db28751 100644 (file)
@@ -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.
This page took 0.241654 seconds and 4 git commands to generate.