Hello community, here is the log from the commit of package libevt for openSUSE:Factory checked in at 2020-05-06 11:05:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libevt (Old) and /work/SRC/openSUSE:Factory/.libevt.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libevt" Wed May 6 11:05:22 2020 rev:13 rq:800521 version:0~20191221 Changes: -------- --- /work/SRC/openSUSE:Factory/libevt/libevt.changes 2020-04-07 10:31:23.850504528 +0200 +++ /work/SRC/openSUSE:Factory/.libevt.new.2738/libevt.changes 2020-05-06 11:05:25.091410907 +0200 @@ -1,0 +2,6 @@ +Tue May 5 11:07:37 UTC 2020 - Dominique Leuenberger <[email protected]> + +- Allow distros to disable py2 support (bcond_without). Tumbleweed + declares this, as py2 is EOL. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libevt.spec ++++++ --- /var/tmp/diff_new_pack.yVnuol/_old 2020-05-06 11:05:26.395413706 +0200 +++ /var/tmp/diff_new_pack.yVnuol/_new 2020-05-06 11:05:26.399413715 +0200 @@ -16,6 +16,7 @@ # +%bcond_without python2 Name: libevt %define lname libevt1 %define timestamp 20191221 @@ -28,7 +29,9 @@ Source: https://github.com/libyal/libevt/releases/download/%timestamp/%name-alpha-%timestamp.tar.gz Source2: Windows_Event_Log_EVT.pdf BuildRequires: pkg-config +%if %{with python2} BuildRequires: python-devel +%endif BuildRequires: pkgconfig(libbfio) >= 20120426 BuildRequires: pkgconfig(libcdata) >= 20120425 BuildRequires: pkgconfig(libcdirectory) >= 20120423 @@ -122,7 +125,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 @@ -153,11 +162,13 @@ %_libdir/pkgconfig/libevt.pc %_mandir/man3/libevt.3* +%if %{with python2} %files -n python2-%name %defattr(-,root,root) %doc AUTHORS ChangeLog README %license COPYING %python2_sitearch/pyevt.so +%endif %files -n python3-%name %defattr(-,root,root)
