Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:garloff:obs-service-deb
obs-service-download_files
Build-Module.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Build-Module.diff of Package obs-service-download_files
Index: obs-service-download_files-0.7.0/download_files =================================================================== --- obs-service-download_files-0.7.0.orig/download_files +++ obs-service-download_files-0.7.0/download_files @@ -15,7 +15,7 @@ CHANGES_GENERATE=disable CHANGES_AUTHOR="" CHANGES_LINES_MAX=30 -CURL=(/usr/bin/curl --location --silent --connect-timeout 30 --retry 2) +CURL=(/usr/bin/curl --location --silent --fail --connect-timeout 30 --retry 2) # We do not tell the server that we are an OBS tool by default anymore, # because too many sites just have a white list, but they accept wget # CURL=("${CURL[@]}" -A 'OBS-wget') @@ -214,6 +214,7 @@ $(LC_ALL=POSIX TZ=UTC date) - ${CHANGES_ default_config="/usr/lib/build/configs/sl12.3.conf" +[ -e "/usr/lib/obs-build/configs/debian.conf" ] && default_config="/usr/lib/obs-build/configs/debian.conf" [ -e "/usr/lib/build/configs/default.conf" ] && default_config="/usr/lib/build/configs/default.conf" SRCDIR=$PWD @@ -222,7 +223,7 @@ RETURN=0 for i in *.spec PKGBUILD appimage.yml; do test -e "$i" || continue - for url in `perl -I/usr/lib/build -MBuild -e Build::show $default_config "$i" sources` `perl -I/usr/lib/build -MBuild -e Build::show $default_config "$i" patches`; do + for url in `perl -I/usr/lib/obs-build -MBuild -e Build::show $default_config "$i" sources` `perl -I/usr/lib/obs-build -MBuild -e Build::show $default_config "$i" patches`; do MYCACHEDIRECTORY="$CACHEDIRECTORY" PROTOCOL="${url%%:*}"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor