From: Elan Ruusamäe Date: Sat, 23 Nov 2013 18:44:57 +0000 (+0200) Subject: fix package name X-Git-Tag: auto/th/ocaml-curl-0.6.1-1~5 X-Git-Url: http://git.pld-linux.org/?p=packages%2Focaml-curl.git;a=commitdiff_plain;h=c81abe36c2311d2f380caf02b6363c488943f991 fix package name --- diff --git a/ocaml-ocurl.spec b/ocaml-ocurl.spec index 78b99d0..d456493 100644 --- a/ocaml-ocurl.spec +++ b/ocaml-ocurl.spec @@ -3,23 +3,24 @@ %bcond_without opt # build opt %define debug_package %{nil} +%define pkgname ocurl Summary: OCaml Curl library (ocurl) -Name: ocaml-curl +Name: ocaml-%{pkgname} Version: 0.5.3 -Release: 0.1 +Release: 1 License: MIT Group: Libraries -Source0: http://downloads.sourceforge.net/ocurl/ocurl-%{version}.tgz +Source0: http://downloads.sourceforge.net/ocurl/%{pkgname}-%{version}.tgz Patch1: ocurl-0.5.3-include-o-cmx.patch URL: http://sourceforge.net/projects/ocurl BuildRequires: curl-devel >= 7.12.0 BuildRequires: gawk BuildRequires: ocaml >= 3.10.0-7 BuildRequires: ocaml-findlib-devel -ExcludeArch: sparc64 s390 s390x -# Explicitly require Curl (fixes #711261). Since ocaml-curl uses +# Explicitly require Curl (fixes RHBZ#711261). Since ocaml-curl uses # -custom rather than ocamlmklib, automatic detection is infeasible. Requires: curl-devel >= 7.12.0 +ExcludeArch: sparc64 s390 s390x BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description