!4 Add python3 include path for compiler
Merge pull request !4 from 李振华/master
This commit is contained in:
commit
59b97dd017
@ -1,7 +1,7 @@
|
||||
Name: hplip
|
||||
Summary: HP Linux Imaging and Printing Project
|
||||
Version: 3.18.6
|
||||
Release: 9
|
||||
Release: 10
|
||||
License: GPLv2+ and MIT and BSD and IJG and Public Domain and GPLv2+ with exceptions and ISC
|
||||
Url: https://developers.hp.com/hp-linux-imaging-and-printing
|
||||
Source0: http://downloads.sourceforge.net/sourceforge/hplip/hplip-%{version}.tar.gz
|
||||
@ -147,6 +147,9 @@ sed -i 's|^AM_INIT_AUTOMAKE|AM_INIT_AUTOMAKE([foreign])|g' configure.in
|
||||
|
||||
autoreconf --verbose --force --install
|
||||
|
||||
export CFLAGS="%{optflags} $(python3-config --includes)"
|
||||
export CXXFLAGS="%{optflags} $(python3-config --includes)"
|
||||
|
||||
%configure \
|
||||
--enable-scan-build --enable-gui-build --enable-fax-build \
|
||||
--disable-foomatic-rip-hplip-install --enable-pp-build \
|
||||
@ -271,5 +274,8 @@ install -d ${RPM_BUILD_ROOT}%{_datadir}/hplip/prnt/plugins
|
||||
%exclude %{python3_sitearch}/*.la
|
||||
|
||||
%changelog
|
||||
* Mon Jun 22 2020 lizhenhua <lizhenhua21@huawei.com> - 3.18.6-10
|
||||
- Add python3 include path for compiler
|
||||
|
||||
* Wed Nov 27 2019 caomeng<caomeng5@huawei.com> - 3.18.6-9
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user