[libvirt] [PATCH python] spec: Remove Group: and %defattr

Cole Robinson crobinso at redhat.com
Tue Jul 10 13:50:42 UTC 2018


These are only needed for RHEL5 builds, which are no longer supported

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/CMCUBB4SWS3URHTRRS3OPFM4HF5CGKBW/
https://fedoraproject.org/wiki/RPMGroups
Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 libvirt-python.spec.in | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/libvirt-python.spec.in b/libvirt-python.spec.in
index 9697ea8..f3940cc 100644
--- a/libvirt-python.spec.in
+++ b/libvirt-python.spec.in
@@ -38,7 +38,6 @@ Release: 1%{?dist}%{?extra_release}
 Source0: http://libvirt.org/sources/python/%{name}-%{version}.tar.gz
 Url: http://libvirt.org
 License: LGPLv2+
-Group: Development/Libraries
 BuildRequires: libvirt-devel == %{version}
 %if %{with_python2}
 %if %{py2_versioned_deps}
@@ -77,7 +76,6 @@ of recent versions of Linux (and other OSes).
 Summary: The libvirt virtualization API python2 binding
 Url: http://libvirt.org
 License: LGPLv2+
-Group: Development/Libraries
 %{?python_provide:%python_provide python2-libvirt}
 Provides: libvirt-python = %{version}-%{release}
 Obsoletes: libvirt-python <= 3.6.0-1%{?dist}
@@ -94,7 +92,6 @@ of recent versions of Linux (and other OSes).
 Summary: The libvirt virtualization API python3 binding
 Url: http://libvirt.org
 License: LGPLv2+
-Group: Development/Libraries
 %{?python_provide:%python_provide python3-libvirt}
 Provides: libvirt-python3 = %{version}-%{release}
 Obsoletes: libvirt-python3 <= 3.6.0-1%{?dist}
@@ -145,7 +142,6 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
 
 %if %{with_python2}
 %files -n python2-libvirt
-%defattr(-,root,root)
 %doc ChangeLog AUTHORS NEWS README COPYING COPYING.LESSER examples/
 %{python_sitearch}/libvirt.py*
 %{python_sitearch}/libvirt_qemu.py*
@@ -156,7 +152,6 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
 
 %if %{with_python3}
 %files -n python3-libvirt
-%defattr(-,root,root)
 %doc ChangeLog AUTHORS NEWS README COPYING COPYING.LESSER examples/
 %{python3_sitearch}/libvirt.py*
 %{python3_sitearch}/libvirtaio.py*
-- 
2.17.1




More information about the libvir-list mailing list