diff mbox series

[python] spec: Remove Group: and %defattr

Message ID feb24852840ab9439b3683ebaff7bd4e54249a9c.1531230636.git.crobinso@redhat.com
State New
Headers show
Series [python] spec: Remove Group: and %defattr | expand

Commit Message

Cole Robinson July 10, 2018, 1:50 p.m. UTC
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@redhat.com>

---
 libvirt-python.spec.in | 5 -----
 1 file changed, 5 deletions(-)

-- 
2.17.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Comments

Michal Prívozník July 10, 2018, 2:43 p.m. UTC | #1
On 07/10/2018 03:50 PM, Cole Robinson wrote:
> 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@redhat.com>

> ---

>  libvirt-python.spec.in | 5 -----

>  1 file changed, 5 deletions(-)

> 


ACK

Michal

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
diff mbox series

Patch

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*