diff --git a/all.diff b/all.diff deleted file mode 100644 index 950a9a2..0000000 --- a/all.diff +++ /dev/null @@ -1,41 +0,0 @@ -From: Jan Engelhardt -Date: 2015-03-15 11:57:37.631698089 +0100 - -fix blatant errors - -gcc: -gperiodic.c: In function 'menu_file_exit': -gperiodic.c:169:1: warning: control reaches end of non-void function [-Wreturn-type] - } -gperiodic.c: In function 'main_prog': -gperiodic.c:481:9: warning: 'buff' may be used uninitialized in this function [-Wmaybe-uninitialized] - free(buff); - -rpmlint: -I: Program returns random data in a function -E: gperiodic no-return-in-nonvoid-function gperiodic.c:169 ---- - gperiodic.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -Index: gperiodic-3.0.0/gperiodic.c -=================================================================== ---- gperiodic-3.0.0.orig/gperiodic.c -+++ gperiodic-3.0.0/gperiodic.c -@@ -166,6 +166,7 @@ void display_element_dialog( GtkWidget * - GCallback menu_file_exit(void) - { - main_window_exit(NULL,NULL); -+ return NULL; - } - - -@@ -321,7 +322,7 @@ void main_prog(void) - int menu_num_items; - GdkColor tooltip_color_bg, tooltip_color_fg; - int red, gree, blue; -- char *buff; -+ char *buff = NULL; - int i; - - GtkWidget *menubar; diff --git a/gperiodic-3.0.1.tar.gz b/gperiodic-3.0.1.tar.gz deleted file mode 100644 index 96b6b6f..0000000 --- a/gperiodic-3.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d023e6f3b8aef773331c5f87d1de17f5fa120e67f7b6da1439ca7861a2df0905 -size 375347 diff --git a/gperiodic-3.0.2.tar.gz b/gperiodic-3.0.2.tar.gz new file mode 100644 index 0000000..b1c3dd6 --- /dev/null +++ b/gperiodic-3.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91c64b90dfd65c79e62a8a1413993d4dcc516b82a3395f4d0e5b1a5e4af25697 +size 419954 diff --git a/gperiodic.changes b/gperiodic.changes index 073c6c9..b057354 100644 --- a/gperiodic.changes +++ b/gperiodic.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Feb 21 00:03:37 UTC 2017 - jengelh@inai.de + +- Update to new upstream release 3.0.2 + * Update info about elements with numbers 113, 115, 117, 118 +- Remove all.diff (fixed upstream) + ------------------------------------------------------------------- Sun Mar 13 10:08:00 UTC 2016 - jengelh@inai.de diff --git a/gperiodic.spec b/gperiodic.spec index 2e7b673..da200ef 100644 --- a/gperiodic.spec +++ b/gperiodic.spec @@ -1,7 +1,7 @@ # # spec file for package gperiodic # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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: gperiodic -Version: 3.0.1 +Version: 3.0.2 Release: 0 Summary: A program for looking up data of elements from the periodic table License: GPL-2.0+ @@ -25,7 +25,6 @@ Group: Productivity/Scientific/Chemistry Url: http://gperiodic.sf.net/ Source: http://download.sf.net/gperiodic/%name-%version.tar.gz -Patch1: all.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes BuildRequires: intltool @@ -39,10 +38,8 @@ periodic table. This program also features a non-graphical interface. %prep %setup -q -%patch -P 1 -p1 %build -perl -i -pe 's{^\tmake\b}{\t\$(MAKE)}g' Makefile # reenable parallel build make %{?_smp_mflags} CFLAGS="%optflags" %install