Resolves: rhbz#1865076: FTBFS in Fedora rawhide/f33

updated make_build and make_install to cmake_build and cmake_install macro
This commit is contained in:
vishal-vvr 2020-10-12 10:59:45 +05:30
parent dd092ca836
commit 03f5eb6547

View File

@ -1,6 +1,6 @@
Name: nuspell Name: nuspell
Version: 3.1.2 Version: 3.1.2
Release: 3%{?dist} Release: 4%{?dist}
Summary: C++ spelling checking library and command-line tool Summary: C++ spelling checking library and command-line tool
License: LGPLv3+ License: LGPLv3+
URL: https://nuspell.github.io URL: https://nuspell.github.io
@ -35,12 +35,12 @@ The %{name}-devel package contains the header files and developer docs for \
%autosetup -n %{name}-%{version} %autosetup -n %{name}-%{version}
%build %build
%cmake . -DBUILD_SHARED_LIBS=1 -DCMAKE_BUILD_TYPE=Release \ %cmake -DBUILD_SHARED_LIBS=1 -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_INSTALL_PREFIX=%{_prefix}
%make_build %cmake_build
%install %install
%make_install %cmake_install
%check %check
ctest ctest
@ -61,6 +61,10 @@ ctest
%doc %{_docdir}/nuspell/ %doc %{_docdir}/nuspell/
%changelog %changelog
* Fri Oct 09 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.1.2-4
- Resolves: rhbz#1865076: FTBFS in Fedora rawhide/f33
- updated make_build and make_install to cmake_build and cmake_install macro
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-3 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-3
- Second attempt - Rebuilt for - Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild