|
|
82b9074 |
# rpmbuild parameters:
|
|
|
82b9074 |
# --without check: Do not run the testsuite. Default is to run it.
|
|
|
82b9074 |
|
|
|
6932619 |
Summary: An unwinding library
|
|
cvsdist |
c09494a |
Name: libunwind
|
|
Kyle McMartin |
ef33c9d |
Version: 1.1
|
|
|
841b180 |
Release: 10%{?dist}
|
|
cvsdist |
c09494a |
License: BSD
|
|
cvsdist |
c09494a |
Group: Development/Debuggers
|
|
Jan Kratochvil |
c4c9b1e |
Source: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz
|
|
Jan Kratochvil |
189cf20 |
#Fedora specific patch
|
|
|
3ebb80c |
Patch1: libunwind-disable-setjmp.patch
|
|
Kyle McMartin |
cd37e09 |
Patch2: libunwind-aarch64.patch
|
|
Kyle McMartin |
67d2b33 |
Patch3: libunwind-fix-ppc64_test_altivec.patch
|
|
|
e98c17b |
Patch4: libunwind-arm-default-to-exidx.patch
|
|
|
841b180 |
Patch5: libunwind-1.1-fix-CVE-2015-3239.patch
|
|
|
6932619 |
URL: http://savannah.nongnu.org/projects/libunwind
|
|
Jaromir Capik |
7a28bf3 |
ExclusiveArch: %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64
|
|
cvsdist |
c09494a |
|
|
|
6932619 |
BuildRequires: automake libtool autoconf
|
|
cvsdist |
c09494a |
|
|
|
5568974 |
# host != target would cause REMOTE_ONLY build even if building i386 on x86_64.
|
|
Jan Kratochvil |
189cf20 |
%global _host %{_target_platform}
|
|
|
5568974 |
|
|
cvsdist |
c09494a |
%description
|
|
cvsdist |
c09494a |
Libunwind provides a C ABI to determine the call-chain of a program.
|
|
cvsdist |
c09494a |
|
|
|
6932619 |
%package devel
|
|
|
6932619 |
Summary: Development package for libunwind
|
|
|
6932619 |
Group: Development/Debuggers
|
|
|
21c49f1 |
Requires: libunwind = %{version}-%{release}
|
|
Jan Kratochvil |
189cf20 |
|
|
|
6932619 |
%description devel
|
|
|
6932619 |
The libunwind-devel package includes the libraries and header files for
|
|
|
6932619 |
libunwind.
|
|
|
6932619 |
|
|
cvsdist |
c09494a |
%prep
|
|
Jan Kratochvil |
c4c9b1e |
%setup -q
|
|
|
3ebb80c |
%patch1 -p1
|
|
Kyle McMartin |
cd37e09 |
%patch2 -p1
|
|
Kyle McMartin |
67d2b33 |
%patch3 -p1
|
|
|
e98c17b |
%patch4 -p1 -b .default-to-exidx
|
|
|
841b180 |
%patch5 -p1 -b .CVE-2015-3239
|
|
|
8cfbeef |
|
|
cvsdist |
c09494a |
%build
|
|
|
6932619 |
aclocal
|
|
|
5568974 |
libtoolize --force
|
|
|
6932619 |
autoheader
|
|
|
6932619 |
automake --add-missing
|
|
|
6932619 |
autoconf
|
|
Jan Kratochvil |
170f437 |
%configure --enable-static --enable-shared
|
|
Jan Kratochvil |
189cf20 |
make %{?_smp_mflags}
|
|
cvsdist |
c09494a |
|
|
cvsdist |
c09494a |
%install
|
|
Jan Kratochvil |
189cf20 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
Jan Kratochvil |
189cf20 |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
Jan Kratochvil |
170f437 |
|
|
Jan Kratochvil |
170f437 |
# /usr/include/libunwind-ptrace.h
|
|
Jan Kratochvil |
170f437 |
# [...] aren't really part of the libunwind API. They are implemented in
|
|
Jan Kratochvil |
170f437 |
# a archive library called libunwind-ptrace.a.
|
|
Jan Kratochvil |
170f437 |
mv -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a-save
|
|
Jan Kratochvil |
170f437 |
rm -f $RPM_BUILD_ROOT%{_libdir}/libunwind*.a
|
|
Jan Kratochvil |
170f437 |
mv -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a-save $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a
|
|
Jan Kratochvil |
170f437 |
rm -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace*.so*
|
|
|
6932619 |
|
|
|
6932619 |
%check
|
|
|
5568974 |
%if 0%{?_with_check:1} || 0%{?_with_testsuite:1}
|
|
|
82b9074 |
echo ====================TESTING=========================
|
|
|
6932619 |
make check || true
|
|
|
82b9074 |
echo ====================TESTING END=====================
|
|
|
5568974 |
%else
|
|
|
5568974 |
echo ====================TESTSUITE DISABLED=========================
|
|
|
82b9074 |
%endif
|
|
cvsdist |
c09494a |
|
|
|
6932619 |
%post -p /sbin/ldconfig
|
|
|
6932619 |
|
|
|
6932619 |
%postun -p /sbin/ldconfig
|
|
|
6932619 |
|
|
cvsdist |
c09494a |
%files
|
|
Jan Kratochvil |
189cf20 |
%defattr(-,root,root,-)
|
|
cvsdist |
c09494a |
%doc COPYING README NEWS
|
|
|
6932619 |
%{_libdir}/libunwind*.so.*
|
|
|
6932619 |
|
|
|
6932619 |
%files devel
|
|
Jan Kratochvil |
189cf20 |
%defattr(-,root,root,-)
|
|
|
6932619 |
%{_libdir}/libunwind*.so
|
|
Jan Kratochvil |
170f437 |
%{_libdir}/libunwind-ptrace.a
|
|
Kyle McMartin |
ef33c9d |
%{_libdir}/pkgconfig/libunwind*.pc
|
|
cvsdist |
c09494a |
%{_mandir}/*/*
|
|
|
5568974 |
# <unwind.h> does not get installed for REMOTE_ONLY targets - check it.
|
|
|
5568974 |
%{_includedir}/unwind.h
|
|
|
5568974 |
%{_includedir}/libunwind*.h
|
|
cvsdist |
c09494a |
|
|
cvsdist |
c09494a |
%changelog
|
|
|
841b180 |
* Fri Jul 10 2015 Tom Callaway <spot@fedoraproject.org> - 1.1-10
|
|
|
841b180 |
- fix CVE-2015-3239
|
|
|
841b180 |
|
|
|
3f11b9a |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-9
|
|
|
3f11b9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
3f11b9a |
|
|
|
e98c17b |
* Tue Jun 2 2015 Tom Callaway <spot@fedoraproject.org> - 1.1-8
|
|
|
e98c17b |
- default arm unwinding method to exidx, old default of dwarf never works on Fedora
|
|
|
e98c17b |
(#1226806)
|
|
|
e98c17b |
|
|
|
d31bc18 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-7
|
|
|
d31bc18 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
d31bc18 |
|
|
|
b0c9b69 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
|
|
|
b0c9b69 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
b0c9b69 |
|
|
Jaromir Capik |
7a28bf3 |
* Tue May 13 2014 Jaromir Capik <jcapik@redhat.com> - 1.1-5
|
|
Jaromir Capik |
7a28bf3 |
- Replacing ppc64 with the power64 macro (#1051641)
|
|
Jaromir Capik |
7a28bf3 |
|
|
Kyle McMartin |
67d2b33 |
* Mon Jan 20 2014 Kyle McMartin <kmcmarti@redhat.com> 1.1-4
|
|
Kyle McMartin |
67d2b33 |
- Link test_ppc64_altivec against libunwind in tests/Makefile.am to fix build
|
|
Kyle McMartin |
67d2b33 |
on ppc64.
|
|
Kyle McMartin |
67d2b33 |
|
|
|
d436ef2 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
|
|
|
d436ef2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
d436ef2 |
|
|
Kyle McMartin |
cd37e09 |
* Mon Jun 03 2013 Kyle McMartin <kmcmarti@redhat.com> 1.1-2
|
|
Kyle McMartin |
cd37e09 |
- Add aarch64 support from backported ac6c0a65. (Mark Salter)
|
|
Kyle McMartin |
cd37e09 |
(rhbz#969689)
|
|
Kyle McMartin |
cd37e09 |
|
|
Kyle McMartin |
ef33c9d |
* Mon Feb 18 2013 Kyle McMartin <kmcmarti@redhat.com> 1.1-1
|
|
Kyle McMartin |
ef33c9d |
- Update to upstream v1.1
|
|
Kyle McMartin |
ef33c9d |
- libunwind-install-ptrace.patch: drop upstream patch
|
|
Kyle McMartin |
ef33c9d |
- libunwind-arm-register-rename.patch: fixed upstream
|
|
Kyle McMartin |
ef33c9d |
- Add pkg-config files to libunwind-devel
|
|
Kyle McMartin |
ef33c9d |
|
|
|
d42b74e |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5
|
|
|
d42b74e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
d42b74e |
|
|
|
2501e5f |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-4
|
|
|
2501e5f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
2501e5f |
|
|
|
c2bd71a |
* Wed Feb 15 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.1-3
|
|
|
c2bd71a |
- Add patch to fix build on ARM
|
|
|
c2bd71a |
|
|
|
157195c |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
|
|
|
157195c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
157195c |
|
|
Jan Kratochvil |
c4c9b1e |
* Thu Sep 15 2011 Jan Kratochvil <jan.kratochvil@redhat.com> - 1.0.1-1.fc17
|
|
Jan Kratochvil |
c4c9b1e |
- Upgrade to the upstream release. (BZ 738595).
|
|
Jan Kratochvil |
c4c9b1e |
- Use official distribution URL for %%{source}.
|
|
Jan Kratochvil |
c4c9b1e |
|
|
Paul Whalen |
eda4efe |
* Thu Jun 02 2011 Paul Whalen <paul.whalen@senecac.on.ca> - 0.99-3.20110424git1e10c293
|
|
Paul Whalen |
eda4efe |
- Added arm macro to ExclusiveArch
|
|
Paul Whalen |
eda4efe |
|
|
Jan Kratochvil |
170f437 |
* Mon May 9 2011 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-2.20110424git1e10c293
|
|
Jan Kratochvil |
170f437 |
- Install static libunwind-ptrace library into system (for ltrace, BZ 703159).
|
|
Jan Kratochvil |
170f437 |
|
|
Jan Kratochvil |
413a800 |
* Sun Apr 24 2011 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-1.20110424git1e10c293
|
|
Jan Kratochvil |
413a800 |
- Rebase to the upstream post-0.99 snapshot (BZ 697453).
|
|
Jan Kratochvil |
413a800 |
|
|
|
1709f2b |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99-0.16.20090430betagit4b8404d1
|
|
|
1709f2b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
1709f2b |
|
|
Jesse Keating |
6b1518c |
* Wed Sep 29 2010 jkeating - 0.99-0.15.20090430betagit4b8404d1
|
|
Jesse Keating |
6b1518c |
- Rebuilt for gcc bug 634757
|
|
Jesse Keating |
6b1518c |
|
|
Jan Kratochvil |
189cf20 |
* Sat Sep 11 2010 Parag Nemade <paragn AT fedoraproject.org> 0.99-0.14.20090430betagit4b8404d1.fc15
|
|
Jan Kratochvil |
189cf20 |
- Merge-review cleanup (#226052)
|
|
Jan Kratochvil |
189cf20 |
|
|
|
21c49f1 |
* Fri Dec 4 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99-0.13.20090430betagit4b8404d1
|
|
|
21c49f1 |
- The devel package now requires also base package's %{release}.
|
|
|
21c49f1 |
- Update the obsolete macro %%{package_version}.
|
|
|
21c49f1 |
|
|
|
4e3906c |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99-0.12.20090430betagit4b8404d1
|
|
|
4e3906c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
4e3906c |
|
|
|
3ebb80c |
* Wed Jul 15 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.11.20090430betagit4b8404d1
|
|
|
3ebb80c |
- Disable the libunwind-setjmp library as no longer compatible with glibc and
|
|
|
3ebb80c |
no Fedora dependencies on it (FTBSFS BZ 511562).
|
|
|
3ebb80c |
|
|
|
de471ff |
* Thu Apr 30 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.10.20090430betagit4b8404d1
|
|
|
de471ff |
- Fix the ia64 variant of GetIPInfo() (BZ 480412).
|
|
|
de471ff |
|
|
|
5568974 |
* Mon Apr 13 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.9.20090413betagitb483ea3f
|
|
|
5568974 |
- Rebase the package on the upstream variant: http://www.nongnu.org/libunwind/
|
|
|
5568974 |
- Drop the patch libunwind-snap-070224-frysk20070405cvs.patch
|
|
|
5568974 |
as even frysk-0.4-8.fc11 still has this library bundled statically.
|
|
|
5568974 |
- Disable the testsuite by default during the build.
|
|
|
5568974 |
- It should be run separately as it crashes some ia64 kernels.
|
|
|
5568974 |
- Drop the patch libunwind-snap-070224-orphanripper.patch.
|
|
|
5568974 |
- Drop the patch libunwind-snap-070224-dprintf-vs-stdio.h as no longer needed.
|
|
|
5568974 |
- Drop libunwind-snap-070224-multilib-rh342451.patch as accepted upstream.
|
|
|
5568974 |
- Fix and enable ppc (ppc32) arch.
|
|
|
5568974 |
|
|
|
69918d7 |
* Tue Mar 3 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.8.frysk20070405cvs
|
|
|
69918d7 |
- Fix .spec ExclusiveArch from i386 to %%{ix86}.
|
|
|
69918d7 |
- Remove `BuildRequires: glibc gcc make tar gzip' - minimum build environment.
|
|
|
69918d7 |
|
|
|
16e6870 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99-0.7.frysk20070405cvs
|
|
|
16e6870 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
16e6870 |
|
|
|
82b9074 |
* Mon Sep 22 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.6.frysk20070405cvs
|
|
|
82b9074 |
- Fix build error due to a `dprintf' conflict on recent glibc.
|
|
|
82b9074 |
- New rpmbuild parameter: --without check
|
|
|
82b9074 |
|
|
|
8cfbeef |
* Sun Feb 24 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.5.frysk20070405cvs
|
|
|
8cfbeef |
- Fix the multilib conflicts (BZ 342451).
|
|
|
8cfbeef |
|
|
|
9f01fb1 |
* Sun Feb 24 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.4.frysk20070405cvs
|
|
|
9f01fb1 |
- Abort the possibly hung up testcases after 120 seconds (BZ 427850, BZ 434147).
|
|
|
9f01fb1 |
|
|
|
5198241 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.99-0.3.frysk20070405cvs
|
|
|
5198241 |
- Autorebuild for GCC 4.3
|
|
|
5198241 |
|
|
|
63fcff8 |
* Sun Apr 22 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.2.frysk20070405cvs
|
|
|
63fcff8 |
- Require conflict with gdb < gdb-6.6-9 as it would not find `libunwind.so'.
|
|
|
63fcff8 |
- Fixed (unused - commented) rule for a RPM build with embedded debug info.
|
|
|
63fcff8 |
|
|
|
6932619 |
* Thu Apr 5 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.1.frysk20070405cvs
|
|
|
6932619 |
- Update to the upstream snapshot snap-070224.
|
|
|
6932619 |
- Use the Frysk's modified version, currently snapshot 20070405cvs.
|
|
|
6932619 |
- Extend the supported architectures from ia64 also to x86_64, i386 and ppc64.
|
|
|
6932619 |
- Spec file fixups.
|
|
|
6932619 |
- Split the package to its base and the `devel' part.
|
|
|
6932619 |
- Drop the statically built libraries.
|
|
|
6932619 |
|
|
|
554d42a |
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 0.98.5-3
|
|
|
554d42a |
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
554d42a |
|
|
|
883a72b |
* Sat Sep 22 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.98.5-2
|
|
|
883a72b |
- SELinux compatibility fix - stack is now non-exec (Jakub Jelinek suggestion).
|
|
|
883a72b |
|
|
|
eec9ffd |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.98.5-1.1
|
|
|
eec9ffd |
- rebuild
|
|
|
eec9ffd |
|
|
|
5e5ba58 |
* Sat May 27 2006 Alexandre Oliva <aoliva@redhat.com> - 0.98.5-1
|
|
|
5e5ba58 |
- Import version 0.98.5.
|
|
|
5e5ba58 |
|
|
Florian La Roche |
d4f87d1 |
* Thu Feb 09 2006 Florian La Roche <laroche@redhat.com>
|
|
Florian La Roche |
d4f87d1 |
- remove empty scripts
|
|
Florian La Roche |
d4f87d1 |
|
|
|
e704134 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.98.2-3.2
|
|
|
e704134 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
e704134 |
|
|
|
11dd0d8 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
11dd0d8 |
- rebuilt
|
|
|
11dd0d8 |
|
|
|
1a97cf2 |
* Tue Mar 01 2005 Jeff Johnston <jjohnstn@redhat.com> 0.98.2.3
|
|
|
1a97cf2 |
- Bump up release number
|
|
|
1a97cf2 |
|
|
|
d5e0c62 |
* Thu Nov 11 2004 Jeff Johnston <jjohnstn@redhat.com> 0.98.2.2
|
|
|
d5e0c62 |
- Import version 0.98.2.
|
|
|
d5e0c62 |
|
|
|
f88d9d8 |
* Wed Nov 10 2004 Jeff Johnston <jjohnstn@redhat.com> 0.97.6
|
|
|
1b62c44 |
- Bump up release number
|
|
|
1b62c44 |
|
|
cvsdist |
90081cf |
* Thu Aug 19 2004 Jeff Johnston <jjohnstn@redhat.com> 0.97.3
|
|
cvsdist |
90081cf |
- Remove debug file from files list.
|
|
cvsdist |
90081cf |
|
|
cvsdist |
a43e324 |
* Fri Aug 13 2004 Jeff Johnston <jjohnstn@redhat.com> 0.97.2
|
|
cvsdist |
a43e324 |
- Import version 0.97.
|
|
cvsdist |
a43e324 |
|
|
cvsdist |
8555f6d |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
cvsdist |
8555f6d |
- rebuilt
|
|
cvsdist |
8555f6d |
|
|
cvsdist |
31a809b |
* Wed Jun 09 2004 Elena Zannoni <ezannoni@redhat.com> 0.96.4
|
|
cvsdist |
31a809b |
- Bump release number.
|
|
cvsdist |
31a809b |
|
|
cvsdist |
31a809b |
* Mon Feb 23 2004 Elena Zannoni <ezannoni@redhat.com> 0.96.3
|
|
cvsdist |
31a809b |
- Bump release number.
|
|
cvsdist |
31a809b |
|
|
cvsdist |
91f82cf |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
cvsdist |
91f82cf |
- rebuilt
|
|
cvsdist |
91f82cf |
|
|
cvsdist |
28e3673 |
* Thu Jan 29 2004 Jeff Johnston <jjohnstn@redhat.com> 0.96.1
|
|
cvsdist |
28e3673 |
- Import version 0.96.
|
|
cvsdist |
28e3673 |
|
|
cvsdist |
ed3604f |
* Tue Jan 06 2004 Jeff Johnston <jjohnstn@redhat.com> 0.92.2
|
|
cvsdist |
ed3604f |
- Bump release number.
|
|
cvsdist |
ed3604f |
|
|
cvsdist |
c09494a |
* Mon Oct 06 2003 Jeff Johnston <jjohnstn@redhat.com> 0.92.1
|
|
cvsdist |
c09494a |
- Initial release
|
|
cvsdist |
c09494a |
|