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:
parent
5bc1772b1c
commit
4529a1368f
20
ocaml.spec
20
ocaml.spec
@ -1,8 +1,7 @@
|
|||||||
Name: ocaml
|
Name: ocaml
|
||||||
Version: 3.08.2
|
Version: 3.08.2
|
||||||
Release: 2
|
Release: 2
|
||||||
Epoch: 0
|
Summary: Objective Caml compiler and programming environment
|
||||||
Summary: The Objective Caml compiler and programming environment
|
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: QPL/LGPL
|
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: ncurses-devel, gdbm-devel, xorg-x11-devel
|
||||||
BuildRequires: tcl-devel, tk-devel
|
BuildRequires: tcl-devel, tk-devel
|
||||||
BuildRequires: emacs, perl
|
BuildRequires: emacs, perl
|
||||||
Requires(post,preun): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
|
Requires(preun): /sbin/install-info
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Objective Caml is a high-level, strongly-typed, functional and
|
Objective Caml is a high-level, strongly-typed, functional and
|
||||||
@ -30,7 +30,7 @@ and a comprehensive library.
|
|||||||
%package -n labltk
|
%package -n labltk
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: Tk bindings for Objective Caml
|
Summary: Tk bindings for Objective Caml
|
||||||
Requires: ocaml = %{epoch}:%{version}-%{release}
|
Requires: ocaml = %{version}-%{release}
|
||||||
|
|
||||||
%description -n labltk
|
%description -n labltk
|
||||||
A library for interfacing Objective Caml with the scripting language
|
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
|
%package -n camlp4
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: A Pre-Processor-Pretty-Printer for OCaml
|
Summary: Pre-Processor-Pretty-Printer for OCaml
|
||||||
Requires: ocaml = %{epoch}:%{version}-%{release}
|
Requires: ocaml = %{version}-%{release}
|
||||||
|
|
||||||
%description -n camlp4
|
%description -n camlp4
|
||||||
Camlp4 is a Pre-Processor-Pretty-Printer for OCaml, parsing a source
|
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
|
%package ocamldoc
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: Documentation generator for OCaml
|
Summary: Documentation generator for OCaml
|
||||||
Requires: ocaml = %{epoch}:%{version}-%{release}
|
Requires: ocaml = %{version}-%{release}
|
||||||
|
|
||||||
%description ocamldoc
|
%description ocamldoc
|
||||||
Documentation generator for Objective Caml.
|
Documentation generator for Objective Caml.
|
||||||
@ -56,7 +56,7 @@ Documentation generator for Objective Caml.
|
|||||||
%package emacs
|
%package emacs
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: Emacs mode for Objective Caml
|
Summary: Emacs mode for Objective Caml
|
||||||
Requires: ocaml = %{epoch}:%{version}-%{release}
|
Requires: ocaml = %{version}-%{release}
|
||||||
Requires: emacs
|
Requires: emacs
|
||||||
|
|
||||||
%description emacs
|
%description emacs
|
||||||
@ -65,7 +65,7 @@ Emacs mode for Objective Caml.
|
|||||||
%package docs
|
%package docs
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: Documentation for OCaml
|
Summary: Documentation for OCaml
|
||||||
Requires: ocaml = %{epoch}:%{version}-%{release}
|
Requires: ocaml = %{version}-%{release}
|
||||||
|
|
||||||
%description docs
|
%description docs
|
||||||
Documentation for Objective Caml.
|
Documentation for Objective Caml.
|
||||||
@ -113,7 +113,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_infodir}/dir 2>/dev/null || :
|
%{_infodir}/dir 2>/dev/null || :
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
|
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user