Rebased to version 1.3.3
This commit is contained in:
parent
b4255a3226
commit
e7face96c3
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
Summary: The libvirt virtualization API python2 binding
|
Summary: The libvirt virtualization API python2 binding
|
||||||
Name: libvirt-python
|
Name: libvirt-python
|
||||||
Version: 1.3.2
|
Version: 1.3.3
|
||||||
Release: 2%{?dist}%{?extra_release}
|
Release: 1%{?dist}%{?extra_release}
|
||||||
Source0: http://libvirt.org/sources/python/%{name}-%{version}.tar.gz
|
Source0: http://libvirt.org/sources/python/%{name}-%{version}.tar.gz
|
||||||
Url: http://libvirt.org
|
Url: http://libvirt.org
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -55,8 +55,6 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
|||||||
CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
|
CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
find examples -type f -exec chmod 0644 \{\} \;
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__python} setup.py install --skip-build --root=%{buildroot}
|
%{__python} setup.py install --skip-build --root=%{buildroot}
|
||||||
%if %{with_python3}
|
%if %{with_python3}
|
||||||
@ -64,7 +62,6 @@ find examples -type f -exec chmod 0644 \{\} \;
|
|||||||
%endif
|
%endif
|
||||||
rm -f %{buildroot}%{_libdir}/python*/site-packages/*egg-info
|
rm -f %{buildroot}%{_libdir}/python*/site-packages/*egg-info
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python} setup.py test
|
%{__python} setup.py test
|
||||||
%if %{with_python3}
|
%if %{with_python3}
|
||||||
@ -93,6 +90,9 @@ rm -f %{buildroot}%{_libdir}/python*/site-packages/*egg-info
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 07 2016 Cole Robinson <crobinso@redhat.com> - 1.3.3-1
|
||||||
|
- Rebased to version 1.3.3
|
||||||
|
|
||||||
* Tue Mar 1 2016 Daniel P. Berrange <berrange@redhat.com> - 1.3.2-2
|
* Tue Mar 1 2016 Daniel P. Berrange <berrange@redhat.com> - 1.3.2-2
|
||||||
- Ensure we build against new enough libvirt
|
- Ensure we build against new enough libvirt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user