Hello community,

here is the log from the commit of package scdoc for openSUSE:Factory checked 
in at 2019-02-25 18:00:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/scdoc (Old)
 and      /work/SRC/openSUSE:Factory/.scdoc.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "scdoc"

Mon Feb 25 18:00:50 2019 rev:5 rq:678899 version:1.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/scdoc/scdoc.changes      2019-02-08 
12:11:11.261519095 +0100
+++ /work/SRC/openSUSE:Factory/.scdoc.new.28833/scdoc.changes   2019-02-25 
18:00:55.618103328 +0100
@@ -1,0 +2,15 @@
+Mon Feb 25 11:42:11 UTC 2019 - mvet...@suse.com
+
+- Install pc file in /usr/share/pkgconfig/ instead of /usr/lib
+
+-------------------------------------------------------------------
+Mon Feb 25 11:12:43 UTC 2019 - mvet...@suse.com
+
+- Update to 1.9.0:
+  * Replace localtime with gmtime
+  * Add pkg-config file, scdoc -v
+  * Allow continuation of table cells on the next line
+  * Fix link to mailing list in README
+- Add scdoc-rpmlintrc: allow .pc file
+
+-------------------------------------------------------------------

Old:
----
  1.8.1.tar.gz

New:
----
  1.9.0.tar.gz
  scdoc-rpmlintrc

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

Other differences:
------------------
++++++ scdoc.spec ++++++
--- /var/tmp/diff_new_pack.Vy8qfg/_old  2019-02-25 18:00:56.314102786 +0100
+++ /var/tmp/diff_new_pack.Vy8qfg/_new  2019-02-25 18:00:56.314102786 +0100
@@ -17,14 +17,15 @@
 
 
 Name:           scdoc
-Version:        1.8.1
+Version:        1.9.0
 Release:        0
 Summary:        A man page generator written in C99
 License:        MIT
 Group:          Development/Tools/Doc Generators
 URL:            https://git.sr.ht/~sircmpwn/scdoc/
 Source:         https://git.sr.ht/~sircmpwn/scdoc/archive/%{version}.tar.gz
-Patch:          scdoc-1.6.1-makefile.patch
+Source1:        scdoc-rpmlintrc
+Patch0:         scdoc-1.6.1-makefile.patch
 BuildRequires:  autoconf
 BuildRequires:  gcc
 BuildRequires:  glibc-devel-static
@@ -35,16 +36,17 @@
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
 
 %build
 make %{?_smp_mflags} 
 
 %install
-%make_install PREFIX=%{_prefix} %{?_smp_mflags}
+%make_install PREFIX=%{_prefix} PCDIR=%{buildroot}/usr/share/pkgconfig 
%{?_smp_mflags} 
 
 %files
 %{_bindir}/scdoc
 %{_mandir}/man?/scdoc.?%{?ext_man}
+/usr/share/pkgconfig/scdoc.pc
 
 %changelog

++++++ 1.8.1.tar.gz -> 1.9.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.8.1/Makefile new/scdoc-1.9.0/Makefile
--- old/scdoc-1.8.1/Makefile    2019-01-30 18:13:04.000000000 +0100
+++ new/scdoc-1.9.0/Makefile    2019-02-24 18:20:09.000000000 +0100
@@ -1,4 +1,4 @@
-VERSION=1.8.1
+VERSION=1.9.0
 CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
 LDFLAGS+=-static
 INCLUDE+=-Iinclude
@@ -6,6 +6,7 @@
 _INSTDIR=$(DESTDIR)$(PREFIX)
 BINDIR?=$(_INSTDIR)/bin
 MANDIR?=$(_INSTDIR)/share/man
+PCDIR?=$(_INSTDIR)/lib/pkgconfig
 OUTDIR=.build
 HOST_SCDOC=./scdoc
 .DEFAULT_GOAL=all
@@ -43,6 +44,7 @@
        install -Dm755 scdoc $(BINDIR)/scdoc
        install -Dm644 scdoc.1 $(MANDIR)/man1/scdoc.1
        install -Dm644 scdoc.5 $(MANDIR)/man5/scdoc.5
+       install -Dm644 scdoc.pc $(PCDIR)/scdoc.pc
 
 check: scdoc scdoc.1 scdoc.5
        @find test -perm -111 -exec '{}' \;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.8.1/README.md new/scdoc-1.9.0/README.md
--- old/scdoc-1.8.1/README.md   2019-01-30 18:13:04.000000000 +0100
+++ new/scdoc-1.9.0/README.md   2019-02-24 18:20:09.000000000 +0100
@@ -18,4 +18,6 @@
 
 ## Contributing
 
-Send patches/bug reports to ~sircmpwn/public-in...@lists.sr.ht
+Send patches/bug reports to [~sircmpwn/public-in...@lists.sr.ht][mailing-list]
+
+[mailing-list]: mailto:~sircmpwn/public-in...@lists.sr.ht
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.8.1/include/str.h 
new/scdoc-1.9.0/include/str.h
--- old/scdoc-1.8.1/include/str.h       1970-01-01 01:00:00.000000000 +0100
+++ new/scdoc-1.9.0/include/str.h       2019-02-24 18:20:09.000000000 +0100
@@ -0,0 +1,17 @@
+#ifndef _SCDOC_STRING_H
+#define _SCDOC_STRING_H
+#include <stdint.h>
+
+struct str {
+       char *str;
+       size_t len, size;
+};
+
+typedef struct str str_t;
+
+str_t *str_create();
+void str_free(str_t *str);
+void str_reset(str_t *str);
+int str_append_ch(str_t *str, uint32_t ch);
+
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.8.1/include/string.h 
new/scdoc-1.9.0/include/string.h
--- old/scdoc-1.8.1/include/string.h    2019-01-30 18:13:04.000000000 +0100
+++ new/scdoc-1.9.0/include/string.h    1970-01-01 01:00:00.000000000 +0100
@@ -1,17 +0,0 @@
-#ifndef _SCDOC_STRING_H
-#define _SCDOC_STRING_H
-#include <stdint.h>
-
-struct str {
-       char *str;
-       size_t len, size;
-};
-
-typedef struct str str_t;
-
-str_t *str_create();
-void str_free(str_t *str);
-void str_reset(str_t *str);
-int str_append_ch(str_t *str, uint32_t ch);
-
-#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.8.1/scdoc.5.scd new/scdoc-1.9.0/scdoc.5.scd
--- old/scdoc-1.8.1/scdoc.5.scd 2019-01-30 18:13:04.000000000 +0100
+++ new/scdoc-1.9.0/scdoc.5.scd 2019-02-24 18:20:09.000000000 +0100
@@ -118,10 +118,11 @@
 To begin a table, add an empty line followed by any number of rows.
 
 Each line of a table should start with | or : to start a new row or column
-respectively, followed by [ or - or ] to align the contents to the left, 
center,
-or right, followed by a space and the contents of that cell.  You may use a
-space instead of an alignment specifier to inherit the alignment of the same
-column in the previous row.
+respectively (or space to continue the previous cell on multiple lines),
+followed by [ or - or ] to align the contents to the left, center, or right,
+followed by a space and the contents of that cell.  You may use a space instead
+of an alignment specifier to inherit the alignment of the same column in the
+previous row.
 
 The first character of the first row is not limited to | and has special
 meaning. [ will produce a table with borders around each cell. | will produce a
@@ -140,6 +141,7 @@
 |  *Row 2*
 :  こんにちは
 :  世界
+   !
 ```
 
 [[ *Foo*
@@ -151,6 +153,7 @@
 |  *Row 2*
 :  こんにちは
 :  世界
+   !
 
 ## LITERAL TEXT
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.8.1/scdoc.pc new/scdoc-1.9.0/scdoc.pc
--- old/scdoc-1.8.1/scdoc.pc    1970-01-01 01:00:00.000000000 +0100
+++ new/scdoc-1.9.0/scdoc.pc    2019-02-24 18:20:09.000000000 +0100
@@ -0,0 +1,7 @@
+prefix=/usr
+exec_prefix=${prefix}
+scdoc=${exec_prefix}/bin/scdoc
+
+Name: scdoc
+Description: Man page generator
+Version: 1.9.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.8.1/src/main.c new/scdoc-1.9.0/src/main.c
--- old/scdoc-1.8.1/src/main.c  2019-01-30 18:13:04.000000000 +0100
+++ new/scdoc-1.9.0/src/main.c  2019-02-24 18:20:09.000000000 +0100
@@ -6,9 +6,10 @@
 #include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <time.h>
 #include <unistd.h>
-#include "string.h"
+#include "str.h"
 #include "unicode.h"
 #include "util.h"
 
@@ -104,7 +105,7 @@
        } else {
                date_time = time(NULL);
        }
-       struct tm *date_tm = localtime(&date_time);
+       struct tm *date_tm = gmtime(&date_time);
        strftime(date, sizeof(date), "%F", date_tm);
        while ((ch = parser_getch(p)) != UTF8_INVALID) {
                if ((ch < 0x80 && isalnum(ch)) || ch == '_' || ch == '-' || ch 
== '.') {
@@ -480,6 +481,8 @@
                                ++column;
                        }
                        break;
+               case ' ':
+                       goto continue_cell;
                default:
                        parser_fatal(p, "Expected either '|' or ':'");
                        break;
@@ -515,6 +518,7 @@
                        break;
                }
                curcell->contents = str_create();
+continue_cell:
                switch (ch = parser_getch(p)) {
                case ' ':
                        // Read out remainder of the text
@@ -686,7 +690,10 @@
 }
 
 int main(int argc, char **argv) {
-       if (argc > 1) {
+       if (argc == 2 && strcmp(argv[1], "-v") == 0) {
+               printf("scdoc " VERSION "\n");
+               return 0;
+       } else if (argc > 1) {
                fprintf(stderr, "Usage: scdoc < input.scd > output.roff\n");
                return 1;
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scdoc-1.8.1/src/string.c new/scdoc-1.9.0/src/string.c
--- old/scdoc-1.8.1/src/string.c        2019-01-30 18:13:04.000000000 +0100
+++ new/scdoc-1.9.0/src/string.c        2019-02-24 18:20:09.000000000 +0100
@@ -1,6 +1,6 @@
 #include <stdlib.h>
 #include <stdint.h>
-#include "string.h"
+#include "str.h"
 #include "unicode.h"
 
 static int ensure_capacity(str_t *str, size_t len) {

++++++ scdoc-1.6.1-makefile.patch ++++++
--- /var/tmp/diff_new_pack.Vy8qfg/_old  2019-02-25 18:00:56.398102721 +0100
+++ /var/tmp/diff_new_pack.Vy8qfg/_new  2019-02-25 18:00:56.402102719 +0100
@@ -2,7 +2,7 @@
 --- scdoc-1.8.0/Makefile       2019-01-27 17:09:10.000000000 +0100
 +++ scdoc-1.8.0.new/Makefile   2019-02-04 10:31:38.792833379 +0100
 @@ -1,6 +1,5 @@
- VERSION=1.8.1
+ VERSION=1.9.0
  CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror 
-Wno-unused-parameter
 -LDFLAGS+=-static
  INCLUDE+=-Iinclude

++++++ scdoc-rpmlintrc ++++++
# Only used to detec whether scdoc is present. No requires on devel other files.
addFilter("E: devel-file-in-non-devel-package .* /usr/share/pkgconfig/scdoc.pc")

Reply via email to