Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mkdocs for openSUSE:Factory 
checked in at 2023-02-27 13:54:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mkdocs (Old)
 and      /work/SRC/openSUSE:Factory/.python-mkdocs.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mkdocs"

Mon Feb 27 13:54:29 2023 rev:5 rq:1067935 version:1.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mkdocs/python-mkdocs.changes      
2022-09-05 21:21:46.705097494 +0200
+++ /work/SRC/openSUSE:Factory/.python-mkdocs.new.31432/python-mkdocs.changes   
2023-02-27 13:54:29.741066694 +0100
@@ -1,0 +2,6 @@
+Mon Feb 27 10:13:10 UTC 2023 - Matej Cepl <mc...@suse.com>
+
+- Enable tests
+- Don't use fdupes -s, it hurts.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-mkdocs.spec ++++++
--- /var/tmp/diff_new_pack.QoGmcO/_old  2023-02-27 13:54:30.409070741 +0100
+++ /var/tmp/diff_new_pack.QoGmcO/_new  2023-02-27 13:54:30.413070765 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mkdocs
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,6 @@
 
 
 %define skip_python2 1
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-mkdocs
 Version:        1.3.1
 Release:        0
@@ -25,6 +24,7 @@
 License:        BSD-2-Clause
 URL:            https://www.mkdocs.org
 Source:         
https://github.com/mkdocs/mkdocs/archive/%{version}.tar.gz#/mkdocs-%{version}.tar.gz
+BuildRequires:  %{python_module Babel}
 BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module Markdown}
 BuildRequires:  %{python_module MarkupSafe}
@@ -96,14 +96,13 @@
 done
 
 # inconsistent permissions prohibited fdupes from being effective
-find "%{buildroot}" -type f "(" -name "*.eot" -o -name "*.ttf" -o \
+find %{buildroot} -type f "(" -name "*.eot" -o -name "*.ttf" -o \
        -name "*.woff" ")" -exec chmod a-x {} +
 
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# tries to download stuff at runtime
-#tox
+%pyunittest discover -p '*tests.py' -v mkdocs
 
 %post
 %python_install_alternative mkdocs
@@ -115,6 +114,7 @@
 %doc README.md
 %license LICENSE
 %python_alternative %{_bindir}/mkdocs
-%{python_sitelib}/*
+%{python_sitelib}/mkdocs
+%{python_sitelib}/mkdocs-%{version}*-info
 
 %changelog

Reply via email to