From adfeb4f6ae74982d30d39a2f8f7be2bfce61c240 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Mon, 23 Mar 2015 22:56:36 +0000 Subject: [PATCH] Build and install the Python2 cupsext module as well. --- hplip.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/hplip.spec b/hplip.spec index 06310c0..e5448e6 100644 --- a/hplip.spec +++ b/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 - 3.15.2-8 +* Mon Mar 23 2015 Jiri Popelka - 3.15.2-9 - Build and ship also Python 2 modules for hp-plugin (bug #1196237). * Fri Mar 20 2015 Tim Waugh - 3.15.2-7