Accepting request 715683 from Printing
OBS-URL: https://build.opensuse.org/request/show/715683 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hplip?expand=0&rev=124
This commit is contained in:
commit
b33f175394
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 16 07:52:48 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
- Disable -Werror=return-type for now.
|
||||||
|
- Use %make_build for parallel build.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 12 16:33:57 UTC 2019 - Johannes Weberhofer <jweberhofer@weberhofer.at>
|
Fri Apr 12 16:33:57 UTC 2019 - Johannes Weberhofer <jweberhofer@weberhofer.at>
|
||||||
|
|
||||||
|
10
hplip.spec
10
hplip.spec
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -429,8 +429,8 @@ sed -i -e 's|/usr/share/icons/Humanity/devices/48/printer.svg|printer|' hp-uisca
|
|||||||
# in each directory where a Makefile.am exists:
|
# in each directory where a Makefile.am exists:
|
||||||
AUTOMAKE='automake --foreign' autoreconf -fvi
|
AUTOMAKE='automake --foreign' autoreconf -fvi
|
||||||
# Set our preferred architecture-specific flags for the compiler and linker:
|
# Set our preferred architecture-specific flags for the compiler and linker:
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags} -Wno-error=return-type"
|
||||||
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
|
export CXXFLAGS="%{optflags} -fno-strict-aliasing -Wno-error=return-type"
|
||||||
# --disable-pp-build disables parallel port build because parallel port support is deprecated by upstream HPLIP
|
# --disable-pp-build disables parallel port build because parallel port support is deprecated by upstream HPLIP
|
||||||
# and by upstream in general cf. "Parallel port printers" at https://en.opensuse.org/SDB:Installing_a_Printer
|
# and by upstream in general cf. "Parallel port printers" at https://en.opensuse.org/SDB:Installing_a_Printer
|
||||||
# Since version 3.9.6 the default printer driver install changed from hpijs to hpcups.
|
# Since version 3.9.6 the default printer driver install changed from hpijs to hpcups.
|
||||||
@ -486,9 +486,9 @@ export CXXFLAGS="%{optflags} -fno-strict-aliasing"
|
|||||||
--with-mimedir=%{_sysconfdir}/cups \
|
--with-mimedir=%{_sysconfdir}/cups \
|
||||||
--with-docdir=%{_defaultdocdir}/%{name} \
|
--with-docdir=%{_defaultdocdir}/%{name} \
|
||||||
--with-htmldir==%{_defaultdocdir}/%{name} \
|
--with-htmldir==%{_defaultdocdir}/%{name} \
|
||||||
CFLAGS='%{optflags}' \
|
CFLAGS='%{optflags} -Wno-error=return-type' \
|
||||||
PYTHON=%{pyexe}
|
PYTHON=%{pyexe}
|
||||||
make
|
%make_build
|
||||||
sed -i 's|ppd/hpcups/\*.ppd.gz ||g' Makefile
|
sed -i 's|ppd/hpcups/\*.ppd.gz ||g' Makefile
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user