Compare commits
12 Commits
Author | SHA1 | Date |
---|---|---|
|
6323666643 | |
|
c193901556 | |
|
9ef780f5d2 | |
|
250a6a479f | |
|
6698c856fe | |
|
26093e7584 | |
|
850797cbdb | |
|
f9370ddb7c | |
|
db2876265f | |
|
7f612515b8 | |
|
42ed88a006 | |
|
a75fedab46 |
|
@ -1 +0,0 @@
|
||||||
libunwind-snap-070224.tar.gz
|
|
|
@ -0,0 +1 @@
|
||||||
|
libunwind-20090430betagit4b8404d1.tar.bz2
|
6
Makefile
6
Makefile
|
@ -1,6 +0,0 @@
|
||||||
# Makefile for source rpm: libunwind
|
|
||||||
# $Id$
|
|
||||||
NAME := libunwind
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
include ../common/Makefile.common
|
|
|
@ -1,49 +0,0 @@
|
||||||
#! /usr/bin/perl
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
use strict;
|
|
||||||
use warnings;
|
|
||||||
|
|
||||||
|
|
||||||
sub readfile($)
|
|
||||||
{
|
|
||||||
my($filename)=@_;
|
|
||||||
|
|
||||||
local *F;
|
|
||||||
open F,$filename or die "open \"$filename\": $!";
|
|
||||||
my $F=do { local $/; <F>; } or die "read \"$filename\": $!";
|
|
||||||
close F or die "close \"$filename\": $!";
|
|
||||||
return $F;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub writefile($$)
|
|
||||||
{
|
|
||||||
my($filename,$content)=@_;
|
|
||||||
|
|
||||||
local *F;
|
|
||||||
open F,">".$filename or die "create \"$filename\": $!";
|
|
||||||
print F $content or die "write \"$filename\": $!";
|
|
||||||
close F or die "close \"$filename\": $!";
|
|
||||||
}
|
|
||||||
|
|
||||||
my $spec=readfile "./libunwind.spec";
|
|
||||||
|
|
||||||
sub define_get($)
|
|
||||||
{
|
|
||||||
my($name)=@_;
|
|
||||||
|
|
||||||
my $r=($spec=~/^[%]define\s+\Q$name\E\s+(\S+)\s*$/m)[0] or die $name;
|
|
||||||
return $r;
|
|
||||||
}
|
|
||||||
|
|
||||||
my $frysksnap=define_get "frysksnap";
|
|
||||||
my $upstreamsnap=define_get "upstreamsnap";
|
|
||||||
|
|
||||||
my $patch="./libunwind-snap-${upstreamsnap}-frysk${frysksnap}.patch";
|
|
||||||
die $patch if !-e $patch;
|
|
||||||
|
|
||||||
my $content=readfile 'cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/frysk'." rdiff -ko -r libunwind-20$upstreamsnap -r libunwind-0_99-0_1_frysk$frysksnap -u frysk-imports/libunwind|";
|
|
||||||
1 while $content=~s{^([^-+].*|--- |\Q+++\E )frysk-imports/(libunwind/)}{$1$2}mg;
|
|
||||||
writefile $patch,$content;
|
|
||||||
|
|
||||||
print "OK\n";
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,26 +1,27 @@
|
||||||
|
# rpmbuild parameters:
|
||||||
|
# --without check: Do not run the testsuite. Default is to run it.
|
||||||
|
|
||||||
# Define this if you want to skip the strip step and preserve debug info.
|
# Define this if you want to skip the strip step and preserve debug info.
|
||||||
# Useful for testing.
|
# Useful for testing.
|
||||||
#define __debug_install_post : > %{_builddir}/%{?buildsubdir}/debugfiles.list
|
#define __debug_install_post : > %{_builddir}/%{?buildsubdir}/debugfiles.list
|
||||||
|
|
||||||
Summary: An unwinding library
|
Summary: An unwinding library
|
||||||
Name: libunwind
|
Name: libunwind
|
||||||
# Latest libunwind release.
|
|
||||||
Version: 0.99
|
Version: 0.99
|
||||||
%define frysksnap 20070405cvs
|
%define snapshot 20090430betagit4b8404d1
|
||||||
%define upstreamsnap 070224
|
Release: 0.10.%{snapshot}%{?dist}
|
||||||
Release: 0.2.frysk%{frysksnap}%{?dist}
|
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/Debuggers
|
Group: Development/Debuggers
|
||||||
Source: http://download.savannah.nongnu.org/releases/libunwind/libunwind-snap-%{upstreamsnap}.tar.gz
|
Source: libunwind-%{snapshot}.tar.bz2
|
||||||
Patch1: libunwind-snap-%{upstreamsnap}-frysk%{frysksnap}.patch
|
|
||||||
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
||||||
URL: http://savannah.nongnu.org/projects/libunwind
|
URL: http://savannah.nongnu.org/projects/libunwind
|
||||||
ExclusiveArch: ia64 x86_64 i386 ppc64
|
ExclusiveArch: arm hppa ia64 mips ppc ppc64 %{ix86} x86_64
|
||||||
|
|
||||||
BuildRequires: glibc gcc make tar gzip
|
|
||||||
BuildRequires: automake libtool autoconf
|
BuildRequires: automake libtool autoconf
|
||||||
Conflicts: gdb < 6.6-9
|
Conflicts: gdb < 6.6-9
|
||||||
|
|
||||||
|
# host != target would cause REMOTE_ONLY build even if building i386 on x86_64.
|
||||||
|
%define _host %{_target_platform}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libunwind provides a C ABI to determine the call-chain of a program.
|
Libunwind provides a C ABI to determine the call-chain of a program.
|
||||||
This version of libunwind is targetted for the ia64 platform.
|
This version of libunwind is targetted for the ia64 platform.
|
||||||
|
@ -34,17 +35,11 @@ The libunwind-devel package includes the libraries and header files for
|
||||||
libunwind.
|
libunwind.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}-alpha
|
%setup -q -n libunwind-%{snapshot}
|
||||||
|
|
||||||
%patch1 -p1 -E
|
|
||||||
# New files from Patch1:
|
|
||||||
chmod +x tests/run-ptrace-stepper
|
|
||||||
chmod +x tests/run-ptrace-signull
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p config
|
|
||||||
aclocal
|
aclocal
|
||||||
libtoolize
|
libtoolize --force
|
||||||
autoheader
|
autoheader
|
||||||
automake --add-missing
|
automake --add-missing
|
||||||
autoconf
|
autoconf
|
||||||
|
@ -53,10 +48,16 @@ make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/libunwind*.la
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/libunwind*.{la,a}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if 0%{?_with_check:1} || 0%{?_with_testsuite:1}
|
||||||
|
echo ====================TESTING=========================
|
||||||
make check || true
|
make check || true
|
||||||
|
echo ====================TESTING END=====================
|
||||||
|
%else
|
||||||
|
echo ====================TESTSUITE DISABLED=========================
|
||||||
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
@ -74,9 +75,45 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libunwind*.so
|
%{_libdir}/libunwind*.so
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%{_includedir}/*
|
# <unwind.h> does not get installed for REMOTE_ONLY targets - check it.
|
||||||
|
%{_includedir}/unwind.h
|
||||||
|
%{_includedir}/libunwind*.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 30 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.10.20090430betagit4b8404d1
|
||||||
|
- Fix the ia64 variant of GetIPInfo() (BZ 480412).
|
||||||
|
|
||||||
|
* Mon Apr 13 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.9.20090413betagitb483ea3f
|
||||||
|
- Rebase the package on the upstream variant: http://www.nongnu.org/libunwind/
|
||||||
|
- Drop the patch libunwind-snap-070224-frysk20070405cvs.patch
|
||||||
|
as even frysk-0.4-8.fc11 still has this library bundled statically.
|
||||||
|
- Disable the testsuite by default during the build.
|
||||||
|
- It should be run separately as it crashes some ia64 kernels.
|
||||||
|
- Drop the patch libunwind-snap-070224-orphanripper.patch.
|
||||||
|
- Drop the patch libunwind-snap-070224-dprintf-vs-stdio.h as no longer needed.
|
||||||
|
- Drop libunwind-snap-070224-multilib-rh342451.patch as accepted upstream.
|
||||||
|
- Fix and enable ppc (ppc32) arch.
|
||||||
|
|
||||||
|
* Tue Mar 3 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.8.frysk20070405cvs
|
||||||
|
- Fix .spec ExclusiveArch from i386 to %%{ix86}.
|
||||||
|
- Remove `BuildRequires: glibc gcc make tar gzip' - minimum build environment.
|
||||||
|
|
||||||
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99-0.7.frysk20070405cvs
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Sep 22 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.6.frysk20070405cvs
|
||||||
|
- Fix build error due to a `dprintf' conflict on recent glibc.
|
||||||
|
- New rpmbuild parameter: --without check
|
||||||
|
|
||||||
|
* Sun Feb 24 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.5.frysk20070405cvs
|
||||||
|
- Fix the multilib conflicts (BZ 342451).
|
||||||
|
|
||||||
|
* Sun Feb 24 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.4.frysk20070405cvs
|
||||||
|
- Abort the possibly hung up testcases after 120 seconds (BZ 427850, BZ 434147).
|
||||||
|
|
||||||
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.99-0.3.frysk20070405cvs
|
||||||
|
- Autorebuild for GCC 4.3
|
||||||
|
|
||||||
* Sun Apr 22 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.2.frysk20070405cvs
|
* Sun Apr 22 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.2.frysk20070405cvs
|
||||||
- Require conflict with gdb < gdb-6.6-9 as it would not find `libunwind.so'.
|
- Require conflict with gdb < gdb-6.6-9 as it would not find `libunwind.so'.
|
||||||
- Fixed (unused - commented) rule for a RPM build with embedded debug info.
|
- Fixed (unused - commented) rule for a RPM build with embedded debug info.
|
||||||
|
|
Loading…
Reference in New Issue