Bug 491388

Summary: rpmbuild -bs won't find spec file in some case
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: rpmAssignee: Jindrich Novy <jnovy>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ffesti, jnovy, pknirsch, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-25 16:31:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.