Add support for rpmbuild --with sources.

This commit is contained in:
Ralf Corsepius
2005-04-12 06:14:08 +00:00
parent f309cda26b
commit 5c68bf81a7
3 changed files with 4 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_version}@binutil
# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
# Or you can try the ftp options of rpm :-)
#
NoSource: 0
%{?!_with_sources:NoSource: 0}
# %description
#

View File

@@ -41,8 +41,8 @@ BuildPreReq: %{rpmprefix}%{gcc_target}-binutils
# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
# Or you can try the ftp options of rpm :-)
#
NoSource: 0
NoSource: 1
%{?!_with_sources:NoSource: 0}
%{?!_with_sources:NoSource: 1}
# Use rpm -ba --define 'gnat [0|1]' xxx.spec to override building gnat for
# those targets wanting to support ada.

View File

@@ -38,7 +38,7 @@ BuildPreReq: ncurses-devel
# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
# Or you can try the ftp options of rpm :-)
#
NoSource: 0
%{?!_with_sources:NoSource: 0}
# Account as best possible for targets without simulators
# and targets which require extra arguments.