[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [PATCH 08 of 14] Customise ocaml-xmlm RPM spec file



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.