Mass letter "o" and "p" update, one or more apply :

- Drop epoch: 0
- Remove %{epoch} requirements in sub-packages
- Remove trailing white spaces
- Keep consistent between spaces and tabs
This commit is contained in:
Matthias Saou 2005-03-03 23:53:13 +00:00
parent 5bc1772b1c
commit 4529a1368f

View File

@ -1,8 +1,7 @@
Name: ocaml
Version: 3.08.2
Release: 2
Epoch: 0
Summary: The Objective Caml compiler and programming environment
Summary: Objective Caml compiler and programming environment
Group: Development/Languages
License: QPL/LGPL
@ -16,7 +15,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel, gdbm-devel, xorg-x11-devel
BuildRequires: tcl-devel, tk-devel
BuildRequires: emacs, perl
Requires(post,preun): /sbin/install-info
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
%description
Objective Caml is a high-level, strongly-typed, functional and
@ -30,7 +30,7 @@ and a comprehensive library.
%package -n labltk
Group: Development/Languages
Summary: Tk bindings for Objective Caml
Requires: ocaml = %{epoch}:%{version}-%{release}
Requires: ocaml = %{version}-%{release}
%description -n labltk
A library for interfacing Objective Caml with the scripting language
@ -38,8 +38,8 @@ Tcl/Tk. It include the OCamlBrowser code editor / library browser.
%package -n camlp4
Group: Development/Languages
Summary: A Pre-Processor-Pretty-Printer for OCaml
Requires: ocaml = %{epoch}:%{version}-%{release}
Summary: Pre-Processor-Pretty-Printer for OCaml
Requires: ocaml = %{version}-%{release}
%description -n camlp4
Camlp4 is a Pre-Processor-Pretty-Printer for OCaml, parsing a source
@ -48,7 +48,7 @@ file and printing some result on standard output.
%package ocamldoc
Group: Development/Languages
Summary: Documentation generator for OCaml
Requires: ocaml = %{epoch}:%{version}-%{release}
Requires: ocaml = %{version}-%{release}
%description ocamldoc
Documentation generator for Objective Caml.
@ -56,7 +56,7 @@ Documentation generator for Objective Caml.
%package emacs
Group: Development/Languages
Summary: Emacs mode for Objective Caml
Requires: ocaml = %{epoch}:%{version}-%{release}
Requires: ocaml = %{version}-%{release}
Requires: emacs
%description emacs
@ -65,7 +65,7 @@ Emacs mode for Objective Caml.
%package docs
Group: Development/Languages
Summary: Documentation for OCaml
Requires: ocaml = %{epoch}:%{version}-%{release}
Requires: ocaml = %{version}-%{release}
%description docs
Documentation for Objective Caml.
@ -113,7 +113,7 @@ rm -rf $RPM_BUILD_ROOT
%{_infodir}/dir 2>/dev/null || :
%preun
if [ $1 = 0 ]; then
if [ $1 -eq 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
fi