Architecture specific change in rpms/bcc.git
by githook-noreply@fedoraproject.org
The package rpms/bcc.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/bcc.git/commit/?id=72619e09959bbb....
Change:
+ExclusiveArch: x86_64
Thanks.
Full change:
============
commit 72619e09959bbb223382fb86495ed190cc9a042d
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Wed Nov 1 07:49:45 2017 +0100
use spaces consistently
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/bcc.spec b/bcc.spec
index dab8672..7cab921 100644
--- a/bcc.spec
+++ b/bcc.spec
@@ -1,23 +1,23 @@
-Name: bcc
-Version: 0.3.0
-Release: 4%{?dist}
-Summary: BPF Compiler Collection (BCC)
-License: ASL 2.0
-URL: https://github.com/iovisor/bcc
-Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+Name: bcc
+Version: 0.3.0
+Release: 4%{?dist}
+Summary: BPF Compiler Collection (BCC)
+License: ASL 2.0
+URL: https://github.com/iovisor/bcc
+Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# Arches will be included as upstream support is added and dependencies are
# satisfied in the respective arches
-ExclusiveArch: x86_64
+ExclusiveArch: x86_64
-BuildRequires: bison, cmake >= 2.8.7, flex, libxml2-devel
-BuildRequires: python3-devel
-BuildRequires: elfutils-libelf-devel-static
-BuildRequires: llvm-devel llvm-static clang-devel
-BuildRequires: ncurses-devel
-BuildRequires: pkgconfig(luajit)
+BuildRequires: bison, cmake >= 2.8.7, flex, libxml2-devel
+BuildRequires: python3-devel
+BuildRequires: elfutils-libelf-devel-static
+BuildRequires: llvm-devel llvm-static clang-devel
+BuildRequires: ncurses-devel
+BuildRequires: pkgconfig(luajit)
-Requires: %{name}-tools = %{version}-%{release}
+Requires: %{name}-tools = %{version}-%{release}
%description
BCC is a toolkit for creating efficient kernel tracing and manipulation
@@ -30,8 +30,8 @@ performance analysis and network traffic control.
%package devel
-Summary: Shared library for BPF Compiler Collection (BCC)
-Requires: %{name}%{?_isa} = %{version}-%{release}
+Summary: Shared library for BPF Compiler Collection (BCC)
+Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for developing
@@ -39,18 +39,18 @@ application that use BPF Compiler Collection (BCC).
%package doc
-Summary: Examples for BPF Compiler Collection (BCC)
-Requires: python3-%{name} = %{version}-%{release}
-Requires: %{name}-lua = %{version}-%{release}
-BuildArch: noarch
+Summary: Examples for BPF Compiler Collection (BCC)
+Requires: python3-%{name} = %{version}-%{release}
+Requires: %{name}-lua = %{version}-%{release}
+BuildArch: noarch
%description doc
Examples for BPF Compiler Collection (BCC)
%package -n python3-%{name}
-Summary: Python3 bindings for BPF Compiler Collection (BCC)
-Requires: %{name}%{?_isa} = %{version}-%{release}
+Summary: Python3 bindings for BPF Compiler Collection (BCC)
+Requires: %{name}%{?_isa} = %{version}-%{release}
%{?python_provide:%python_provide python3-%{srcname}}
%description -n python3-%{name}
@@ -58,18 +58,18 @@ Python3 bindings for BPF Compiler Collection (BCC)
%package lua
-Summary: Standalone tool to run BCC tracers written in Lua
-Requires: %{name}%{?_isa} = %{version}-%{release}
+Summary: Standalone tool to run BCC tracers written in Lua
+Requires: %{name}%{?_isa} = %{version}-%{release}
%description lua
Standalone tool to run BCC tracers written in Lua
%package tools
-Summary: Command line tools for BPF Compiler Collection (BCC)
-Requires: python3-%{name} = %{version}-%{release}
-Requires: python3-netaddr
-BuildArch: noarch
+Summary: Command line tools for BPF Compiler Collection (BCC)
+Requires: python3-%{name} = %{version}-%{release}
+Requires: python3-netaddr
+BuildArch: noarch
%description tools
Command line tools for BPF Compiler Collection (BCC)
@@ -81,8 +81,8 @@ Command line tools for BPF Compiler Collection (BCC)
%build
%cmake . -DREVISION_LAST=%{version} -DREVISION=%{version} -DPYTHON_CMD=python3 \
- -DLUAJIT_INCLUDE_DIR=`pkg-config --variable=includedir luajit` \
- -DLUAJIT_LIBRARIES=`pkg-config --variable=libdir luajit`/lib`pkg-config --variable=libname luajit`.so
+ -DLUAJIT_INCLUDE_DIR=`pkg-config --variable=includedir luajit` \
+ -DLUAJIT_LIBRARIES=`pkg-config --variable=libdir luajit`/lib`pkg-config --variable=libname luajit`.so
%make_build
@@ -91,17 +91,17 @@ Command line tools for BPF Compiler Collection (BCC)
# Fix python shebangs
for i in `find %{buildroot}/usr/share/%{name}/tools/ -type f`; do
- sed -i 's/\/usr\/bin\/env python\>/\/usr\/bin\/python3/' $i
- sed -i 's/\/usr\/bin\/python\>/&3/' $i
+ sed -i 's/\/usr\/bin\/env python\>/\/usr\/bin\/python3/' $i
+ sed -i 's/\/usr\/bin\/python\>/&3/' $i
done
# Examples in /usr/share shouldn't contain binaries according to FHS
rm -rf %{buildroot}/usr/share/%{name}/examples/cpp
for i in `find %{buildroot}/usr/share/%{name}/examples/ -type f`; do
- sed -i 's/\/usr\/bin\/env python\>/\/usr\/bin\/python3/' $i
- sed -i 's/\/usr\/bin\/python\>/&3/' $i
- sed -i 's/\/usr\/bin\/env bcc-lua\>/\/usr\/bin\/bcc-lua/' $i
- chmod -x $i
+ sed -i 's/\/usr\/bin\/env python\>/\/usr\/bin\/python3/' $i
+ sed -i 's/\/usr\/bin\/python\>/&3/' $i
+ sed -i 's/\/usr\/bin\/env bcc-lua\>/\/usr\/bin\/bcc-lua/' $i
+ chmod -x $i
done
# Compress man pages
5 years, 11 months