Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:munix9
less
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package less
--- less.spec.orig +++ less.spec @@ -66,6 +66,7 @@ export LDFLAGS="-pie" %configure # # regenerate help.c because less.hlp was patched +sed -e 's/gmtime()/gmtime($ENV{SOURCE_DATE_EPOCH} || time)/' -i mkhelp.pl ./mkhelp.pl <less.hlp >help.c # # build less --- lessopen.sh.orig +++ lessopen.sh @@ -52,7 +52,8 @@ case ${type#"$SRC": } in *"compress'd data"*|\ *"packed data"*) CMD="gzip -dc" ;; - *"Zip archive data"*) + *"Zip archive data"*|\ + *"Java archive data"*) CMD="unzip -v" ;; *"bzip"*" compressed data"*) CMD="bzip2 -dc" ;; @@ -61,6 +62,8 @@ case ${type#"$SRC": } in CMD="xz -dc" ;; *"Zstandard compressed data"*) CMD="zstd -dc" ;; + *"ASCII cpio archive"*) + CMD="cpio -ictvF" ;; *) rm -f "$TMPF_pre" TMPF_pre="$SRC" ;; @@ -83,11 +86,11 @@ test -n "$CMD" && $CMD "$SRC" >"$TMPF_pr *RPM*) if [ -x "`/usr/bin/which rpm 2>/dev/null`" ]; then (echo -e "=============================== Information ====================================\n"; - rpm -qip "\"$TMPF_pre\""; + rpm -qip "$TMPF_pre"; echo -e "\n\n================================= Changelog (head) =============================\n"; - rpm -qp --changelog "\"$TMPF_pre\"" | head -n 16 + rpm -qp --changelog "$TMPF_pre" | head -n 16 echo -e "\n\n================================= Content ======================================\n"; - rpm -qlp "\"$TMPF_pre\"" + rpm -qlp "$TMPF_pre" ) >"$TMPF" 2>/dev/null else echo "rpm is not available for preprocessing" 1>&2; rm -f "$TMPF"; TMPF="$TMPF_pre"; fi ;;
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