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
|
Summary: HP Linux Imaging and Printing Project
|
||||||
Name: hplip
|
Name: hplip
|
||||||
Version: 3.15.2
|
Version: 3.15.2
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
License: GPLv2+ and MIT
|
License: GPLv2+ and MIT
|
||||||
|
|
||||||
Url: http://hplip.sourceforge.net/
|
Url: http://hplip.sourceforge.net/
|
||||||
@ -264,7 +264,7 @@ pushd ../%{py2dir}
|
|||||||
%configure PYTHON=%{__python2}
|
%configure PYTHON=%{__python2}
|
||||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
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
|
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
|
popd
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
@ -283,7 +283,9 @@ make
|
|||||||
%install
|
%install
|
||||||
# compat-libs
|
# compat-libs
|
||||||
pushd ../%{py2dir}
|
pushd ../%{py2dir}
|
||||||
make install-libLTLIBRARIES install-hpmudextLTLIBRARIES \
|
make install-libLTLIBRARIES \
|
||||||
|
install-hpmudextLTLIBRARIES \
|
||||||
|
install-cupsextLTLIBRARIES \
|
||||||
DESTDIR=%{buildroot} PYTHON=%{__python2}
|
DESTDIR=%{buildroot} PYTHON=%{__python2}
|
||||||
rm -f %{buildroot}%{python2_sitearch}/*.la
|
rm -f %{buildroot}%{python2_sitearch}/*.la
|
||||||
popd
|
popd
|
||||||
@ -484,7 +486,7 @@ rm -f ppds-all
|
|||||||
%{python3_sitearch}/*
|
%{python3_sitearch}/*
|
||||||
|
|
||||||
%files compat-libs
|
%files compat-libs
|
||||||
# Python extension
|
# Python extensions
|
||||||
%{python2_sitearch}/*.so
|
%{python2_sitearch}/*.so
|
||||||
|
|
||||||
%files gui
|
%files gui
|
||||||
@ -522,7 +524,7 @@ rm -f ppds-all
|
|||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%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).
|
- 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
|
* Fri Mar 20 2015 Tim Waugh <twaugh@redhat.com> - 3.15.2-7
|
||||||
|
Loading…
Reference in New Issue
Block a user