forked from pool/oxygen5-icon-theme
Accepting request 496856 from home:StefanBruens:branches:KDE:Frameworks5
Reduce dependency chain - Qt5Core/Qt5Test are not actually needed OBS-URL: https://build.opensuse.org/request/show/496856 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/oxygen5-icon-theme?expand=0&rev=47
This commit is contained in:
parent
692a2be4fe
commit
09d88492c3
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 19 19:45:42 UTC 2017 - stefan.bruens@rwth-aachen.de
|
||||
|
||||
- Conditionalyze build dependency on Qt5Core/Qt5Test, which
|
||||
are only required for the unused autotests.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 15 13:56:39 CEST 2017 - fabian@ritter-vogt.de
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%bcond_with autotests
|
||||
|
||||
%define _tar_path 5.34
|
||||
Name: oxygen5-icon-theme
|
||||
@ -40,8 +41,10 @@ BuildRequires: extra-cmake-modules
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: kf5-filesystem
|
||||
BuildRequires: xz
|
||||
%if %{with autotests}
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Test)
|
||||
%endif
|
||||
Requires: hicolor-icon-theme
|
||||
Recommends: oxygen5-icon-theme-large
|
||||
Provides: oxygen-icon-theme = 15.08
|
||||
@ -54,6 +57,9 @@ This package contains the non-scalable icons of the Oxygen icon theme.
|
||||
|
||||
%prep
|
||||
%setup -q -n oxygen-icons5-%{version}
|
||||
%if %{without autotests}
|
||||
sed -i -e's/.*autotests/# \0/' CMakeLists.txt
|
||||
%endif
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build
|
||||
|
Loading…
x
Reference in New Issue
Block a user