Home
last modified time | relevance | path

Searched refs:spec_file (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/distutils/command/
Dbdist_rpm.py396 spec_file = [
417 spec_file.append('# Workaround for http://bugs.python.org/issue14443')
418 spec_file.append('%define __os_install_post ' + fixed_hook + '\n')
427 spec_file.extend([
436 spec_file.append('Source0: %{name}-%{unmangled_version}.tar.bz2')
438 spec_file.append('Source0: %{name}-%{unmangled_version}.tar.gz')
440 spec_file.extend([
449 spec_file.append('BuildArch: noarch')
451 spec_file.append( 'BuildArch: %s' % self.force_arch )
462 spec_file.append('%s: %s' % (field, ' '.join(val)))
[all …]
/third_party/selinux/libselinux/src/
Dlabel.c148 if (rec->spec_file != NULL) { in selabel_fini()
149 path = rec->spec_file[0]; in selabel_fini()
154 if (compat_validate(rec, lr, rec->spec_file, lr->lineno)) in selabel_fini()
210 if (rec->spec_file != NULL) { in free_spec_files()
212 if (rec->spec_file[path_index] != NULL) { in free_spec_files()
213 free(rec->spec_file[path_index]); in free_spec_files()
216 free(rec->spec_file); in free_spec_files()
257 free(rec->spec_file); in selabel_open()
399 free(rec->spec_file); in selabel_close()
Dlabel_internal.h112 char **spec_file; member
115 char *spec_file; member
Dlabel_file.c736 rec->spec_file = (char **)calloc(path_nums, sizeof(char *)); in init()
737 if (rec->spec_file == NULL) { in init()
745 rec->spec_file[i] = strdup(opts[n].value); in init()
746 if (rec->spec_file[i] == NULL) { in init()
754 status = process_file(rec->spec_file[path_index], NULL, rec, prefix, rec->digest); in init()
760 status = nodups_specs(data, rec->spec_file[path_index]); in init()
832 rec->spec_file = strdup(path); in init()
Dlabel_db.c295 rec->spec_file = strdup(path); in db_init()
296 if (!rec->spec_file) { in db_init()
Dlabel_media.c103 rec->spec_file = strdup(path); in init()
Dlabel_x.c130 rec->spec_file = strdup(path); in init()