Bug 3800 - Source archive required even with --nosource
Summary: Source archive required even with --nosource
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm-build (show other bugs)
Version: unstable
Hardware: all Linux
: P4 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-07 14:32 MSK by Mikhail Zabaluev
Modified: 2006-01-10 03:32 MSK (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Zabaluev 2004-03-07 14:32:26 MSK
"rpmbuild -bs --nosource N package.spec" fails if the source number N is not
present in the source directory.


Steps to Reproduce:
1. Get a specfile (in my case, j2se1.4-sun)
2. Make sure the file specified with Source0 is not in the source directory, all
other sources and patches are present.
3. Issue a build command: rpmbuild -bs --nosource 0 j2se1.4-sun.spec
Actual Results:  
ошибка: Неверный файл /home/mhz/RPM/SOURCES/j2sdk-1_4_2_03-linux-i586.bin: No
such file or directory


Expected Results:  
A .nosrc.rpm package should be built without errors.
Comment 1 Michael Shigorin 2005-10-19 12:58:37 MSD
актуально для rpm-4.0.4-alt47...
Comment 2 Dmitry V. Levin 2006-01-10 02:42:23 MSK
А как же иначе, rpmbuild нуждается в информации о файле, даже если он его не
запаковывает.  Или вы предлагаете не паковать информацию тоже?
Comment 3 Mikhail Zabaluev 2006-01-10 03:32:49 MSK
Понял, снимаю.