Bug 491388 - rpmbuild -bs won't find spec file in some case
Summary: rpmbuild -bs won't find spec file in some case
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-20 18:06 UTC by Mamoru TASAKA
Modified: 2013-07-02 23:35 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-25 16:31:15 UTC
Type: ---


Attachments (Terms of Use)

Description Mamoru TASAKA 2009-03-20 18:06:01 UTC
Description of problem:
Well, I saw some strange behavior on "rpmbuild -bs"
------------------------------------------------------------
[tasaka1@localhost SRPMS]$ pwd
/home/tasaka1/rpmbuild/SRPMS

[tasaka1@localhost SRPMS]$ LANG=C rpmbuild -bs ../SPECS/rubygem-nokogiri.spec 
Wrote: /home/tasaka1/rpmbuild/SRPMS/rubygem-nokogiri-1.2.2-1.fc.src.rpm

[tasaka1@localhost SRPMS]$ LANG=C rpmbuild -bs ./../SPECS/rubygem-nokogiri.spec 
error: Unable to open /home/tasaka1/rpmbuild/SRPMS/SPECS/rubygem-nokogiri.spec: No such file or directory
-------------------------------------------------------------

Well, of course ../SPECS/rubygem-nokogiri.spec and
./../SPECS/rubygem-nokogiri.spec are the same, however
with "rpmbuild -bs" the former creates a srpm but the latter
does not...

Version-Release number of selected component (if applicable):
rpm-4.7.0-0.beta1.4.fc11.i586

How reproducible:
100%

Steps to Reproduce:
1. See above
2.
3.

Comment 1 Jindrich Novy 2009-03-25 09:07:29 UTC
Taking this one. Just managed to reproduce it.

Comment 2 Jindrich Novy 2009-03-25 16:31:15 UTC
It is fixed upstream for now.

Comment 3 Panu Matilainen 2009-04-09 13:07:49 UTC
...and rawhide too now.


Note You need to log in before you can comment on or make changes to this bug.