rpms/ocaml-omake/EL-5 ocaml-omake-debian-stdin-stdout-fix.patch, NONE, 1.1 ocaml-omake.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Richard W.M. Jones (rjones)
fedora-extras-commits at redhat.com
Fri Apr 25 17:40:31 UTC 2008
- Previous message (by thread): rpms/ocaml-omake/devel ocaml-omake-debian-stdin-stdout-fix.patch, NONE, 1.1 ocaml-omake.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/control-center/devel .cvsignore, 1.73, 1.74 control-center.spec, 1.357, 1.358 sources, 1.76, 1.77
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rjones
Update of /cvs/pkgs/rpms/ocaml-omake/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28898/EL-5
Modified Files:
.cvsignore sources
Added Files:
ocaml-omake-debian-stdin-stdout-fix.patch ocaml-omake.spec
Log Message:
Initial import.
ocaml-omake-debian-stdin-stdout-fix.patch:
--- NEW FILE ocaml-omake-debian-stdin-stdout-fix.patch ---
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_stdin_stdout_fix.dpatch by Mike Furr <mfurr at debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: stdin <-> stdout fix (upstream r12115)
@DPATCH@
diff -urNad omake-0.9.8.5~/src/build/omake_rule.ml omake-0.9.8.5/src/build/omake_rule.ml
--- omake-0.9.8.5~/src/build/omake_rule.ml 2007-07-02 14:20:23.000000000 -0400
+++ omake-0.9.8.5/src/build/omake_rule.ml 2007-09-06 12:52:23.752616976 -0400
@@ -1040,12 +1040,12 @@
* Evaluate the commands NOW.
*)
and exec_commands venv pos loc commands =
- let stdin = channel_of_var venv pos loc stdin_var in
let stdout = channel_of_var venv pos loc stdout_var in
- let stdin = Lm_channel.descr stdin in
+ let stderr = channel_of_var venv pos loc stderr_var in
let stdout = Lm_channel.descr stdout in
+ let stderr = Lm_channel.descr stderr in
List.iter (fun command ->
- let pid = eval_shell_internal stdin stdout command in
+ let pid = eval_shell_internal stdout stderr command in
let status, _ = eval_shell_wait venv pos pid in
let code =
match status with
--- NEW FILE ocaml-omake.spec ---
%define debug_package %{nil}
Name: ocaml-omake
Version: 0.9.8.5
Release: 2%{?dist}
Summary: OCaml build system with automated dependency analysis
Group: Development/Tools
License: LGPLv2+ with exceptions and GPLv2+ and BSD
URL: http://omake.metaprl.org/download.html
Source0: http://omake.metaprl.org/downloads/omake-%{version}-3.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: ocaml-omake-debian-stdin-stdout-fix.patch
BuildRequires: ocaml >= 3.09.2
BuildRequires: ocaml-findlib-devel
BuildRequires: gamin-devel
BuildRequires: readline-devel
BuildRequires: ncurses-devel
#BuildRequires: hevea
BuildRequires: chrpath
%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
OMake is a build system designed for scalability and portability. It
uses a syntax similar to make utilities you may have used, but it
features many additional enhancements, including the following.
* Support for projects spanning several directories or directory
hierarchies.
* Fast, reliable, automated, scriptable dependency analysis using MD5
digests, with full support for incremental builds.
* Dependency analysis takes the command lines into account â whenever
the command line used to build a target changes, the target is
considered out-of-date.
* Fully scriptable, includes a library that providing support for
standard tasks in C, C++, OCaml, and LaTeX projects, or a mixture
thereof.
%prep
%setup -q -n omake-%{version}
%patch0 -p1
%build
make all \
PREFIX=%{_prefix} MANDIR=%{_mandir} BINDIR=%{_bindir} LIBDIR=%{_libdir}
%install
rm -rf $RPM_BUILD_ROOT
make install \
INSTALL_ROOT=$RPM_BUILD_ROOT \
PREFIX=%{_prefix} MANDIR=%{_mandir} BINDIR=%{_bindir} LIBDIR=%{_libdir}
chmod 0755 $RPM_BUILD_ROOT%{_bindir}/*
strip $RPM_BUILD_ROOT%{_bindir}/omake
strip $RPM_BUILD_ROOT%{_bindir}/cvs_realclean
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc LICENSE LICENSE.OMake ocamldep/LICENSE.ocamldep-omake
%doc CHANGELOG.txt
%doc doc/txt/omake-doc.txt doc/ps/omake-doc.pdf doc/html/
%{_libdir}/omake/
%{_bindir}/ocamldep-omake
%{_bindir}/omake
%{_bindir}/osh
%{_bindir}/cvs_realclean
%changelog
* Wed Apr 23 2008 Richard W.M. Jones <rjones at redhat.com> - 0.9.8.5-2
- Added stdin/stdout fix patch from Debian.
* Wed Apr 23 2008 Richard W.M. Jones <rjones at redhat.com> - 0.9.8.5-1
- Initial RPM release.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-omake/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 25 Apr 2008 15:16:32 -0000 1.1
+++ .cvsignore 25 Apr 2008 17:39:56 -0000 1.2
@@ -0,0 +1 @@
+omake-0.9.8.5-3.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-omake/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 25 Apr 2008 15:16:32 -0000 1.1
+++ sources 25 Apr 2008 17:39:56 -0000 1.2
@@ -0,0 +1 @@
+d114b3c4201808aacd73ec1a98965c47 omake-0.9.8.5-3.tar.gz
- Previous message (by thread): rpms/ocaml-omake/devel ocaml-omake-debian-stdin-stdout-fix.patch, NONE, 1.1 ocaml-omake.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/control-center/devel .cvsignore, 1.73, 1.74 control-center.spec, 1.357, 1.358 sources, 1.76, 1.77
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list