# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1275056279 -3600
# Node ID c34cd1aef6bdbb506754ca84bab693632c83dfd6
# Parent 3de558ea2a3f8ddcd378cc9d5c9ef109f855cbfd
Customise ocaml-omake RPM spec file
* set Release to @XEN_RELEASE@
* remove dependencies on fam-devel, ncurses-devel
Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>
diff -r 3de558ea2a3f -r c34cd1aef6bd Makefile
--- a/Makefile Fri May 28 15:17:55 2010 +0100
+++ b/Makefile Fri May 28 15:17:59 2010 +0100
@@ -27,13 +27,17 @@
OCAML_VERSION=3.11.0
FINDLIB_VERSION=1.1.2pl1
+OMAKE_VERSION=0.9.8.5-3
.PHONY: srpm
srpm:
cp $(CARBON_DISTFILES)/ocaml-${OCAML_VERSION}.tar.bz2 $(RPM_SOURCEDIR)/
cp $(CARBON_DISTFILES)/findlib-${FINDLIB_VERSION}.tar.gz
$(RPM_SOURCEDIR)/
+ cp $(CARBON_DISTFILES)/omake-${OMAKE_VERSION}.tar.gz $(RPM_SOURCEDIR)/
+ cp patches/omake-no-sync $(RPM_SOURCEDIR)/
rpmbuild -bs ocaml.spec
rpmbuild --nodeps -bs findlib.spec
+ rpmbuild --nodeps -bs omake.spec
$(MY_OUTPUT_DIR)/ocaml-libs.tar.gz: $(MY_OUTPUT_DIR)/.dirstamp
$(MAKE) $(foreach c,$(COMPONENTS),install-$(c))
diff -r 3de558ea2a3f -r c34cd1aef6bd omake.spec
--- a/omake.spec Fri May 28 15:17:55 2010 +0100
+++ b/omake.spec Fri May 28 15:17:59 2010 +0100
@@ -1,14 +1,17 @@
+%define XEN_RELEASE %(test -z "${XEN_RELEASE}" && echo unknown || echo
$XEN_RELEASE)
+
%define index 3
Version: 0.9.8.5
-Release: %{index}%{?dist}
+Release: %{XEN_RELEASE}
Summary: The omake build system.
Name: omake
URL: http://omake.metaprl.org/
Source0: %{name}-%{version}-%{index}.tar.gz
+Patch0: omake-no-sync
License: GPL
Group: Development/Tools
BuildRoot: %{_tmppath}/%{name}-root
-BuildRequires: ocaml >= 3.09.2, make, fam-devel, readline-devel, ncurses-devel
+BuildRequires: ocaml >= 3.09.2, make, ncurses-devel
%define debug_package %{nil}
@@ -28,6 +31,7 @@
%prep
%setup -q
+%patch0 -p1 -b ~omake-no-sync
%build
INSTALL_ROOT=$RPM_BUILD_ROOT\
@@ -60,6 +64,9 @@
%{_libdir}/omake
%changelog
+* Fri May 14 2010 David Scott <dave.scott@xxxxxxxxxxxxx>
+- Customise for XCP
+
* Thu Dec 11 2006 Aleksey Nogin <rpm@xxxxxxxxx> [0.9.8-1]
- Updated for the new doc file list and the lack of the man pages.
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|