Patch META file so it doesn't include the library twice.

This commit is contained in:
Richard W.M. Jones 2009-10-08 13:31:16 +00:00
parent 8cb175632c
commit dd5786cab4
2 changed files with 19 additions and 2 deletions

View File

@ -0,0 +1,13 @@
--- calendar-2.01.1/Makefile.in.orig 2009-10-08 14:28:50.633555407 +0100
+++ calendar-2.01.1/Makefile.in 2009-10-08 14:29:07.767560374 +0100
@@ -114,8 +114,8 @@
META: Makefile
echo "description = \"$(NAME) library\"" > $@
echo "version = \"$(VERSION)\"" >> $@
- echo "archive(byte) = \"$(NAMELIB).cmo $(NAMELIB).cma\"" >> $@
- echo "archive(native) = \"$(NAMELIB).cmx $(NAMELIB).cmxa\"" >> $@
+ echo "archive(byte) = \"$(NAMELIB).cma\"" >> $@
+ echo "archive(native) = \"$(NAMELIB).cmxa\"" >> $@
echo "requires = \"unix str\"" >> $@
# Generic rules

View File

@ -3,7 +3,7 @@
Name: ocaml-calendar
Version: 2.01.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Objective Caml library for managing dates and times
Group: Development/Libraries
@ -17,6 +17,8 @@ BuildRequires: ocaml >= 3.10.1
BuildRequires: ocaml-findlib-devel, ocaml-ocamldoc
BuildRequires: gawk
Patch0: ocaml-calendar-2.01.1-META.patch
# Ignore all generated modules *except* CalendarLib, since everything
# now appears in that namespace.
%define _use_internal_dependency_generator 0
@ -40,6 +42,7 @@ developing applications that use %{name}.
%prep
%setup -q -n calendar-%{version}
%patch0 -p1
%build
@ -83,8 +86,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Oct 8 2009 Richard W.M. Jones <rjones@redhat.com> - 2.01.1-1
* Thu Oct 8 2009 Richard W.M. Jones <rjones@redhat.com> - 2.01.1-2
- New upstream release 2.01.1.
- Patch META file so it doesn't include the library twice.
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild