[packages/ocaml-easy-format] bugfixes

glen glen at pld-linux.org
Sun Nov 24 02:28:40 CET 2013


commit dcf67d8623c7ec19b6b2aa013c2d189f952b96be
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 24 03:21:00 2013 +0200

    bugfixes

 ocaml-easy-format.spec | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/ocaml-easy-format.spec b/ocaml-easy-format.spec
index 8f68d69..24f480c 100644
--- a/ocaml-easy-format.spec
+++ b/ocaml-easy-format.spec
@@ -2,21 +2,22 @@
 # Conditional build:
 %bcond_without	opt		# build opt
 
-%define		pkgname	easy-format
-%define		debug_package	%{nil}
+%define		module	easy-format
 Summary:	easy(ier) pretty printing for OCaml
-Name:		ocaml-%{pkgname}
+Name:		ocaml-%{module}
 Version:	1.0.1
 Release:	1
 License:	BSD
 Group:		Libraries
-Source0:	easy-format-%{version}.tar.gz
+Source0:	http://mjambon.com/releases/easy-format/%{module}-%{version}.tar.gz
 # Source0-md5:	ecaf5d060f7cf8961631ab319e40677c
 URL:		http://mjambon.com/easy-format.html
 BuildRequires:	ocaml >= 3.04-7
 %requires_eq	ocaml-runtime
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		debug_package	%{nil}
+
 %description
 This module offers a simplified interface to the Format module of the
 OCaml standard library. Input data must be converted into a tree using
@@ -43,7 +44,7 @@ Pakiet ten zawiera pliki niezbędne do tworzenia programów używających
 tej biblioteki.
 
 %prep
-%setup -q -n %{pkgname}-%{version}
+%setup -q -n %{module}-%{version}
 
 %build
 %{__make} -j1 all %{?with_opt:opt} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-easy-format.git/commitdiff/9b7f665256756cec241efa73570e7d87f00a4d28



More information about the pld-cvs-commit mailing list