Hello community,

here is the log from the commit of package a2ps for openSUSE:Factory checked in 
at 2019-03-19 09:58:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/a2ps (Old)
 and      /work/SRC/openSUSE:Factory/.a2ps.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "a2ps"

Tue Mar 19 09:58:44 2019 rev:46 rq:685821 version:4.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/a2ps/a2ps.changes        2018-10-18 
15:31:29.170634637 +0200
+++ /work/SRC/openSUSE:Factory/.a2ps.new.28833/a2ps.changes     2019-03-19 
09:58:44.436094572 +0100
@@ -1,0 +2,8 @@
+Sun Mar 17 10:41:39 UTC 2019 - Jan Engelhardt <jeng...@inai.de>
+
+- Implement shared library packaging policy.
+- Remove --with-pic which is useless with --disable-static.
+- Use noun phrase in summary.
+- Resolve PreReq FIXMEs.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ a2ps.spec ++++++
--- /var/tmp/diff_new_pack.6yRdhR/_old  2019-03-19 09:58:46.828093612 +0100
+++ /var/tmp/diff_new_pack.6yRdhR/_new  2019-03-19 09:58:46.884093590 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package a2ps
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,14 +12,14 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           a2ps
 Version:        4.14
 Release:        0
-Summary:        Converts ASCII Text into PostScript
+Summary:        Tool to convert ASCII/Latin Text into PostScript
 License:        GPL-3.0-or-later
 Group:          Productivity/Publishing/PS
 Url:            http://www.gnu.org/software/a2ps/a2ps.html
@@ -65,8 +65,6 @@
 Requires:       sed
 Requires:       w3m
 Requires:       wdiff
-# FIXME: use proper Requires(pre/post/preun/...)
-PreReq:         %{install_info_prereq}
 Requires(post): %{install_info_prereq}
 Requires(preun): %{install_info_prereq}
 Suggests:       ImageMagick
@@ -89,24 +87,30 @@
 a2ps converts ASCII text into PostScript. This feature is used by
 apsfilter, for example, to pretty-print ASCII text.
 
-Warning: a2ps is not able to convert complex unicode (UTF-8) text to
+Warning: a2ps is not able to convert complex Unicode (UTF-8) text to
 PostScript.  Only language text which can be converted from UTF-8 to
-latin encodings are supported.
+Latin encodings are supported.
+
+%package -n liba2ps1
+Summary:        Library to convert ASCII/Latin text into PostScript
+Group:          System/Libraries
+
+%description -n liba2ps1
+liba2ps converts ASCII text into PostScript.
 
 %package     -n a2ps-devel
 Summary:        Library and header file for the interface of a2ps
 Group:          Development/Libraries/Other
-Requires:       %{name} = %{version}
 Requires:       glibc-devel
-Provides:       a2ps:%{_libdir}/liba2ps.a
+Requires:       liba2ps1 = %{version}
 
 %description -n a2ps-devel
 a2ps converts ASCII text into PostScript. This feature is used by
 apsfilter, for example, to pretty-print ASCII text.
 
-Warning: a2ps is not able to convert complex unicode (UTF-8) text to
+Warning: a2ps is not able to convert complex Unicode (UTF-8) text to
 PostScript.  Only language text which can be converted from UTF-8 to
-latin encodings are supported.
+Latin encodings are supported.
 
 %prep
 %setup -q -n a2ps-4.14
@@ -152,7 +156,7 @@
  export LPR=lpr
  export CC=gcc
  export TZ=UTC
-%configure --enable-shared --disable-static --with-pic --with-medium=LC_PAPER  
        \
+%configure --enable-shared --disable-static --with-medium=LC_PAPER \
        --with-encoding=LC_CTYPE
  con=""
  pushd contrib
@@ -193,7 +197,7 @@
  fi
 
 %install
- make install DESTDIR=%{buildroot} PSFONT_PATH=%{_datadir}/ghostscript/fonts
+ %make_install PSFONT_PATH=%{_datadir}/ghostscript/fonts
  rm -r %{buildroot}/%{_infodir}/regex*
  rm -r %{buildroot}/%{_infodir}/dir
  %find_lang %{name}
@@ -201,7 +205,6 @@
  install -m 0755 %{SOURCE4} %{buildroot}/%{_bindir}/
 
 %post
-/sbin/ldconfig
 %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
 %install_info --info-dir=%{_infodir} %{_infodir}/ogonkify.info.gz
 
@@ -209,10 +212,10 @@
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/ogonkify.info.gz
 
-%postun -p /sbin/ldconfig
+%post   -n liba2ps1 -p /sbin/ldconfig
+%postun -n liba2ps1 -p /sbin/ldconfig
 
 %files -f %{name}.lang
-%defattr(-,root,root)
 %doc AUTHORS COPYING ABOUT-NLS ChangeLog NEWS THANKS README doc/a2ps.html
 %config %{_sysconfdir}/a2ps-site.cfg
 %config %{_sysconfdir}/a2ps.cfg
@@ -233,10 +236,11 @@
 %{_datadir}/emacs/site-lisp/*.el
 %{_datadir}/emacs/site-lisp/*.elc
 %{_datadir}/ogonkify
+
+%files -n liba2ps1
 %{_libdir}/liba2ps.so.*
 
 %files -n a2ps-devel
-%defattr(-,root,root)
 %{_includedir}/liba2ps.h
 %{_libdir}/liba2ps.so
 




Reply via email to