|
|
|
|
|
|
|
|
|
|
xen-api
[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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-API] [PATCH 00 of 14] Switch xen-dist-ocaml.hg over to generating RPMs rather than tarballs, David Scott
- [Xen-API] [PATCH 01 of 14] Add upstream ocaml rpm spec file by Dries Verachtert <dries@xxxxxxxxxxx>, David Scott
- [Xen-API] [PATCH 02 of 14] Customise ocaml RPM spec file, David Scott
- [Xen-API] [PATCH 05 of 14] Add upstream ocaml-omake RPM spec file by Jason Hickey <jyh_@xxxxxxxxxxxxxx> and Aleksey Nogin <rpm@xxxxxxxxx>, David Scott
- [Xen-API] [PATCH 04 of 14] Customise ocaml-findlib RPM spec file, David Scott
- [Xen-API] [PATCH 06 of 14] Customise ocaml-omake RPM spec file, David Scott
- [Xen-API] [PATCH 03 of 14] Add upstream ocaml-findlib RPM spec file by Richard W.M. Jones <rjones@xxxxxxxxxx>, David Scott
- [Xen-API] [PATCH 09 of 14] Add upstream ocaml-getopt RPM spec file by Florent Monnier <blue_prawn@xxxxxxxxxxxx>, David Scott
- [Xen-API] [PATCH 07 of 14] Add upstream ocaml-xmlm RPM spec file by Florent Monnier <blue_prawn@xxxxxxxxxxxx>, David Scott
- [Xen-API] [PATCH 08 of 14] Customise ocaml-xmlm RPM spec file,
David Scott <=
- [Xen-API] [PATCH 11 of 14] Add upstream ocaml-type-conf RPM spec file by Florent Monnier <fmonnier@xxxxxxxxxxxxxxxx>, David Scott
- [Xen-API] [PATCH 12 of 14] Customise ocaml-type-conv RPM spec file, David Scott
- [Xen-API] [PATCH 13 of 14] [xmlm] upgrade to version 1.0.1, David Scott
- [Xen-API] [PATCH 10 of 14] Customise ocaml-getopt RPM spec file, David Scott
- [Xen-API] [PATCH 14 of 14] Hook RPM build into main mk/Makefile, David Scott
|
|
|
|
|