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 10 of 14] Customise ocaml-getopt RPM spec file

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 10 of 14] Customise ocaml-getopt RPM spec file
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Fri, 28 May 2010 15:20:45 +0100
Delivery-date: Fri, 28 May 2010 07:40:45 -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 1275056338 -3600
# Node ID 5e129724d18fec091b571526cad96a70dffbae26
# Parent  1a1ae7c3614f1626d4204f6c784b408bc89a5d64
Customise ocaml-getopt RPM spec file
* set Release to @XEN_RELEASE@

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r 1a1ae7c3614f -r 5e129724d18f Makefile
--- a/Makefile  Fri May 28 15:18:54 2010 +0100
+++ b/Makefile  Fri May 28 15:18:58 2010 +0100
@@ -29,6 +29,7 @@
 FINDLIB_VERSION=1.1.2pl1
 OMAKE_VERSION=0.9.8.5-3
 XMLM_VERSION=1.0.2
+GETOPT_VERSION=20040811
 
 .PHONY: srpm
 srpm:
@@ -37,11 +38,13 @@
        cp $(CARBON_DISTFILES)/omake-${OMAKE_VERSION}.tar.gz $(RPM_SOURCEDIR)/
        cp patches/omake-no-sync $(RPM_SOURCEDIR)/
        cp $(CARBON_DISTFILES)/xmlm-${XMLM_VERSION}.tbz $(RPM_SOURCEDIR)/
+       cp $(CARBON_DISTFILES)/getopt-${GETOPT_VERSION}.tar.gz $(RPM_SOURCEDIR)/
        rpmbuild -bs ocaml.spec
        cp patches/xmlm-do-not-display-none-dtd-on-output $(RPM_SOURCEDIR)/
        rpmbuild --nodeps -bs findlib.spec
        rpmbuild --nodeps -bs omake.spec
        rpmbuild --nodeps -bs xmlm.spec
+       rpmbuild --nodeps -bs getopt.spec
 
 $(MY_OUTPUT_DIR)/ocaml-libs.tar.gz: $(MY_OUTPUT_DIR)/.dirstamp
        $(MAKE) $(foreach c,$(COMPONENTS),install-$(c))
diff -r 1a1ae7c3614f -r 5e129724d18f getopt.spec
--- a/getopt.spec       Fri May 28 15:18:54 2010 +0100
+++ b/getopt.spec       Fri May 28 15:18:58 2010 +0100
@@ -1,6 +1,8 @@
+%define XEN_RELEASE %(test -z "${XEN_RELEASE}" && echo unknown || echo 
$XEN_RELEASE)
+
 Name:           ocaml-getopt
 Version:        20040811
-Release:        %mkrel 1
+Release:        %{XEN_RELEASE}
 Summary:        Command line parsing a la GNU getopt
 License:        MIT-like
 Group:          Development/Other
@@ -68,6 +70,9 @@
 
 
 %changelog
+* Fri May 14 2010 David Scott <dave.scott@xxxxxxxxxxxxx>
+- Customise for XCP
+
 * Fri Sep 11 2009 Florent Monnier <blue_prawn@xxxxxxxxxxxx> 20040811-1mdv2010.0
 + Revision: 438504
 - import ocaml-getopt

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api