commit a2221ab29e6a2bf3d3424e1c2e689ba1f75aa5a5
Author: Arkadiusz Miśkiewicz <ar...@maven.pl>
Date:   Sun Oct 29 10:00:27 2017 +0100

    - up to 1.2.1; no latex2man in PLD, so no manual pages

 libunwind-link.patch | 13 +++++++------
 libunwind.spec       |  8 ++++++--
 2 files changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/libunwind.spec b/libunwind.spec
index 41a90bc..ed1574e 100644
--- a/libunwind.spec
+++ b/libunwind.spec
@@ -1,16 +1,17 @@
 #
 # Conditional build:
 %bcond_with    tests   # perform "make check" (fails randomly)
+%bcond_with    doc
 #
 Summary:       libunwind - a (mostly) platform-independent unwind API
 Summary(pl.UTF-8):     libunwind - (prawie) niezależne od platformy API do 
rozwijania
 Name:          libunwind
-Version:       1.1
+Version:       1.2.1
 Release:       1
 License:       MIT
 Group:         Libraries
 Source0:       
http://download.savannah.gnu.org/releases/libunwind/%{name}-%{version}.tar.gz
-# Source0-md5: fb4ea2f6fbbe45bf032cd36e586883ce
+# Source0-md5: 06ba9e60d92fd6f55cd9dadb084df19e
 Patch0:                %{name}-link.patch
 URL:           http://www.nongnu.org/libunwind/
 BuildRequires: autoconf >= 2.50
@@ -18,6 +19,7 @@ BuildRequires:        automake >= 1.6
 %ifarch %{x8664}
 BuildRequires: binutils >= 2:2.15.94.0.2.2
 %endif
+%{?with_doc:BuildRequires:     texlive-latex2man}
 BuildRequires: libtool >= 2:2.0
 BuildRequires: rpmbuild(macros) >= 1.213
 BuildRequires: xz-devel
@@ -135,9 +137,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/libunwind-generic.pc
 %{_pkgconfigdir}/libunwind-ptrace.pc
 %{_pkgconfigdir}/libunwind-setjmp.pc
+%if %{with doc}
 %{_mandir}/man3/_U_dyn_*.3*
 %{_mandir}/man3/libunwind*.3*
 %{_mandir}/man3/unw_*.3*
+%endif
 
 %files static
 %defattr(644,root,root,755)
diff --git a/libunwind-link.patch b/libunwind-link.patch
index 102ec1e..b56464e 100644
--- a/libunwind-link.patch
+++ b/libunwind-link.patch
@@ -1,6 +1,6 @@
---- libunwind-1.1/src/Makefile.am.orig 2012-10-06 06:54:38.000000000 +0200
-+++ libunwind-1.1/src/Makefile.am      2012-10-12 15:56:24.425745356 +0200
-@@ -39,6 +39,7 @@
+--- libunwind-1.2.1/src/Makefile.am~   2017-06-15 23:26:53.000000000 +0200
++++ libunwind-1.2.1/src/Makefile.am    2017-10-29 09:54:08.523287787 +0100
+@@ -49,6 +49,7 @@ libunwind_ptrace_la_SOURCES =                                
                  \
        ptrace/_UPT_find_proc_info.c ptrace/_UPT_get_dyn_info_list_addr.c \
        ptrace/_UPT_put_unwind_info.c ptrace/_UPT_get_proc_name.c         \
        ptrace/_UPT_reg_offset.c ptrace/_UPT_resume.c
@@ -8,11 +8,12 @@
  noinst_HEADERS += ptrace/_UPT_internal.h
  
  ### libunwind-coredump:
-@@ -58,6 +59,7 @@
+@@ -68,7 +69,7 @@ libunwind_coredump_la_SOURCES = \
        coredump/_UPT_resume.c
  libunwind_coredump_la_LDFLAGS = $(COMMON_SO_LDFLAGS) \
                                -version-info $(COREDUMP_SO_VERSION)
-+libunwind_coredump_la_LIBADD = libunwind-$(arch).la
- noinst_HEADERS += coredump/_UCD_internal.h
+-libunwind_coredump_la_LIBADD = $(LIBLZMA)
++libunwind_coredump_la_LIBADD = libunwind-$(arch).la $(LIBLZMA)
+ noinst_HEADERS += coredump/_UCD_internal.h coredump/_UCD_lib.h
  
  ### libunwind-setjmp:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libunwind.git/commitdiff/a2221ab29e6a2bf3d3424e1c2e689ba1f75aa5a5

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to