Hello community,
here is the log from the commit of package python-python-barcode for
openSUSE:Factory checked in at 2019-05-06 13:21:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-barcode (Old)
and /work/SRC/openSUSE:Factory/.python-python-barcode.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-barcode"
Mon May 6 13:21:15 2019 rev:2 rq:692224 version:0.9.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-barcode/python-python-barcode.changes
2019-04-05 12:05:34.566583951 +0200
+++
/work/SRC/openSUSE:Factory/.python-python-barcode.new.5148/python-python-barcode.changes
2019-05-06 13:21:16.808521536 +0200
@@ -1,0 +2,5 @@
+Sat Apr 6 22:21:01 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Unbundle DejaVu font and reuse the one from the system.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-barcode.spec ++++++
--- /var/tmp/diff_new_pack.QO4gmn/_old 2019-05-06 13:21:18.452525239 +0200
+++ /var/tmp/diff_new_pack.QO4gmn/_new 2019-05-06 13:21:18.480525302 +0200
@@ -32,8 +32,10 @@
BuildRequires: %{python_module pathlib}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
+BuildRequires: dejavu-fonts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: dejavu-fonts
Provides: python-pyBarcode
Obsoletes: python-pyBarcode
BuildArch: noarch
@@ -44,6 +46,8 @@
%prep
%setup -q -n %{base_name}-%{version}
+# Fix rpmlint warning about too many +x perms when these files get installed
later.
+find . -type f -exec chmod a-x {} +
%build
%python_build
@@ -51,6 +55,9 @@
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+find "%{buildroot}" -type f -name "*.ttf" | while read i; do
+ ln -fs "%{_datadir}/fonts/truetype/${i##*/}" "$i"
+done
%check
%python_exec test.py