Improve compatibility with new CMake macro

This commit is contained in:
Qiyu Yan 2020-08-04 10:32:38 +08:00
parent ca10712b42
commit 991724113b
No known key found for this signature in database
GPG Key ID: 4FC914F065F2DF12
1 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@
Name: fcitx-qt5
Version: 1.2.4
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Fcitx IM module for Qt5
# The entire source code is GPLv2+ except
@ -42,14 +42,11 @@ developing programs using fcitx-qt5 libraries.
%setup -q
%build
mkdir -pv build
pushd build
%cmake ..
popd
make %{?_smp_mflags} -C build
%cmake
%cmake_build
%install
make install/fast DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" -C build
%cmake_install
%find_lang %{name}
%ldconfig_scriptlets
@ -69,6 +66,9 @@ make install/fast DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" -C build
%changelog
* Tue Aug 04 2020 Qiyu Yan <yanqiyu@fedoraproject.org> - 1.2.4-7
- Improve compatibility with new CMake macro
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-6
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild