forked from pool/libqcow
Accepting request 802298 from security:forensics
- remove python2 subpackage. Python2 is no longer in factory. OBS-URL: https://build.opensuse.org/request/show/802298 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqcow?expand=0&rev=9
This commit is contained in:
commit
76054eec8e
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 9 18:58:13 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
||||||
|
|
||||||
|
- remove python2 subpackage. Python2 is no longer in factory.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jun 2 19:15:36 UTC 2019 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
Sun Jun 2 19:15:36 UTC 2019 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
||||||
|
|
||||||
|
21
libqcow.spec
21
libqcow.spec
@ -126,19 +126,6 @@ libqcow is a library to access the QEMU Copy-On-Write (QCOW) image format.
|
|||||||
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 libqcow.
|
applications that want to make use of libqcow.
|
||||||
|
|
||||||
%package -n python2-%{name}
|
|
||||||
Summary: Python 2 bindings for libqcow
|
|
||||||
License: LGPL-3.0-or-later
|
|
||||||
Group: Development/Languages/Python
|
|
||||||
Requires: python
|
|
||||||
BuildRequires: pkgconfig(python2)
|
|
||||||
Requires: %{lname} = %{version}
|
|
||||||
Provides: python-%{name} = %{version}
|
|
||||||
Obsoletes: python-%{name} < %{version}
|
|
||||||
|
|
||||||
%description -n python2-%{name}
|
|
||||||
Python 2 bindings for libqcow, which can access the QEMU Copy-On-Write (QCOW) image format
|
|
||||||
|
|
||||||
%package -n python3-%{name}
|
%package -n python3-%{name}
|
||||||
Summary: Python 3 bindings for libqcow
|
Summary: Python 3 bindings for libqcow
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
@ -155,7 +142,7 @@ Python 3 bindings for libqcow, which can access the QEMU Copy-On-Write (QCOW) im
|
|||||||
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
|
||||||
@ -190,12 +177,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%{_libdir}/pkgconfig/libqcow.pc
|
%{_libdir}/pkgconfig/libqcow.pc
|
||||||
%{_mandir}/man3/libqcow.3*
|
%{_mandir}/man3/libqcow.3*
|
||||||
|
|
||||||
%files -n python2-%{name}
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS README ChangeLog
|
|
||||||
%license COPYING
|
|
||||||
%{python_sitearch}/pyqcow.so
|
|
||||||
|
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS README ChangeLog
|
%doc AUTHORS README ChangeLog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user