drop BR: qt5-qtbase-private-devel, minor cleanup (#1888764)

e9
Rex Dieter 4 years ago
parent 021bcc424b
commit 44e995be82

@ -2,7 +2,7 @@
Name: copyq Name: copyq
Summary: Advanced clipboard manager Summary: Advanced clipboard manager
Version: 3.12.0 Version: 3.12.0
Release: 5%{?dist} Release: 6%{?dist}
License: GPLv3+ License: GPLv3+
Url: https://hluk.github.io/%{project}/ Url: https://hluk.github.io/%{project}/
Source0: https://github.com/hluk/%{project}/archive/v%{version}.tar.gz#/%{project}-%{version}.tar.gz Source0: https://github.com/hluk/%{project}/archive/v%{version}.tar.gz#/%{project}-%{version}.tar.gz
@ -11,10 +11,6 @@ BuildRequires: libXtst-devel, libXfixes-devel, desktop-file-utils
BuildRequires: kf5-rpm-macros, qt5-qtbase-devel, qt5-qtwebkit-devel, qt5-qtsvg-devel BuildRequires: kf5-rpm-macros, qt5-qtbase-devel, qt5-qtwebkit-devel, qt5-qtsvg-devel
BuildRequires: qt5-qttools-devel, qt5-qtscript-devel, qwt-qt5-devel, qt5-qtx11extras-devel BuildRequires: qt5-qttools-devel, qt5-qtscript-devel, qwt-qt5-devel, qt5-qtx11extras-devel
BuildRequires: extra-cmake-modules, appstream-qt-devel, libappstream-glib BuildRequires: extra-cmake-modules, appstream-qt-devel, libappstream-glib
BuildRequires: qt5-qtbase-private-devel
# Following line used to track qt5 private api usage
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
%description %description
CopyQ is advanced clipboard manager with searchable and editable history with CopyQ is advanced clipboard manager with searchable and editable history with
@ -26,13 +22,13 @@ chmod 644 %{SOURCE0}
sed -i '/DQT_RESTRICTED_CAST_FROM_ASCII/d' CMakeLists.txt sed -i '/DQT_RESTRICTED_CAST_FROM_ASCII/d' CMakeLists.txt
%build %build
%{cmake_kf5} -DCMAKE_SKIP_RPATH=TRUE \ %cmake_kf5 \
-DWITH_QT5=ON \ -DWITH_QT5=ON \
-DWITH_TESTS=TRUE \ -DWITH_TESTS=TRUE \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DPLUGIN_INSTALL_PREFIX=%{_libdir}/%{name}/plugins \ -DPLUGIN_INSTALL_PREFIX=%{_libdir}/%{name}/plugins \
-DTRANSLATION_INSTALL_PREFIX:PATH=%{_datadir}/%{name}/locale . -DTRANSLATION_INSTALL_PREFIX:PATH=%{_datadir}/%{name}/locale
%cmake_build %{?_smp_mflags}
%cmake_build
%install %install
%cmake_install %cmake_install
@ -49,14 +45,16 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/com.gi
%{_libdir}/%{name}/ %{_libdir}/%{name}/
%{_datadir}/metainfo/com.github.hluk.%{name}.appdata.xml %{_datadir}/metainfo/com.github.hluk.%{name}.appdata.xml
%{_datadir}/applications/com.github.hluk.%{name}.desktop %{_datadir}/applications/com.github.hluk.%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}*.png %{_datadir}/icons/hicolor/*/*/%{name}*.*
%{_datadir}/icons/hicolor/*/apps/%{name}*.svg
%dir %{_datadir}/%{name}/ %dir %{_datadir}/%{name}/
%dir %{_datadir}/%{name}/locale/ %dir %{_datadir}/%{name}/locale/
%{_datadir}/%{name}/themes/ %{_datadir}/%{name}/themes/
%{_mandir}/man1/%{name}.1.* %{_mandir}/man1/%{name}.1.*
%changelog %changelog
* Thu Oct 15 2020 Rex Dieter <rdieter@fedoraproject.org> - 3.12.0-6
- drop BR: qt5-qtbase-private-devel, minor cleanup (#1888764)
* Thu Oct 15 2020 Gerald Cox <gbcox@fedoraproject.org> - 3.12.0-5 * Thu Oct 15 2020 Gerald Cox <gbcox@fedoraproject.org> - 3.12.0-5
- rhbz#1888764 - rhbz#1888764

Loading…
Cancel
Save