Build and install the Python2 cupsext module as well.
This commit is contained in:
parent
c2c95df9a8
commit
adfeb4f6ae
12
hplip.spec
12
hplip.spec
@ -10,7 +10,7 @@
|
||||
Summary: HP Linux Imaging and Printing Project
|
||||
Name: hplip
|
||||
Version: 3.15.2
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
License: GPLv2+ and MIT
|
||||
|
||||
Url: http://hplip.sourceforge.net/
|
||||
@ -264,7 +264,7 @@ pushd ../%{py2dir}
|
||||
%configure PYTHON=%{__python2}
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
make libhpmud.la hpmudext.la
|
||||
make libhpmud.la hpmudext.la cupsext.la
|
||||
popd
|
||||
|
||||
%configure \
|
||||
@ -283,7 +283,9 @@ make
|
||||
%install
|
||||
# compat-libs
|
||||
pushd ../%{py2dir}
|
||||
make install-libLTLIBRARIES install-hpmudextLTLIBRARIES \
|
||||
make install-libLTLIBRARIES \
|
||||
install-hpmudextLTLIBRARIES \
|
||||
install-cupsextLTLIBRARIES \
|
||||
DESTDIR=%{buildroot} PYTHON=%{__python2}
|
||||
rm -f %{buildroot}%{python2_sitearch}/*.la
|
||||
popd
|
||||
@ -484,7 +486,7 @@ rm -f ppds-all
|
||||
%{python3_sitearch}/*
|
||||
|
||||
%files compat-libs
|
||||
# Python extension
|
||||
# Python extensions
|
||||
%{python2_sitearch}/*.so
|
||||
|
||||
%files gui
|
||||
@ -522,7 +524,7 @@ rm -f ppds-all
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
* Mon Mar 23 2015 Jiri Popelka <jpopelka@redhat.com> - 3.15.2-8
|
||||
* Mon Mar 23 2015 Jiri Popelka <jpopelka@redhat.com> - 3.15.2-9
|
||||
- Build and ship also Python 2 modules for hp-plugin (bug #1196237).
|
||||
|
||||
* Fri Mar 20 2015 Tim Waugh <twaugh@redhat.com> - 3.15.2-7
|
||||
|
Loading…
Reference in New Issue
Block a user