commit sc for openSUSE:Factory

2012-02-21 Thread h_root
Hello community,

here is the log from the commit of package sc for openSUSE:Factory checked in 
at 2012-02-21 12:25:36

Comparing /work/SRC/openSUSE:Factory/sc (Old)
 and  /work/SRC/openSUSE:Factory/.sc.new (New)


Package is "sc", Maintainer is "f...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/sc/sc.changes2011-09-23 12:45:29.0 
+0200
+++ /work/SRC/openSUSE:Factory/.sc.new/sc.changes   2012-02-21 
12:25:38.0 +0100
@@ -1,0 +2,5 @@
+Mon Feb 13 10:55:45 UTC 2012 - co...@suse.com
+
+- patch license to follow spdx.org standard
+
+---



Other differences:
--
++ sc.spec ++
--- /var/tmp/diff_new_pack.7lKakm/_old  2012-02-21 12:25:39.0 +0100
+++ /var/tmp/diff_new_pack.7lKakm/_new  2012-02-21 12:25:39.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sc
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Guido Berhoerster.
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,14 +17,13 @@
 #
 
 
-
 Name:   sc
 Version:7.16
-Release:1
-License:Public Domain
+Release:0
 Summary:Spreadsheet Calculator
-Url:http://ibiblio.org/pub/Linux/apps/financial/spreadsheet/
+License:SUSE-Public-Domain
 Group:  Productivity/Office/Spreadsheets
+Url:http://ibiblio.org/pub/Linux/apps/financial/spreadsheet/
 Source: 
http://ibiblio.org/pub/Linux/apps/financial/spreadsheet/sc-%{version}.tar.gz
 Patch0: sc-fix-malloc-redefinition.patch
 Patch1: sc-fix-missing-includes.patch
@@ -36,8 +35,8 @@
 Patch7: sc-fix-parentheses.patch
 Patch8: sc-do-not-use-reserved-symbols.patch
 Patch9: sc-fix-eval-parser.patch
-BuildRequires:  ncurses-devel
 BuildRequires:  bison
+BuildRequires:  ncurses-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit sc for openSUSE:Factory

2011-09-05 Thread h_root

Hello community,

here is the log from the commit of package sc for openSUSE:Factory
checked in at Mon Sep 5 17:14:18 CEST 2011.




New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ sc/sc.changes   2011-08-27 21:09:13.0 +0200
@@ -0,0 +1,5 @@
+---
+Sun Aug 21 20:16:19 UTC 2011 - g...@opensuse.org
+
+- initial packaging
+

calling whatdependson for head-i586


New:

  sc-7.16.tar.gz
  sc-do-not-use-reserved-symbols.patch
  sc-fix-conflicting-macro.patch
  sc-fix-eval-parser.patch
  sc-fix-execl-call.patch
  sc-fix-malloc-redefinition.patch
  sc-fix-missing-includes.patch
  sc-fix-missing-prototypes.patch
  sc-fix-missing-return-value.patch
  sc-fix-parentheses.patch
  sc-fix-uninitialized-variables.patch
  sc.changes
  sc.spec



Other differences:
--
++ sc.spec ++
#
# spec file for package sc
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Guido Berhoerster.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:   sc
Version:7.16
Release:1
License:Public Domain
Summary:Spreadsheet Calculator
Url:http://ibiblio.org/pub/Linux/apps/financial/spreadsheet/
Group:  Productivity/Office/Spreadsheets
Source: 
http://ibiblio.org/pub/Linux/apps/financial/spreadsheet/sc-%{version}.tar.gz
Patch0: sc-fix-malloc-redefinition.patch
Patch1: sc-fix-missing-includes.patch
Patch2: sc-fix-uninitialized-variables.patch
Patch3: sc-fix-execl-call.patch
Patch4: sc-fix-missing-return-value.patch
Patch5: sc-fix-conflicting-macro.patch
Patch6: sc-fix-missing-prototypes.patch
Patch7: sc-fix-parentheses.patch
Patch8: sc-do-not-use-reserved-symbols.patch
Patch9: sc-fix-eval-parser.patch
BuildRequires:  ncurses-devel
BuildRequires:  bison
BuildRoot:  %{_tmppath}/%{name}-%{version}-build

%description
sc is a free curses-based spreadsheet program that uses key bindings similar to
vi and less.

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1

%build
make %{?_smp_mflags} LIBDIR="%{_docdir}/%{name}" CFLAGS="%{optflags} -DSYSV3" 
all sc.1 psc.1

%install
install -p -D -m 755 sc "%{buildroot}%{_bindir}/sc"
install -p -D -m 755 psc "%{buildroot}%{_bindir}/psc"
install -p -D -m 755 scqref "%{buildroot}%{_bindir}/pscqref"
install -p -D -m 644 sc.1 "%{buildroot}%{_mandir}/man1/sc.1"
install -p -D -m 644 psc.1 "%{buildroot}%{_mandir}/man1/psc.1"

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc CHANGES README tutorial.sc
%doc %{_mandir}/man1/sc.1*
%doc %{_mandir}/man1/psc.1*
%{_bindir}/sc
%{_bindir}/psc
%{_bindir}/pscqref

%changelog
++ sc-do-not-use-reserved-symbols.patch ++
Index: sc-7.16/vi.c
===
--- sc-7.16.orig/vi.c
+++ sc-7.16/vi.c
@@ -42,7 +42,7 @@ void gotobottom();
 
 #define istext(a) (isalnum(a) || ((a) == '_'))
 
-#define bool   int
+#define booleanint
 #define true   1
 #define false  0
 
@@ -74,7 +74,7 @@ static void replace_mode();
 static void restore_it();
 static void savedot(int c);
 static void save_hist();
-static void search_again(bool reverse);
+static void search_again(boolean reverse);
 static void search_hist();
 static void search_mode(char sind);
 static void stop_edit();
@@ -1565,7 +1565,7 @@ search_hist()
 }
 
 static void
-search_again(bool reverse)
+search_again(boolean reverse)
 {
 int prev_match;
 int found_it;
++ sc-fix-conflicting-macro.patch ++
Index: sc-7.16/cmds.c
===
--- sc-7.16.orig/cmds.c
+++ sc-7.16/cmds.c
@@ -2407,7 +2407,7 @@ syncref(register struct enode *e)
 } else {
switch (e->op) {
case 'v':
-   if (e->e.v.vp->flags & is_cleared) {
+   if (e->e.v.vp->flags & is_cleared_sc) {
e->op = ERR_;
e->e.o.left = NULL;
e->e.o.right = NULL;
Index: sc-7.16/interp.c
===
--- sc-7.16.orig/interp.c
+++ sc-7.16/interp.c
@@ -215