From cb528d0c623f72ceeb0296da2e8c38d4fe2a1efa93e3fe9fa3a3904d586d9fbb Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 20 Jun 2016 20:01:49 +0000 Subject: [PATCH] - Update to version 1.3.2 (fate#320836) OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-cppo?expand=0&rev=21 --- _service | 15 +++++++++++---- _service:download_url:cppo-1.0.0.tar.gz | 3 --- ocaml-cppo-1.3.2.tar.xz | 3 +++ ocaml-cppo.changes | 2 +- ocaml-cppo.spec | 8 +++++--- 5 files changed, 20 insertions(+), 11 deletions(-) delete mode 100644 _service:download_url:cppo-1.0.0.tar.gz create mode 100644 ocaml-cppo-1.3.2.tar.xz diff --git a/_service b/_service index 061c997..6c0a455 100644 --- a/_service +++ b/_service @@ -1,7 +1,14 @@ - - mjambon.com - http - /releases/cppo/cppo-1.0.0.tar.gz + + git://github.com/mjambon/cppo.git + git + 1.3.2 + v1.3.2 + ocaml-cppo + + *.tar + xz + + diff --git a/_service:download_url:cppo-1.0.0.tar.gz b/_service:download_url:cppo-1.0.0.tar.gz deleted file mode 100644 index 9f2795c..0000000 --- a/_service:download_url:cppo-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4cbb7d9efe028563e09f778e1a24db3effd6a0dbb620a81950402b83f1652fca -size 21469 diff --git a/ocaml-cppo-1.3.2.tar.xz b/ocaml-cppo-1.3.2.tar.xz new file mode 100644 index 0000000..d276fec --- /dev/null +++ b/ocaml-cppo-1.3.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f79b5e4a3456a5a23818da38e1ce13efcc2ce9b400012d61f2a279f6d7e3e859 +size 23252 diff --git a/ocaml-cppo.changes b/ocaml-cppo.changes index d6d1e45..87cc577 100644 --- a/ocaml-cppo.changes +++ b/ocaml-cppo.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Mon May 30 06:39:17 UTC 2016 - ohering@suse.de -- Fix build with ocaml-4.03 (fate#320836) +- Update to version 1.3.2 (fate#320836) ------------------------------------------------------------------- Tue Nov 10 10:18:47 UTC 2015 - ohering@suse.de diff --git a/ocaml-cppo.spec b/ocaml-cppo.spec index c23d20b..18d9c79 100644 --- a/ocaml-cppo.spec +++ b/ocaml-cppo.spec @@ -17,7 +17,7 @@ # Name: ocaml-cppo -Version: 1.0.0 +Version: 1.3.2 Release: 0 %{ocaml_preserve_bytecode} License: BSD-3-Clause @@ -61,12 +61,14 @@ Requires: %{name} = %{version} %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. + %prep -%setup -qn cppo-%{version} +%setup -q %build echo 'let cppo_version = "%{version}"' > cppo_version.ml -tee _oasis <<_EOF_ +# obs service changes every ^Version line ... +sh -c "sed 's/^Version.*/Version: %{version}/' | tee _oasis" <<_EOF_ OASISFormat: 0.4 Name: cppo Version: %{version}