diff --git a/hplip.spec b/hplip.spec index d38711eef27be61fa54e99921919bee5422dbe38..39fd3c069e418dfdeca9598409948064510dcd38 100644 --- a/hplip.spec +++ b/hplip.spec @@ -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 - 3.18.6-10 +- Add python3 include path for compiler + * Wed Nov 27 2019 caomeng - 3.18.6-9 - Package init