You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 543 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
This is incorrect since it assumes a particular relation between the SOURCE and
BUILD directories and this relation does not always hold (it does not in my
setup, for example). The correct thing to use is the %{SOURCE2} macro:
Original bug ID: 543
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Aleksey Nogin
Version: 3.02
OS: RedHat Linux 7.1
Submission from: dalailama.ags.uni-sb.de (134.96.236.137)
The spec file in ocaml-3.02-1.src.rpm contains the following line:
cp ../../SOURCES/ocaml-3.02-refman.ps.gz refman.ps.gz
This is incorrect since it assumes a particular relation between the SOURCE and
BUILD directories and this relation does not always hold (it does not in my
setup, for example). The correct thing to use is the %{SOURCE2} macro:
--- ocaml-3.02-1.spec.orig Mon Sep 24 11:17:44 2001
+++ ocaml-3.02-1.spec Mon Sep 24 11:18:28 2001
@@ -24,7 +24,7 @@
%setup -T -b 0
%setup -T -D -a 1
%setup -T -D -a 3
-cp ../../SOURCES/ocaml-3.02-refman.ps.gz refman.ps.gz
+cp %{SOURCE2} refman.ps.gz
%build
./configure -bindir %{_bindir} -libdir %{_libdir}/ocaml -mandir
%{_mandir}/man1
The text was updated successfully, but these errors were encountered: