From c81abe36c2311d2f380caf02b6363c488943f991 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 23 Nov 2013 20:44:57 +0200 Subject: [PATCH] fix package name --- ocaml-ocurl.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 -- 2.43.0