%build: -Wno-dev (silence dev-only cmake warnings)

%build: explicitly mark BOOL options, use ON/OFF consistently
drop BR: appstream-qt-devel (not used, make epel compatible)
e9
Rex Dieter 3 years ago
parent 30e9b27593
commit dd4ed59e03

@ -3,7 +3,7 @@
Name: copyq
Version: 5.0.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Advanced clipboard manager
License: GPLv3+
@ -13,7 +13,7 @@ Url: %{forgeurl}
Source0: %{forgesource}
Source1: %{name}.rpmlintrc
BuildRequires: cmake, extra-cmake-modules, gcc-c++
BuildRequires: appstream-qt-devel, libappstream-glib
BuildRequires: libappstream-glib
BuildRequires: desktop-file-utils, git
BuildRequires: libXtst-devel, libXfixes-devel
BuildRequires: kf5-knotifications-devel, kf5-rpm-macros,
@ -35,8 +35,9 @@ sed -i '/DQT_RESTRICTED_CAST_FROM_ASCII/d' CMakeLists.txt
%build
%cmake_kf5 \
-DWITH_QT5=ON \
-DWITH_TESTS=TRUE \
-Wno-dev \
-DWITH_QT5:BOOL=ON \
-DWITH_TESTS:BOOL=ON \
-DPLUGIN_INSTALL_PREFIX=%{_libdir}/%{name}/plugins \
-DTRANSLATION_INSTALL_PREFIX:PATH=%{_datadir}/%{name}/locale
@ -66,6 +67,11 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/com.gi
%{_mandir}/man1/%{name}.1.*
%changelog
* Tue Nov 02 2021 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-2
- %%build: -Wno-dev (silence dev-only cmake warnings)
- %%build: explicitly mark BOOL options, use ON/OFF consistently
- drop BR: appstream-qt-devel (not used, make epel compatible)
* Thu Sep 30 2021 Gerald Cox <gbcox@member.fsf.org> - 5.0.0-1
- Upstream release rhbz#2009446

Loading…
Cancel
Save