commit txt2man for openSUSE:Factory

2018-03-13 Thread root
Hello community,

here is the log from the commit of package txt2man for openSUSE:Factory checked 
in at 2018-03-13 10:24:03

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


Package is "txt2man"

Tue Mar 13 10:24:03 2018 rev:3 rq:585859 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/txt2man/txt2man.changes  2017-07-09 
13:04:27.956838727 +0200
+++ /work/SRC/openSUSE:Factory/.txt2man.new/txt2man.changes 2018-03-13 
10:24:11.473442191 +0100
@@ -1,0 +2,5 @@
+Mon Mar 12 12:13:24 UTC 2018 - mplus...@suse.com
+
+- Modernise spec file using spec-cleaner
+
+---



Other differences:
--
++ txt2man.spec ++
--- /var/tmp/diff_new_pack.9ZE9wf/_old  2018-03-13 10:24:12.225415249 +0100
+++ /var/tmp/diff_new_pack.9ZE9wf/_new  2018-03-13 10:24:12.225415249 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package txt2man
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -20,12 +20,11 @@
 Version:1.6.0
 Release:0
 Summary:Convert Flat ASCII Text to man Page Format
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Development/Tools/Doc Generators
-Url:https://github.com/mvertes/txt2man
+URL:https://github.com/mvertes/txt2man
 Source0:
https://github.com/mvertes/txt2man/archive/%{name}-%{version}.tar.gz
 Requires:   gawk
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 
 %description
@@ -38,21 +37,21 @@
 %build
 
 %install
-install -Dm 0755 bookman %{buildroot}%{_bindir}/bookman
-install -Dm 0755 src2man %{buildroot}%{_bindir}/src2man
-install -Dm 0755 txt2man %{buildroot}%{_bindir}/txt2man
-install -Dm 0644 bookman.1 %{buildroot}%{_mandir}/man1/bookman.1
-install -Dm 0644 src2man.1 %{buildroot}%{_mandir}/man1/src2man.1
-install -Dm 0644 txt2man.1 %{buildroot}%{_mandir}/man1/txt2man.1
+install -Dpm 0755 bookman %{buildroot}%{_bindir}/bookman
+install -Dpm 0755 src2man %{buildroot}%{_bindir}/src2man
+install -Dpm 0755 txt2man %{buildroot}%{_bindir}/txt2man
+install -Dpm 0644 bookman.1 %{buildroot}%{_mandir}/man1/bookman.1
+install -Dpm 0644 src2man.1 %{buildroot}%{_mandir}/man1/src2man.1
+install -Dpm 0644 txt2man.1 %{buildroot}%{_mandir}/man1/txt2man.1
 
 %files
-%defattr(-,root,root,-)
-%doc COPYING Changelog README
+%license COPYING
+%doc Changelog README
 %{_bindir}/bookman
 %{_bindir}/src2man
 %{_bindir}/txt2man
-%{_mandir}/man1/bookman.1.*
-%{_mandir}/man1/src2man.1.*
-%{_mandir}/man1/txt2man.1.*
+%{_mandir}/man1/bookman.1%{?ext_man}
+%{_mandir}/man1/src2man.1%{?ext_man}
+%{_mandir}/man1/txt2man.1%{?ext_man}
 
 %changelog




commit txt2man for openSUSE:Factory

2017-07-09 Thread root
Hello community,

here is the log from the commit of package txt2man for openSUSE:Factory checked 
in at 2017-07-09 13:04:25

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


Package is "txt2man"

Sun Jul  9 13:04:25 2017 rev:2 rq:508964 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/txt2man/txt2man.changes  2015-08-03 
17:21:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.txt2man.new/txt2man.changes 2017-07-09 
13:04:27.956838727 +0200
@@ -1,0 +2,12 @@
+Sat Jul  8 14:26:34 UTC 2017 - bwiedem...@suse.com
+
+- Update to 1.6.0
+  * txt2man: Format date with C locale (by @Vogtinator)
+  * txt2man: Do not overwrite manually specified release with
+autoprobe (by @Vogtinator)
+  * txt2man: man page spelling fixes (by @eribertomota)
+  * bookman: Fix bashisms (by @eribertomota)
+  * bookman, src2man, txt2man: support timestamps from environment
+(by @reinerh) (boo#1047218)
+
+---

Old:

  txt2man-1.5.6.tar.gz

New:

  txt2man-1.6.0.tar.gz



Other differences:
--
++ txt2man.spec ++
--- /var/tmp/diff_new_pack.8C6VOU/_old  2017-07-09 13:04:28.676737165 +0200
+++ /var/tmp/diff_new_pack.8C6VOU/_new  2017-07-09 13:04:28.676737165 +0200
@@ -17,13 +17,13 @@
 
 
 Name:   txt2man
-Version:1.5.6
+Version:1.6.0
 Release:0
 Summary:Convert Flat ASCII Text to man Page Format
 License:GPL-2.0+
 Group:  Development/Tools/Doc Generators
-Url:http://mvertes.free.fr/
-Source0:http://mvertes.free.fr/download/%{name}-%{version}.tar.gz
+Url:https://github.com/mvertes/txt2man
+Source0:
https://github.com/mvertes/txt2man/archive/%{name}-%{version}.tar.gz
 Requires:   gawk
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
@@ -33,7 +33,7 @@
 script using gnu awk, that should run on any Unix like system.
 
 %prep
-%setup -q
+%setup -q -n txt2man-txt2man-1.6.0
 
 %build
 

++ txt2man-1.5.6.tar.gz -> txt2man-1.6.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/txt2man-1.5.6/Changelog 
new/txt2man-txt2man-1.6.0/Changelog
--- old/txt2man-1.5.6/Changelog 2011-03-17 00:06:07.0 +0100
+++ new/txt2man-txt2man-1.6.0/Changelog 2016-08-15 15:46:03.0 +0200
@@ -1,3 +1,13 @@
+txt2man-1.6.0  15-aug-2016
+
+* txt2man: Format date with C locale (by @Vogtinator)
+* txt2man: Do not overwrite manually specified release with
+  autoprobe (by @Vogtinator)
+* txt2man: man page spelling fixes (by @eribertomota)
+* bookman: Fix bashisms (by @eribertomota)
+* bookman, src2man, txt2man: support timestamps from environment
+  (by @reinerh)
+
 txt2man-1.5.6  16-mar-2011
 
 * txt2man: Better control of 3 letters regexp, by Robin Cornelius.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/txt2man-1.5.6/Makefile 
new/txt2man-txt2man-1.6.0/Makefile
--- old/txt2man-1.5.6/Makefile  2011-03-16 22:45:13.0 +0100
+++ new/txt2man-txt2man-1.6.0/Makefile  2016-08-15 15:46:03.0 +0200
@@ -1,15 +1,15 @@
 # Makefile
 prefix ?= /usr/local
-version = txt2man-1.5.6
+version = txt2man-1.6.0
 BIN = src2man bookman txt2man
 MAN1 = src2man.1 txt2man.1 bookman.1
 
 all: $(MAN1)
 
 install: $(MAN1)
-   mkdir -p $(prefix)/bin $(prefix)/man/man1
+   mkdir -p $(prefix)/bin $(prefix)/share/man/man1
cp $(BIN) $(prefix)/bin/
-   cp $(MAN1) $(prefix)/man/man1
+   cp $(MAN1) $(prefix)/share/man/man1
 
 clean:
rm -f *.1 *.txt *.ps *.pdf *.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/txt2man-1.5.6/bookman 
new/txt2man-txt2man-1.6.0/bookman
--- old/txt2man-1.5.6/bookman   2011-02-18 19:12:35.0 +0100
+++ new/txt2man-txt2man-1.6.0/bookman   2016-08-15 15:46:03.0 +0200
@@ -45,11 +45,14 @@
   -c coverfile Uses the file coverfile to generate the cover page,
i.e. all pages preceding the table of content. coverfile
must be in groff_ms(7) format.
+ENVIRONMENT
+  SOURCE_DATE_EPOCH  Unix timestamp that is used for date in header instead
+ of current date.
 
 EXAMPLE
   To build a reference manual from section 2 man, do:
 
-$ cd /usr/man/man2
+$ cd /usr/share/man/man2
 $ bookman -p -t 'Unix Reference Manual' * >book.pdf
 
 SEE ALSO
@@ -81,11 +84,14 @@
esac
 done
 shift $(($OPTIND - 1))
+if [ -n "$SOURCE_DATE_EPOCH" ]; then
+  date=$(LC_ALL=C date -u -d "@$SOURCE_DATE_EPOCH" +'%d %B %Y')
+fi
 date=${date:-$(date +'%d %B %Y')}
 
-[[ $1 ]] || set -- $(while read; do echo $REPLY; done)