Hello community, here is the log from the commit of package wgetpaste for openSUSE:Factory checked in at 2016-01-08 15:23:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wgetpaste (Old) and /work/SRC/openSUSE:Factory/.wgetpaste.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wgetpaste" Changes: -------- --- /work/SRC/openSUSE:Factory/wgetpaste/wgetpaste.changes 2014-11-26 10:33:29.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.wgetpaste.new/wgetpaste.changes 2016-01-08 15:24:05.000000000 +0100 @@ -1,0 +2,9 @@ +Fri Jan 8 11:35:02 UTC 2016 - [email protected] + +- Version update to 2.26: + * Various tweaks for the services to support more syntax/etc. +- Remove no-longer needed patches: + * wgetpaste-2.25-pinwand.patch + * wgetpaste-2.25-pinwand-raw.patch + +------------------------------------------------------------------- Old: ---- wgetpaste-2.25-pinwand-raw.patch wgetpaste-2.25-pinwand.patch wgetpaste-2.25.tar.bz2 New: ---- wgetpaste-2.26.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wgetpaste.spec ++++++ --- /var/tmp/diff_new_pack.jjPF91/_old 2016-01-08 15:24:05.000000000 +0100 +++ /var/tmp/diff_new_pack.jjPF91/_new 2016-01-08 15:24:05.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package wgetpaste # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: wgetpaste -Version: 2.25 +Version: 2.26 Release: 0 Summary: Command-line interface to various pastebins License: SUSE-Public-Domain @@ -25,8 +25,6 @@ Url: http://wgetpaste.zlin.dk/ Source: http://wgetpaste.zlin.dk/%{name}-%{version}.tar.bz2 Source1: services.conf -Patch0: wgetpaste-2.25-pinwand.patch -Patch1: wgetpaste-2.25-pinwand-raw.patch Requires: bash Requires: coreutils Requires: wget @@ -38,8 +36,6 @@ %prep %setup -q -%patch0 -p3 -%patch1 -p0 %build # do nothing ++++++ wgetpaste-2.25.tar.bz2 -> wgetpaste-2.26.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wgetpaste-2.25/wgetpaste new/wgetpaste-2.26/wgetpaste --- old/wgetpaste-2.25/wgetpaste 2014-05-23 18:51:44.000000000 +0200 +++ new/wgetpaste-2.26/wgetpaste 2015-02-06 13:03:13.000000000 +0100 @@ -4,7 +4,7 @@ # Copyright (c) 2007-2009 Bo Ørsted Andresen <[email protected]> # Distributed in the public domain. Do with it whatever you want. -VERSION="2.25" +VERSION="2.26" # don't inherit LANGUAGE from the env unset LANGUAGE @@ -14,14 +14,7 @@ N=$'\n' ### services -SERVICES="bpaste ca codepad dpaste gists poundpython" -# bpaste -ENGINE_bpaste=lodgeit -URL_bpaste="http://bpaste.net/" -# ca -ENGINE_ca=ca -URL_ca="http://pastebin.ca/" -SIZE_ca="1024000 1%MB" +SERVICES="codepad dpaste gists poundpython" # codepad ENGINE_codepad=codepad URL_codepad="http://codepad.org/" @@ -44,17 +37,6 @@ REGEX_RAW_tinyurl='s|^\(http://[^/]*/\)\([[:alnum:]]*\)$|\1\2|' ### engines -# ca -LANGUAGES_ca="Plain%Text Asterisk%Configuration C C++ PHP Perl Java VB C# Ruby Python Pascal \ -mIRC PL/I XML SQL Scheme ActionScript Ada Apache%Configuration Assembly%(NASM) ASP Bash CSS \ -Delphi HTML%4.0%Strict JavaScript LISP Lua Microprocessor%ASM Objective%C VB.NET" -LANGUAGE_COUNT_ca=0 -EXPIRATIONS_ca="Never 5%minutes 10%minutes 15%minutes 30%minutes 45%minutes 1%hour 2%hours \ -4%hours 8%hours 12%hours 1%day 2%days 3%days 1%week 2%weeks 3%weeks 1%month 2%months \ -3%months 4%months 5%months 6%months 1%year" -POST_ca="s=Submit+Post name description type expiry % content" -REGEX_URL_ca='s|^.*content="[0-9]*;\(http://[^/]*/[0-9]*\)".*$|\1|p' -REGEX_RAW_ca='s|^\(http://[^/]*/\)\([0-9]*\)$|\1raw/\2|' # codepad LANGUAGES_codepad="C C++ D Haskell Lua OCaml PHP Perl Plain%Text Python Ruby Scheme Tcl" POST_codepad="submit % % lang % % code" @@ -445,7 +427,8 @@ } showurl() { - echo "Your ${2}paste can be seen here: $1" + echo -n "Your ${2}paste can be seen here: " >&2 + echo "$1" [[ $XPASTE ]] && x_paste "$1" primary [[ $XCLIPPASTE ]] && x_paste "$1" clipboard } @@ -675,7 +658,7 @@ load_configs [[ $SERVICESET ]] && verifyservice "$SERVICESET" && SERVICE=$(escape "$SERVICESET") DEFAULT_NICK=${DEFAULT_NICK:-$(whoami)} || die "whoami failed" -DEFAULT_SERVICE=${DEFAULT_SERVICE:-bpaste} +DEFAULT_SERVICE=${DEFAULT_SERVICE:-poundpython} DEFAULT_LANGUAGE=${DEFAULT_LANGUAGE:-Plain Text} DEFAULT_EXPIRATION=${DEFAULT_EXPIRATION:-1 month} SERVICE=${SERVICE:-${DEFAULT_SERVICE}}
