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.
This commit is contained in:
Josh Stone 2012-11-19 12:36:15 -08:00
parent 731bcf1777
commit 605a2810c3
4 changed files with 21 additions and 47 deletions

6
.gitignore vendored
View File

@ -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

View File

@ -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;

View File

@ -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 <jistone@redhat.com> 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 <jistone@redhat.com> 7.99.2-0.29
- Rebase to git e99d7070bbc39c76d6d528db530046c22681c17e

View File

@ -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