- Fix build process for new upstream tarball layout.

This commit is contained in:
Richard W.M. Jones 2009-10-16 10:24:21 +00:00
parent 1ae0a0eae7
commit 8bab791b74
1 changed files with 7 additions and 4 deletions

View File

@ -3,13 +3,13 @@
Name: ocaml-postgresql Name: ocaml-postgresql
Version: 1.12.3 Version: 1.12.3
Release: 1%{?dist} Release: 1%{?dist}.2
Summary: OCaml library for accessing PostreSQL databases Summary: OCaml library for accessing PostreSQL databases
Group: Development/Libraries Group: Development/Libraries
License: LGPLv2+ with exceptions License: LGPLv2+ with exceptions
URL: http://www.ocaml.info/home/ocaml_sources.html#toc13 URL: http://www.ocaml.info/home/ocaml_sources.html#toc13
Source0: http://www.ocaml.info/ocaml_sources/postgresql-ocaml-%{version}.tar.bz2 Source0: http://hg.ocaml.info/release/postgresql-ocaml/archive/release-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ocaml >= 3.10.0 BuildRequires: ocaml >= 3.10.0
@ -44,7 +44,7 @@ developing applications that use %{name}.
%prep %prep
%setup -q -n postgresql-ocaml-%{version} %setup -q -n postgresql-ocaml-release-%{version}
%build %build
@ -82,7 +82,7 @@ rm -rf $RPM_BUILD_ROOT
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc LICENSE AUTHORS Changes README examples %doc LICENSE AUTHORS Changelog README.txt examples
%if %opt %if %opt
%{_libdir}/ocaml/postgresql/*.a %{_libdir}/ocaml/postgresql/*.a
%{_libdir}/ocaml/postgresql/*.cmxa %{_libdir}/ocaml/postgresql/*.cmxa
@ -91,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Oct 16 2009 Richard W.M. Jones <rjones@redhat.com> - 1.12.3-1.fc10.2
- Fix build process for new upstream tarball layout.
* Fri Oct 16 2009 Richard W.M. Jones <rjones@redhat.com> - 1.12.3-1 * Fri Oct 16 2009 Richard W.M. Jones <rjones@redhat.com> - 1.12.3-1
- New upstream version 1.12.3. - New upstream version 1.12.3.
- This contains a SECURITY fix for: - This contains a SECURITY fix for: