Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The RedHat spec file refers to refman.ps.gz incorrectly #2968

Closed
vicuna opened this issue Sep 24, 2001 · 1 comment
Closed

The RedHat spec file refers to refman.ps.gz incorrectly #2968

vicuna opened this issue Sep 24, 2001 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Sep 24, 2001

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

@vicuna
Copy link
Author

vicuna commented Dec 7, 2001

Comment author: administrator

Fixed as suggested in 3.04

@vicuna vicuna closed this as completed Dec 7, 2001
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant