File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,11 @@ function new_rpms {
103
103
diff -u /tmp/rpms-before /tmp/rpms-after | tee /tmp/rpms-diff | grep -v ' ^[+][+]' | grep ' ^[+]' | sed ' s/^[+]//'
104
104
}
105
105
106
+ rpmbuild_options=" "
107
+ if [ -n " ${BUILDER_SKIP_CHECKS} " ]; then
108
+ rpmbuild_options=" --nocheck"
109
+ fi
110
+
106
111
for spec in " ${specs[@]} " ; do
107
112
echo " ==================================================================="
108
113
echo " -> $spec "
@@ -123,12 +128,13 @@ for spec in "${specs[@]}"; do
123
128
124
129
# Download sources
125
130
spectool -g -R " $spec "
126
-
131
+
127
132
# Build the rpm and record which files are new
128
133
rpm_file_list > /tmp/rpms-before
129
134
# NOTE: source_date_epoch_from_changelog is always overridden by SOURCE_DATE_EPOCH if that is set.
130
135
# See https://fossies.org/linux/rpm/build/build.c#l_298
131
136
rpmbuild \
137
+ ${rpmbuild_options} \
132
138
--define " _sdistdir /sdist" \
133
139
--define " _buildhost reproducible" \
134
140
--define " source_date_epoch_from_changelog Y" \
@@ -147,4 +153,3 @@ for spec in "${specs[@]}"; do
147
153
echo " Skipping spec (BUILDER_SKIP or in cache)"
148
154
fi
149
155
done
150
-
You can’t perform that action at this time.
0 commit comments