From 17c3f89c8852423c7f951ea653f9d3b83d15c866 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sun, 6 Dec 2015 19:58:47 +0100 Subject: [PATCH] - up to 2.6 --- trace-cmd-build.patch | 11 ----------- trace-cmd.spec | 8 +++----- 2 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 trace-cmd-build.patch diff --git a/trace-cmd-build.patch b/trace-cmd-build.patch deleted file mode 100644 index 7d77177..0000000 --- a/trace-cmd-build.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- trace-cmd-2.4/trace-record.c~ 2014-06-16 20:32:43.000000000 +0200 -+++ trace-cmd-2.4/trace-record.c 2014-09-05 15:16:46.697132020 +0200 -@@ -1995,7 +1995,7 @@ - { - int fd; - -- fd = open(file, O_WRONLY | O_CREAT | O_TRUNC); -+ fd = open(file, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); - if (fd < 0) - die("could not create file %s\n", file); - close(fd); diff --git a/trace-cmd.spec b/trace-cmd.spec index d3a1431..c2b9d91 100644 --- a/trace-cmd.spec +++ b/trace-cmd.spec @@ -3,16 +3,15 @@ # Summary: trace-cmd - interacts with Ftrace Linux kernel internal tracer Name: trace-cmd -Version: 2.4 +Version: 2.6 Release: 1 License: GPLv2 and LGPLv2.1 Group: Development/Tools URL: http://git.kernel.org/?p=linux/kernel/git/rostedt/trace-cmd.git;a=summary # git clone git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git -# git archive --prefix=trace-cmd-2.4/ -o trace-cmd-2.4.tar.gz trace-cmd-v2.4 +# git archive --prefix=trace-cmd-2.6/ -o trace-cmd-2.6.tar.gz trace-cmd-v2.6 Source0: %{name}-%{version}.tar.gz -# Source0-md5: 49af232eddd763cc799c346da6902f9c -Patch0: %{name}-build.patch +# Source0-md5: de94b70d910902848e3b73da78a3c361 BuildRequires: asciidoc BuildRequires: docbook-dtd45-xml BuildRequires: docbook-style-xsl @@ -35,7 +34,6 @@ Graphical frontend for trace-cmd. %prep %setup -q -%patch0 -p1 sed -i -e 's#MANPAGE_DOCBOOK_XSL =.*#MANPAGE_DOCBOOK_XSL = /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl#g' Documentation/Makefile sed -i -e 's#$(prefix)/share/trace-cmd/#$(prefix)/%{_lib}/trace-cmd/#g' Makefile -- 2.44.0