Fix build by switching to cmake macros instead of make

This commit is contained in:
František Zatloukal 2020-08-04 08:40:44 +02:00
parent 27098267b8
commit e84dd5fa0b

View File

@ -4,7 +4,7 @@
Name: libproxy
Version: 0.4.15
Release: 21%{?dist}
Release: 22%{?dist}
Summary: A library handling all the details of proxy configuration
License: LGPLv2+
@ -162,11 +162,11 @@ developing applications that use %{name}.
-DWITH_PYTHON3=OFF \
%endif
.
%make_build
%cmake_build
%install
%make_install INSTALL="install -p"
%cmake_install
#In case all modules are disabled
mkdir -p %{buildroot}%{_libdir}/%{name}/%{version}/modules
@ -176,7 +176,7 @@ install -Dpm 0644 %{SOURCE1} %{buildroot}/%{_mandir}/man1/proxy.1
%check
make test
%ctest
%ldconfig_scriptlets
@ -226,6 +226,9 @@ make test
%changelog
* Tue Aug 04 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.4.15-22
- Fix build by switching to cmake macros instead of make
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.15-21
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild