WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH 06 of 14] Customise ocaml-omake RPM spec file

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 06 of 14] Customise ocaml-omake RPM spec file
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Fri, 28 May 2010 15:20:41 +0100
Delivery-date: Fri, 28 May 2010 07:20:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1275056435@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>