fix debuginfo

This commit is contained in:
Michal Hlavinka 2012-06-19 13:41:25 +02:00
parent d306e5a2a5
commit e3a663408a
2 changed files with 20 additions and 1 deletions

12
uuid-1.6.2-nostrip.patch Normal file
View File

@ -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:
-@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/
-@if [ ".$(WITH_PERL)" = .yes ]; then \
(cd $(S)/perl && $(MAKE) $(MFLAGS) install DESTDIR=$(DESTDIR)); \

View File

@ -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@redhat.com> - 1.6.2-11
- fix debuginfo
* Tue Jun 19 2012 Michal Hlavinka <mhlavink@redhat.com> - 1.6.2-10
- fix generation of MAC address based uuids (#829532),
patch by Philip Prindeville