Update to upstream 2.6

This commit is contained in:
Jon Stanley 2016-08-18 00:39:34 -04:00
parent 29cb4fcf73
commit 4440f91807
4 changed files with 27 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/trace-cmd-1.2.20120606git8266dff.tar.gz
/trace-cmd-2.1.0.tar.gz
/trace-cmd-2.2.1.tar.gz
/trace-cmd-2.6.tar.gz

View File

@ -1 +1,2 @@
19d5516fe013127e5f26c1aecf2eddd0 trace-cmd-2.2.1.tar.gz
ae703bbfa2459f01874f3b2e26a26651 trace-cmd-2.6.tar.gz

View File

@ -0,0 +1,17 @@
diff -up ./Makefile.orig ./Makefile
--- ./Makefile.orig 2016-08-18 00:26:57.580940826 -0400
+++ ./Makefile 2016-08-18 00:29:51.594273746 -0400
@@ -31,6 +31,13 @@ $(call allow-override,AR,$(CROSS_COMPILE
EXT = -std=gnu99
INSTALL = install
+# figure out what arch we are on and install to the right place
+ARCH = $(shell getconf LONG_BIT)
+LIBDIR_32 = lib
+LIBDIR_64 = lib64
+libdir=$(LIBDIR_$(ARCH))
+
+
# Use DESTDIR for installing into a different root directory.
# This is useful for building a package. The program will be
# installed in this directory as if it was the root directory.

View File

@ -3,8 +3,8 @@
%global git_commit trace-cmd-v2.2.1
Name: trace-cmd
Version: 2.2.1
Release: 7%{?dist}
Version: 2.6
Release: 1%{?dist}
License: GPLv2 and LGPLv2
Summary: A user interface to Ftrace
@ -17,7 +17,7 @@ URL: http://git.kernel.org/?p=linux/kernel/git/rostedt/trace-cmd.git;a=summary
# git archive --prefix=trace-cmd-%%{version}/ -o trace-cmd-%%{version}.tar.gz %%{git_commit}
Source0: trace-cmd-%{version}.tar.gz
Source1: kernelshark.desktop
Patch1: trace-cmd-2.1.0-plugin-dir.patch
Patch1: trace-cmd-2.6-libdir.patch
BuildRequires: xmlto
BuildRequires: asciidoc
@ -76,6 +76,11 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/kernelshark.desktop
%changelog
* Thu Aug 18 2016 Jon Stanley <jonstanley@gmail.com> - 2.6-1
- Upgrade to uptream 2.6
- Rebase distro patch
- Resolves: rhbz#1365951
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild