fix build problems

This commit is contained in:
Karsten Hopp 2011-03-03 17:56:59 +01:00
parent 05278c73e5
commit b869866467
2 changed files with 18 additions and 1 deletions

11
uuid-1.6.1-mkdir.patch Normal file
View File

@ -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

View File

@ -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 <karsten@redhat.com> 1.6.2-4
- fix build
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild