[uuid] fix debuginfo

Michal Hlavinka mhlavink at fedoraproject.org
Tue Jun 19 11:41:27 UTC 2012


commit e3a663408a4f43d15bee4ba1dc60ca9804a44910
Author: Michal Hlavinka <mhlavink at redhat.com>
Date:   Tue Jun 19 13:41:25 2012 +0200

    fix debuginfo

 uuid-1.6.2-nostrip.patch |   12 ++++++++++++
 uuid.spec                |    9 ++++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/uuid-1.6.2-nostrip.patch b/uuid-1.6.2-nostrip.patch
new file mode 100644
index 0000000..9234e22
--- /dev/null
+++ b/uuid-1.6.2-nostrip.patch
@@ -0,0 +1,12 @@
+diff -up uuid-1.6.2/Makefile.in.nostrip uuid-1.6.2/Makefile.in
+--- uuid-1.6.2/Makefile.in.nostrip	2012-06-19 12:53:47.888028956 +0200
++++ uuid-1.6.2/Makefile.in	2012-06-19 12:53:47.913029142 +0200
+@@ -253,7 +253,7 @@ install:
+ 	- at if [ ".$(WITH_CXX)" = .yes ]; then \
+ 	    $(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 $(CXX_NAME) $(DESTDIR)$(libdir)/; \
+ 	fi
+-	@$(LIBTOOL) --mode=install $(SHTOOL) install -c -s -m 755 uuid $(DESTDIR)$(bindir)/
++	@$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 755 uuid $(DESTDIR)$(bindir)/
+ 	$(SHTOOL) install -c -m 644 $(S)/uuid.1 $(DESTDIR)$(mandir)/man1/
+ 	- at if [ ".$(WITH_PERL)" = .yes ]; then \
+ 	    (cd $(S)/perl && $(MAKE) $(MFLAGS) install DESTDIR=$(DESTDIR)); \
diff --git a/uuid.spec b/uuid.spec
index 981ed33..67601c2 100644
--- a/uuid.spec
+++ b/uuid.spec
@@ -10,7 +10,7 @@
 
 Name:           uuid
 Version:        1.6.2
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Universally Unique Identifier library
 License:        MIT
 Group:          System Environment/Libraries
@@ -23,6 +23,9 @@ Patch2:         uuid-1.6.2-php54.patch
 # rhbz#829532
 Patch3:         uuid-1.6.2-hwaddr.patch
 
+# do not strip binaries
+Patch4:         uuid-1.6.2-nostrip.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  libtool
 
@@ -123,6 +126,7 @@ DCE development headers and libraries for OSSP uuid.
 %patch1 -p1
 %patch2 -p1 -b .php54
 %patch3 -p1 -b .hwaddr
+%patch4 -p1 -b .nostrip
 
 %build
 # Build the library.
@@ -273,6 +277,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libossp-uuid_dce.so
 
 %changelog
+* Tue Jun 19 2012 Michal Hlavinka <mhlavink at redhat.com> - 1.6.2-11
+- fix debuginfo
+
 * Tue Jun 19 2012 Michal Hlavinka <mhlavink at redhat.com> - 1.6.2-10
 - fix generation of MAC address based uuids (#829532), 
   patch by Philip Prindeville


More information about the scm-commits mailing list