Hello community, here is the log from the commit of package liblnk for openSUSE:Factory checked in at 2020-05-06 11:05:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/liblnk (Old) and /work/SRC/openSUSE:Factory/.liblnk.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "liblnk" Wed May 6 11:05:29 2020 rev:14 rq:800522 version:0~20191221 Changes: -------- --- /work/SRC/openSUSE:Factory/liblnk/liblnk.changes 2020-04-09 23:15:12.946236210 +0200 +++ /work/SRC/openSUSE:Factory/.liblnk.new.2738/liblnk.changes 2020-05-06 11:05:33.039427967 +0200 @@ -1,0 +2,6 @@ +Tue May 5 11:17:04 UTC 2020 - Dominique Leuenberger <[email protected]> + +- Allow distros to disable python2 builds (bcond_without python2): + Tumbleweed already declares this, as python2 is EOL. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ liblnk.spec ++++++ --- /var/tmp/diff_new_pack.PrLAr4/_old 2020-05-06 11:05:34.455431007 +0200 +++ /var/tmp/diff_new_pack.PrLAr4/_new 2020-05-06 11:05:34.459431015 +0200 @@ -16,6 +16,7 @@ # +%bcond_without python2 Name: liblnk %define lname liblnk1 %define timestamp 20191221 @@ -102,7 +103,13 @@ cp "%SOURCE2" . %build -%configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3 +%configure \ + --disable-static \ + --enable-wide-character-type \ +%if %{with python2} + --enable-python2 \ +%endif + --enable-python3 make %{?_smp_mflags} %install @@ -132,11 +139,13 @@ %_libdir/pkgconfig/liblnk.pc %_mandir/man3/liblnk.3* +%if %{with python2} %files -n python2-%name %defattr(-,root,root) %doc AUTHORS README %license COPYING %python2_sitearch/pylnk.so +%endif %files -n python3-%name %defattr(-,root,root)
