File project2.diff of Package openais
--- install.patch.orig
+++ install.patch
@@ -1,15 +1,17 @@
---- trunk/Makefile 2007-10-24 10:56:38.000000000 +0200
-+++ dev/Makefile 2007-10-08 19:58:56.000000000 +0200
-@@ -126,6 +140,7 @@
+Index: openais/Makefile
+===================================================================
+--- openais.orig/Makefile
++++ openais/Makefile
+@@ -117,6 +117,7 @@ install: all
mkdir -p $(DESTDIR)$(LIBDIR)
mkdir -p $(DESTDIR)$(LCRSODIR)
mkdir -p $(DESTDIR)$(ETCDIR)/ais
+ mkdir -p $(DESTDIR)$(ETCDIR)/init.d
- mkdir -p $(DESTDIR)$(MANDIR)/man3
mkdir -p $(DESTDIR)$(MANDIR)/man5
mkdir -p $(DESTDIR)$(MANDIR)/man8
-@@ -201,6 +201,7 @@ install: all
- install -m 644 $(srcdir)man/*.3 $(DESTDIR)$(MANDIR)/man3
+ mkdir -p $(DESTDIR)$(ETCDIR)/ld.so.conf.d
+@@ -155,6 +156,7 @@ install: all
+ done
install -m 644 $(srcdir)man/*.5 $(DESTDIR)$(MANDIR)/man5
install -m 644 $(srcdir)man/*.8 $(DESTDIR)$(MANDIR)/man8
+ install -m 744 $(srcdir)init/generic $(DESTDIR)$(ETCDIR)/init.d/ais
--- openais.spec.orig
+++ openais.spec
@@ -15,7 +15,7 @@
%endif
%define ais_uid 39
%define ais_user ais
-
+# BuildRequires: corosync-devel
Name: openais
Summary: The OpenAIS Standards-Based Cluster Framework executive and APIs
Version: 0.82
@@ -29,11 +29,12 @@ Group: Productivity/Clustering/
Url: http://www.openais.org/
# r1663
Source0: openais.tar.gz
-# r1701
-Source1: corosync.tar.gz
Patch1: install.patch
+# Apply this to corogen, if necessary
Patch2: keygen.patch
+# probably no longer necessary
Patch3: disable-crypto.patch
+# Apply this to corogen, if necessary
Patch4: ucred.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires(pre): /usr/sbin/useradd
@@ -108,9 +109,6 @@ Authors:
%prep
%setup -n openais
%patch1 -p1
-%patch2 -p2
-%patch3 -p2
-%patch4 -p2
%build
# -O3 required for performance reasons