summaryrefslogtreecommitdiff
path: root/macros.in
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-03-07 13:40:08 +0200
committerPanu Matilainen <pmatilai@redhat.com>2012-03-07 13:40:08 +0200
commitfb3afcbff7dd4e7a79869f3cd835f533527792c6 (patch)
treeb6168d3cdef90ddffb0037ee6e69b043244453e1 /macros.in
parent6047ddf6aa984a65e334450e04d272631894b039 (diff)
downloadlibrpm-tizen-fb3afcbff7dd4e7a79869f3cd835f533527792c6.tar.gz
librpm-tizen-fb3afcbff7dd4e7a79869f3cd835f533527792c6.tar.bz2
librpm-tizen-fb3afcbff7dd4e7a79869f3cd835f533527792c6.zip
Disable source fetch on build by default (for now) + comment
- We need to grow some digest (and why not external signature as well) validation mechanism before we can let rpmbuild download + execute arbitrary content from the internet, at least by default.
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/macros.in b/macros.in
index 6034721c6..7919461bc 100644
--- a/macros.in
+++ b/macros.in
@@ -387,6 +387,12 @@ package or when debugging this package.\
%_binaries_in_noarch_packages_terminate_build 1
#
+# Should rpm try to download missing sources at build-time?
+# Enabling this is dangerous as long as rpm has no means to validate
+# the integrity of the download with a digest or signature.
+%_disable_source_fetch 1
+
+#
# Program to call for each successfully built and written binary package.
# The package name is passed to the program as a command-line argument.
#