forked from Imagelibrary/rtems
Add support for rpmbuild --with sources.
This commit is contained in:
@@ -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).
|
# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
|
||||||
# Or you can try the ftp options of rpm :-)
|
# Or you can try the ftp options of rpm :-)
|
||||||
#
|
#
|
||||||
NoSource: 0
|
%{?!_with_sources:NoSource: 0}
|
||||||
|
|
||||||
# %description
|
# %description
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -41,8 +41,8 @@ BuildPreReq: %{rpmprefix}%{gcc_target}-binutils
|
|||||||
# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
|
# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
|
||||||
# Or you can try the ftp options of rpm :-)
|
# Or you can try the ftp options of rpm :-)
|
||||||
#
|
#
|
||||||
NoSource: 0
|
%{?!_with_sources:NoSource: 0}
|
||||||
NoSource: 1
|
%{?!_with_sources:NoSource: 1}
|
||||||
|
|
||||||
# Use rpm -ba --define 'gnat [0|1]' xxx.spec to override building gnat for
|
# Use rpm -ba --define 'gnat [0|1]' xxx.spec to override building gnat for
|
||||||
# those targets wanting to support ada.
|
# those targets wanting to support ada.
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ BuildPreReq: ncurses-devel
|
|||||||
# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
|
# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
|
||||||
# Or you can try the ftp options of rpm :-)
|
# Or you can try the ftp options of rpm :-)
|
||||||
#
|
#
|
||||||
NoSource: 0
|
%{?!_with_sources:NoSource: 0}
|
||||||
|
|
||||||
# Account as best possible for targets without simulators
|
# Account as best possible for targets without simulators
|
||||||
# and targets which require extra arguments.
|
# and targets which require extra arguments.
|
||||||
|
|||||||
Reference in New Issue
Block a user