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

[Xen-API] [PATCH 10 of 14] Customise ocaml-getopt RPM spec file



# 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


 


Rackspace

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