Hello community,

here is the log from the commit of package wgetpaste for openSUSE:Factory 
checked in at 2016-04-28 16:56:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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      2016-01-08 
15:24:05.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.wgetpaste.new/wgetpaste.changes 2016-04-28 
17:00:39.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Apr 16 14:38:43 UTC 2016 - [email protected]
+
+- Update to 2.27
+- Recommend xclip
+
+-------------------------------------------------------------------

Old:
----
  wgetpaste-2.26.tar.bz2

New:
----
  wgetpaste-2.27.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ wgetpaste.spec ++++++
--- /var/tmp/diff_new_pack.AcTjcy/_old  2016-04-28 17:00:42.000000000 +0200
+++ /var/tmp/diff_new_pack.AcTjcy/_new  2016-04-28 17:00:42.000000000 +0200
@@ -17,17 +17,18 @@
 
 
 Name:           wgetpaste
-Version:        2.26
+Version:        2.27
 Release:        0
 Summary:        Command-line interface to various pastebins
 License:        SUSE-Public-Domain
 Group:          Productivity/Other
 Url:            http://wgetpaste.zlin.dk/
-Source:         http://wgetpaste.zlin.dk/%{name}-%{version}.tar.bz2
+Source0:        http://wgetpaste.zlin.dk/%{name}-%{version}.tar.bz2
 Source1:        services.conf
 Requires:       bash
 Requires:       coreutils
 Requires:       wget
+Recommends:     xclip
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 

++++++ wgetpaste-2.26.tar.bz2 -> wgetpaste-2.27.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wgetpaste-2.26/wgetpaste new/wgetpaste-2.27/wgetpaste
--- old/wgetpaste-2.26/wgetpaste        2015-02-06 13:03:13.000000000 +0100
+++ new/wgetpaste-2.27/wgetpaste        2016-03-08 14:18:33.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.26"
+VERSION="2.27"
 
 # don't inherit LANGUAGE from the env
 unset LANGUAGE
@@ -85,7 +85,7 @@
 json_gists() {
     local description="${1}" language="${2}" content="${3}"
     [[ "$language" = auto ]] && language="" || language=".$language"
-    echo 
"{\"description\":\"${description}\",\"public\":\"true\",\"files\":{\"${description//\/}${language}\":{\"content\":\"${content}\"}}"
+    echo 
"{\"description\":\"${description}\",\"public\":\"${PUBLIC_gists}\",\"files\":{\"${description//\/}${language}\":{\"content\":\"${content}\"}}"
 }
 # lodgeit
 LANGUAGES_lodgeit="ABAP ActionScript ActionScript%3 Ada ANTLR 
ANTLR%With%ActionScript%Target \
@@ -352,6 +352,9 @@
 An additional http header can be passed by setting HEADER_\${SERVICE} in any 
of the
 configuration files mentioned above. For example, authenticating with github 
gist:
 HEADER_gists="Authorization: token 1234abc56789..."
+
+In the case of github gist you can also set PUBLIC_gists='false' if you want to
+default to secret instead of public gists.
 EOF
 }
 
@@ -671,6 +674,9 @@
 [[ -z $SOURCE ]] && SOURCE="stdin"
 CVT_TABS=No
 
+PUBLIC_gists=${PUBLIC_gists:-true}
+[[ "${PUBLIC_gists}" = "true" || "${PUBLIC_gists}" = "false" ]] || die 
"Invalid setting for PUBLIC_gists. Can either be 'true' or 'false' not 
'${PUBLIC_gists}'"
+
 INFO_COMMAND=${INFO_COMMAND:-"emerge --info"}
 INFO_ARGS=${INFO_ARGS:-"--ignore-default-opts"}
 


Reply via email to