fix self build failed
Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
parent
1d843898b8
commit
d220dbff35
@ -1,7 +1,7 @@
|
|||||||
Name: hplip
|
Name: hplip
|
||||||
Summary: HP Linux Imaging and Printing Project
|
Summary: HP Linux Imaging and Printing Project
|
||||||
Version: 3.23.8
|
Version: 3.23.8
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPLv2+ and MIT and BSD and IJG and Public Domain and GPLv2+ with exceptions and ISC
|
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
|
Url: https://developers.hp.com/hp-linux-imaging-and-printing
|
||||||
Source0: http://downloads.sourceforge.net/sourceforge/hplip/hplip-%%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/sourceforge/hplip/hplip-%%{version}.tar.gz
|
||||||
@ -159,6 +159,7 @@ autoreconf --verbose --force --install
|
|||||||
|
|
||||||
export CFLAGS="%{optflags} $(python3-config --includes)"
|
export CFLAGS="%{optflags} $(python3-config --includes)"
|
||||||
export CXXFLAGS="%{optflags} $(python3-config --includes)"
|
export CXXFLAGS="%{optflags} $(python3-config --includes)"
|
||||||
|
export LDFLAGS="${LDFLAGS} -fPIC"
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
--enable-scan-build --enable-gui-build --enable-fax-build \
|
--enable-scan-build --enable-gui-build --enable-fax-build \
|
||||||
@ -279,6 +280,9 @@ install -d ${RPM_BUILD_ROOT}%{_datadir}/hplip/prnt/plugins
|
|||||||
%exclude %{python3_sitearch}/*.la
|
%exclude %{python3_sitearch}/*.la
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 21 2024 xu_ping <707078654@qq.com> - 3.23.8-2
|
||||||
|
- fix self build failed.
|
||||||
|
|
||||||
* Wed Oct 11 2023 yaoxin <yao_xin001@hoperun.com> - 3.23.8-1
|
* Wed Oct 11 2023 yaoxin <yao_xin001@hoperun.com> - 3.23.8-1
|
||||||
- Upgrade to 3.23.8
|
- Upgrade to 3.23.8
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user