From 605a2810c3e2d3b9a1b687f8cfc2884ef2c81dde Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 19 Nov 2012 12:36:15 -0800 Subject: [PATCH] Update to release 8.0. - Updated "%files doc" to reflect renames. - Drop the unused BuildRequires libxml2-devel. - Drop the 7.99.x version-munging patch. --- .gitignore | 6 ++---- dyninst-git.patch | 24 ------------------------ dyninst.spec | 34 +++++++++++++++++----------------- sources | 4 ++-- 4 files changed, 21 insertions(+), 47 deletions(-) delete mode 100644 dyninst-git.patch diff --git a/.gitignore b/.gitignore index fb448ec..bda0952 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,2 @@ -/dyninst-7.99.1.tar.gz -/dyninst-docs-7.99.1.tar.gz -/dyninst-7.99.2.tar.gz -/dyninst-docs-7.99.2.tar.gz +/dyninst-8.0.tar.gz +/dyninst-docs-8.0.tar.gz diff --git a/dyninst-git.patch b/dyninst-git.patch deleted file mode 100644 index c95fa5e..0000000 --- a/dyninst-git.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- dyninst-7.99/dyninst/make.config.git 2012-09-18 10:56:40.000000000 -0700 -+++ dyninst-7.99/dyninst/make.config 2012-09-18 15:14:40.387837651 -0700 -@@ -5,7 +5,7 @@ - # - - SUITE_NAME = Paradyn --RELEASE_NUM = 8.0 -+RELEASE_NUM = 7.99.2 - - ifndef TO_CORE - TO_CORE = ../.. ---- dyninst-7.99/dyninst/dyninstAPI/h/BPatch.h.git 2012-09-18 15:13:36.748990056 -0700 -+++ dyninst-7.99/dyninst/dyninstAPI/h/BPatch.h 2012-09-18 15:14:06.147920976 -0700 -@@ -61,8 +61,8 @@ class func_instance; - #define DYNINST_7_0 - - #define DYNINST_MAJOR 7 --#define DYNINST_MINOR 0 --#define DYNINST_SUBMINOR 0 -+#define DYNINST_MINOR 99 -+#define DYNINST_SUBMINOR 2 - - #ifdef IBM_BPATCH_COMPAT - typedef void *BPatch_Address; diff --git a/dyninst.spec b/dyninst.spec index 3a51a1a..95e90b9 100644 --- a/dyninst.spec +++ b/dyninst.spec @@ -2,9 +2,9 @@ Summary: An API for Run-time Code Generation License: LGPLv2+ Name: dyninst Group: Development/Libraries -Release: 0.29%{?dist} +Release: 1%{?dist} URL: http://www.dyninst.org -Version: 7.99.2 +Version: 8.0 Exclusiveos: linux #Right now dyninst does not know about the following architectures ExcludeArch: s390 s390x %{arm} @@ -12,18 +12,15 @@ ExcludeArch: s390 s390x %{arm} # The source for this package was pulled from upstream's vcs. Use the # following commands to generate the tarball: # git clone http://git.dyninst.org/dyninst.git; cd dyninst -# git archive --format=tar.gz --prefix=dyninst/ e99d7070bbc39c76d6d528db530046c22681c17e > dyninst-7.99.2.tar.gz +# git archive --format=tar.gz --prefix=dyninst/ v8.0 > dyninst-8.0.tar.gz # git clone http://git.dyninst.org/docs.git; cd docs -# git archive --format=tar.gz 7c891b533dadd7c253940c3b460bb64e3cf78979 > dyninst-docs-7.99.2.tar.gz +# git archive --format=tar.gz v8.0 > dyninst-docs-8.0.tar.gz # Verify the commit ids with: -# gunzip -c dyninst-7.99.2.tar.gz | git get-tar-commit-id -# gunzip -c dyninst-docs-7.99.2.tar.gz | git get-tar-commit-id +# gunzip -c dyninst-8.0.tar.gz | git get-tar-commit-id +# gunzip -c dyninst-docs-8.0.tar.gz | git get-tar-commit-id Source0: %{name}-%{version}.tar.gz Source1: %{name}-docs-%{version}.tar.gz -# Change version number so official dyninst 8.0 will replace it -Patch3: dyninst-git.patch Patch5: dyninst-unused_vars.patch -BuildRequires: libxml2-devel >= 2.7.8 BuildRequires: libdwarf-devel >= 20111030 BuildRequires: elfutils-libelf-devel BuildRequires: boost-devel @@ -66,8 +63,6 @@ the dyninst user-space libraries and interfaces. %setup -q -n %{name}-%{version} -c %setup -q -T -D -a 1 -%patch3 -p1 -b .git - pushd dyninst %patch5 -p1 -b .unused popd @@ -117,15 +112,14 @@ chmod 644 %{buildroot}%{_libdir}/dyninst/*.a %files doc %defattr(-,root,root,-) -%doc depGraphAPI.pdf %doc dynC_API.pdf -%doc dyninstProgGuide.pdf -%doc symtabAPI/symtabProgGuide.pdf -%doc instructionProgGuide.pdf -%doc parseapi.pdf +%doc DyninstAPI.pdf +%doc InstructionAPI.pdf +%doc ParseAPI.pdf +%doc PatchAPI.pdf %doc ProcControlAPI.pdf %doc stackwalk/stackwalker.pdf -%doc dynC_API.pdf +%doc SymtabAPI.pdf %files devel %defattr(-,root,root,-) @@ -137,6 +131,12 @@ chmod 644 %{buildroot}%{_libdir}/dyninst/*.a %{_libdir}/dyninst/*.a %changelog +* Mon Nov 19 2012 Josh Stone 8.0-1 +- Update to release 8.0. +- Updated "%files doc" to reflect renames. +- Drop the unused BuildRequires libxml2-devel. +- Drop the 7.99.x version-munging patch. + * Fri Nov 09 2012 Josh Stone 7.99.2-0.29 - Rebase to git e99d7070bbc39c76d6d528db530046c22681c17e diff --git a/sources b/sources index 3d6c927..c55cf34 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -7d0cab7a4624281bc8786f21807361bf dyninst-7.99.2.tar.gz -d1d172b05343a3d51059e1944d333394 dyninst-docs-7.99.2.tar.gz +579ea746504c07f6d330d017f3aae82c dyninst-8.0.tar.gz +22b13ded5c341c647051093b983fb67f dyninst-docs-8.0.tar.gz