SHA256
1
0
forked from pool/libvhdi

Accepting request 799063 from security:forensics

- remove python2 submodule

OBS-URL: https://build.opensuse.org/request/show/799063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvhdi?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2020-05-01 09:12:15 +00:00 committed by Git OBS Bridge
commit 4a3c528c2b
2 changed files with 6 additions and 20 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 30 02:06:50 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
- remove python2 submodule
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 17 20:30:37 UTC 2019 - Greg Freemyer <Greg.Freemyer@gmail.com> Wed Apr 17 20:30:37 UTC 2019 - Greg Freemyer <Greg.Freemyer@gmail.com>

View File

@ -98,19 +98,6 @@ libvhdi is a library to access the Virtual Hard Disk (VHD) image format. see li
This subpackage contains libraries and header files for developing This subpackage contains libraries and header files for developing
applications that want to make use of libvhdi. applications that want to make use of libvhdi.
%package -n python2-%{name}
Summary: Python 2 bindings for libvhdi, a VHD image format parser
License: LGPL-3.0-or-later
Group: Development/Languages/Python
Requires: %{lname} = %{version}
Requires: python
Obsoletes: python-%{name}
%description -n python2-%{name}
libvhdi is a library to access Virtual Hard Disk (VHD) image format. See libvhdi for details.
This package contains Python 2 bindings for libvhdi.
%package -n python3-%{name} %package -n python3-%{name}
Summary: Python 3 bindings for libvhdi, a VHD image format parser Summary: Python 3 bindings for libvhdi, a VHD image format parser
License: LGPL-3.0-or-later License: LGPL-3.0-or-later
@ -129,7 +116,7 @@ This package contains Python 3 bindings for libvhdi.
cp "%{SOURCE2}" . cp "%{SOURCE2}" .
%build %build
%configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3 %configure --disable-static --enable-wide-character-type --enable-python3
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -164,12 +151,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/pkgconfig/libvhdi.pc %{_libdir}/pkgconfig/libvhdi.pc
%{_mandir}/man3/libvhdi.3* %{_mandir}/man3/libvhdi.3*
%files -n python2-%{name}
%defattr(-,root,root)
%doc AUTHORS README ChangeLog
%license COPYING
%{python_sitearch}/pyvhdi.so
%files -n python3-%{name} %files -n python3-%{name}
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS README ChangeLog %doc AUTHORS README ChangeLog