Bug 3800 - Source archive required even with --nosource
: Source archive required even with --nosource
: Sisyphus
(All bugs in Sisyphus/rpm-build)
: unstable
: all Linux
: P4 normal
Assigned To:
  Show dependency tree
Reported: 2004-03-07 14:32 by
Modified: 2006-01-10 03:32 (History)



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

Description From 2004-03-07 14:32:26
"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 From 2005-10-19 12:58:37 -------
актуально для rpm-4.0.4-alt47...
------- Comment #2 From 2006-01-10 02:42:23 -------
А как же иначе, rpmbuild нуждается в информации о файле, даже если он его не
запаковывает.  Или вы предлагаете не паковать информацию тоже?
------- Comment #3 From 2006-01-10 03:32:49 -------
Понял, снимаю.