You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2018/08/28 16:35:35 UTC

[arrow] branch master updated: ARROW-3129: [Packaging] Stop to use deprecated BuildRoot and Group in .spec

This is an automated email from the ASF dual-hosted git repository.

wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 3e61e63  ARROW-3129: [Packaging] Stop to use deprecated BuildRoot and Group in .spec
3e61e63 is described below

commit 3e61e639cb1a840133cd60788cb03863d0941b7f
Author: Kouhei Sutou <ko...@clear-code.com>
AuthorDate: Tue Aug 28 12:32:28 2018 -0400

    ARROW-3129: [Packaging] Stop to use deprecated BuildRoot and Group in .spec
    
    https://fedoraproject.org/wiki/Packaging:Guidelines says the
    followings:
    
    >  * The BuildRoot: tag, Group: tag, and %clean section SHOULD NOT be used.
    
    Author: Kouhei Sutou <ko...@clear-code.com>
    
    Closes #2484 from kou/rpm-stop-to-use-deprecated-features and squashes the following commits:
    
    2730e314 <Kouhei Sutou>  Stop to use deprecated features in .spec
---
 dev/tasks/linux-packages/yum/arrow.spec.in | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/dev/tasks/linux-packages/yum/arrow.spec.in b/dev/tasks/linux-packages/yum/arrow.spec.in
index 791c4eb..1b9cd86 100644
--- a/dev/tasks/linux-packages/yum/arrow.spec.in
+++ b/dev/tasks/linux-packages/yum/arrow.spec.in
@@ -27,12 +27,10 @@ Version:	@VERSION@
 Release:	@RELEASE@%{?dist}
 Summary:	Apache Arrow is a data processing library for analysis
 
-Group:		Development/Libraries
 License:	Apache-2.0
 URL:		https://arrow.apache.org/
 Source0:	https://dist.apache.org/repos/dist/release/@PACKAGE@/@PACKAGE@-%{version}/apache-@PACKAGE@-%{version}.tar.gz
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
 BuildRequires:	pkgconfig
 BuildRequires:	gcc-c++
 BuildRequires:	cmake3
@@ -102,7 +100,6 @@ cd -
 
 %package libs
 Summary:	Runtime libraries for Apache Arrow C++
-Group:		System Environment/Libraries
 License:	Apache-2.0
 Requires:	boost-system
 Requires:	boost-filesystem
@@ -119,7 +116,6 @@ This package contains the libraries for Apache Arrow C++.
 
 %package devel
 Summary:	Libraries and header files for Apache Arrow C++
-Group:		Development/Libraries
 License:	Apache-2.0
 Requires:	%{name}-libs = %{version}-%{release}
 
@@ -139,7 +135,6 @@ Libraries and header files for Apache Arrow C++.
 %if %{use_python}
 %package python-libs
 Summary:	Apache Arrow CPython extensions
-Group:		System Environment/Libraries
 License:	Apache-2.0
 Requires:	arrow-libs = %{version}-%{release}
 Requires:	python34-numpy
@@ -154,7 +149,6 @@ This package contains the Apache Arrow CPython extensions.
 
 %package python-devel
 Summary:	Libraries and header files for Apache Arrow CPython extensions
-Group:		Development/Libraries
 License:	Apache-2.0
 Requires:	arrow-devel = %{version}-%{release}
 Requires:	%{name}-libs = %{version}-%{release}
@@ -174,7 +168,6 @@ Libraries and header files for Apache Arrow CPython extensions.
 %if %{use_glib}
 %package glib-libs
 Summary:	Runtime libraries for Apache Arrow GLib
-Group:		System Environment/Libraries
 License:	Apache-2.0
 Requires:	arrow-libs = %{version}-%{release}
 Requires:	glib2
@@ -190,7 +183,6 @@ This package contains the libraries for Apache Arrow GLib.
 
 %package glib-devel
 Summary:	Libraries and header files for Apache Arrow GLib
-Group:		Development/Libraries
 License:	Apache-2.0
 Requires:	arrow-devel = %{version}-%{release}
 Requires:	%{name}-libs = %{version}-%{release}
@@ -213,7 +205,6 @@ Libraries and header files for Apache Arrow GLib.
 
 %package glib-doc
 Summary:	Documentation for Apache Arrow GLib
-Group:		Documentation
 License:	Apache-2.0
 Requires:	arrow-devel = %{version}-%{release}
 Requires:	%{name}-libs = %{version}-%{release}