Work around the scons Package() VERSION attribute
by specifying the target and source explicitly
This commit is contained in:
+10
-10
@@ -152,16 +152,16 @@ subdirs = [
|
|||||||
for subdir in subdirs:
|
for subdir in subdirs:
|
||||||
env.SConscript(subdir + '/SConscript', variant_dir='#build/' + subdir, src_dir='#'+subdir, duplicate=0)
|
env.SConscript(subdir + '/SConscript', variant_dir='#build/' + subdir, src_dir='#'+subdir, duplicate=0)
|
||||||
|
|
||||||
env.Package(NAME = 'libucore',
|
env.Package(target = 'libucore-' + version_info['version_str'] + '.tar.gz',
|
||||||
VERSION = version_info['version_str'] + '.0', #Trailing .0 is needed cause a SCons bug
|
source = env.FindInstalledFiles(),
|
||||||
PACKAGEVERSION = 0,
|
NAME = 'libucore',
|
||||||
PACKAGETYPE = 'targz',
|
VERSION = version_info['version_str'],
|
||||||
LICENSE = 'BSD',
|
PACKAGEVERSION = 0,
|
||||||
SUMMARY = 'libucore is a C library of misc useful stuff including an eventloop, timer support and various data-structures.',
|
PACKAGETYPE = 'targz',
|
||||||
DESCRIPTION = 'libucore is a C library of misc useful stuff including an eventloop, timer support and various data-structures.',
|
LICENSE = 'BSD',
|
||||||
X_RPM_GROUP = 'Development/Libraries'
|
SUMMARY = 'libucore is a C library of misc useful stuff including an eventloop, timer support and various data-structures.',
|
||||||
|
DESCRIPTION = 'libucore is a C library of misc useful stuff including an eventloop, timer support and various data-structures.',
|
||||||
|
X_RPM_GROUP = 'Development/Libraries'
|
||||||
)
|
)
|
||||||
|
|
||||||
env.Default('src')
|
env.Default('src')
|
||||||
|
|||||||
Reference in New Issue
Block a user