Rebuild for OCaml 4.00.1.
- Clean up the spec file.
This commit is contained in:
parent
b39e010efd
commit
3cce747f9d
@ -1,19 +1,17 @@
|
|||||||
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
%define debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: ocaml-camomile
|
Name: ocaml-camomile
|
||||||
Version: 0.8.3
|
Version: 0.8.3
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: Unicode library for OCaml
|
Summary: Unicode library for OCaml
|
||||||
|
|
||||||
Group: Development/Libraries
|
|
||||||
# Several files are MIT and UCD licensed, but the overall work is LGPLv2+
|
# Several files are MIT and UCD licensed, but the overall work is LGPLv2+
|
||||||
# and the LGPL/GPL supercedes compatible licenses.
|
# and the LGPL/GPL supercedes compatible licenses.
|
||||||
# https://www.redhat.com/archives/fedora-legal-list/2008-March/msg00005.html
|
# https://www.redhat.com/archives/fedora-legal-list/2008-March/msg00005.html
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://sourceforge.net/projects/camomile/
|
URL: http://sourceforge.net/projects/camomile/
|
||||||
Source0: http://downloads.sourceforge.net/camomile/camomile-%{version}.tar.bz2
|
Source0: http://downloads.sourceforge.net/camomile/camomile-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
ExcludeArch: sparc64 s390 s390x
|
ExcludeArch: sparc64 s390 s390x
|
||||||
|
|
||||||
BuildRequires: ocaml >= 3.12.1-12
|
BuildRequires: ocaml >= 3.12.1-12
|
||||||
@ -21,9 +19,6 @@ BuildRequires: ocaml-findlib-devel
|
|||||||
BuildRequires: ocaml-ocamldoc
|
BuildRequires: ocaml-ocamldoc
|
||||||
BuildRequires: ocaml-camlp4-devel
|
BuildRequires: ocaml-camlp4-devel
|
||||||
|
|
||||||
%define _use_internal_dependency_generator 0
|
|
||||||
%define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
|
|
||||||
%define __find_provides /usr/lib/rpm/ocaml-find-provides.sh
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Camomile is a Unicode library for ocaml. Camomile provides Unicode
|
Camomile is a Unicode library for ocaml. Camomile provides Unicode
|
||||||
@ -34,7 +29,6 @@ more.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
|
||||||
@ -45,7 +39,6 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%package data
|
%package data
|
||||||
Summary: Data files for %{name}
|
Summary: Data files for %{name}
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
|
||||||
@ -67,7 +60,6 @@ strip tools/*.opt
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
export DESTDIR=$RPM_BUILD_ROOT
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
@ -79,10 +71,6 @@ cp tools/camomilelocaledef.opt $RPM_BUILD_ROOT%{_bindir}/camomilelocaledef
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README
|
%doc README
|
||||||
@ -117,6 +105,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 19 2012 Richard W.M. Jones <rjones@redhat.com> - 0.8.3-10
|
||||||
|
- Rebuild for OCaml 4.00.1.
|
||||||
|
- Clean up the spec file.
|
||||||
|
|
||||||
* Sat Jul 28 2012 Richard W.M. Jones <rjones@redhat.com> - 0.8.3-9
|
* Sat Jul 28 2012 Richard W.M. Jones <rjones@redhat.com> - 0.8.3-9
|
||||||
- Bump and rebuild against new OCaml 4.00.0 official release.
|
- Bump and rebuild against new OCaml 4.00.0 official release.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user