diff --git a/uuid-1.6.1-mkdir.patch b/uuid-1.6.1-mkdir.patch new file mode 100644 index 0000000..89e230c --- /dev/null +++ b/uuid-1.6.1-mkdir.patch @@ -0,0 +1,11 @@ +diff -up uuid-1.6.2/pgsql/Makefile.mkdir uuid-1.6.2/pgsql/Makefile +--- uuid-1.6.2/pgsql/Makefile.mkdir 2011-03-03 15:12:12.000000000 +0000 ++++ uuid-1.6.2/pgsql/Makefile 2011-03-03 16:15:45.000000000 +0000 +@@ -16,6 +16,7 @@ PG_CONFIG ?= pg_config + PGXS := $(shell $(PG_CONFIG) --pgxs) + POSTGRES := $(shell $(PG_CONFIG) --bindir)/postgres + top_builddir := $(dir $(PGXS))../.. ++mkinstalldirs = ../shtool mkdir -p + include $(top_builddir)/src/Makefile.global + + NAME = ossp-uuid diff --git a/uuid.spec b/uuid.spec index 4104e1c..a004bfd 100644 --- a/uuid.spec +++ b/uuid.spec @@ -3,13 +3,15 @@ Name: uuid Version: 1.6.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Universally Unique Identifier library License: MIT Group: System Environment/Libraries URL: http://www.ossp.org/pkg/lib/uuid/ Source0: ftp://ftp.ossp.org/pkg/lib/uuid/uuid-%{version}.tar.gz Patch0: uuid-1.6.1-ossp.patch +Patch1: uuid-1.6.1-mkdir.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libtool @@ -107,6 +109,7 @@ DCE development headers and libraries for OSSP uuid. %prep %setup -q %patch0 -p1 +%patch1 -p1 %build # Build the library. @@ -255,6 +258,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libossp-uuid_dce.so %changelog +* Thu Mar 03 2011 Karsten Hopp 1.6.2-4 +- fix build + * Mon Feb 07 2011 Fedora Release Engineering - 1.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild