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

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 08 of 14] Customise ocaml-xmlm RPM spec file
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Fri, 28 May 2010 15:20:43 +0100
Delivery-date: Fri, 28 May 2010 07:22:10 -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 1275056315 -3600
# Node ID 9ef4a3cdf6aba0d633e2f4bf4fa933bbbd5f115e
# Parent  9ef9fa8c2addaadfcab5f389b5518b586796db0e
Customise ocaml-xmlm RPM spec file
* set Release to @XEN_RELEASE@

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

diff -r 9ef9fa8c2add -r 9ef4a3cdf6ab Makefile
--- a/Makefile  Fri May 28 15:18:27 2010 +0100
+++ b/Makefile  Fri May 28 15:18:35 2010 +0100
@@ -28,6 +28,7 @@
 OCAML_VERSION=3.11.0
 FINDLIB_VERSION=1.1.2pl1
 OMAKE_VERSION=0.9.8.5-3
+XMLM_VERSION=1.0.2
 
 .PHONY: srpm
 srpm:
@@ -35,9 +36,12 @@
        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)/
+       cp $(CARBON_DISTFILES)/xmlm-${XMLM_VERSION}.tbz $(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
 
 $(MY_OUTPUT_DIR)/ocaml-libs.tar.gz: $(MY_OUTPUT_DIR)/.dirstamp
        $(MAKE) $(foreach c,$(COMPONENTS),install-$(c))
diff -r 9ef9fa8c2add -r 9ef4a3cdf6ab xmlm.spec
--- a/xmlm.spec Fri May 28 15:18:27 2010 +0100
+++ b/xmlm.spec Fri May 28 15:18:35 2010 +0100
@@ -1,11 +1,14 @@
+%define XEN_RELEASE %(test -z "${XEN_RELEASE}" && echo unknown || echo 
$XEN_RELEASE)
+
 Name:           ocaml-xmlm
 Version:        1.0.2
-Release:        %mkrel 1
+Release:        %{XEN_RELEASE}
 Summary:        Streaming XML input/output for OCaml
 License:        new-BSD
 Group:          Development/Other
 URL:            http://erratique.ch/software/xmlm
 Source0:        http://erratique.ch/software/xmlm/releases/xmlm-%{version}.tbz
+Patch0: xmlm-do-not-display-none-dtd-on-output
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}
 BuildRequires:  ocaml
 Requires:       ocaml
@@ -29,6 +32,7 @@
 
 %prep
 %setup -q -n xmlm-%{version}
+%patch0 -p1 -b ~xmlm-do-not-display-none-dtd-on-output
 
 %build
 ./build module
@@ -60,6 +64,9 @@
 
 
 %changelog
+* Fri May 14 2010 David Scott <dave.scott@xxxxxxxxxxxxx>
+- Customised for XCP
+
 * Wed Mar 17 2010 Florent Monnier <blue_prawn@xxxxxxxxxxxx> 1.0.2-1mdv2010.1
 + Revision: 522813
 - update to new version 1.0.2

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

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