Accepting request 860085 from home:mcalabkova:branches:devel:languages:python

- spec-cleaner to pass the Factory checks

OBS-URL: https://build.opensuse.org/request/show/860085
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typogrify?expand=0&rev=2
This commit is contained in:
Markéta Machová 2021-01-04 07:40:21 +00:00 committed by Git OBS Bridge
parent 029cf7e84b
commit 0a3769ec8f
2 changed files with 13 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 4 07:37:25 UTC 2021 - Markéta Machová <mmachova@suse.com>
- spec-cleaner to pass the Factory checks
-------------------------------------------------------------------
Mon Nov 16 10:32:21 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-typogrify
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,10 +12,10 @@
# 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/
#
# I don't want to deal with different versions of Django
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-typogrify
@ -24,17 +24,15 @@ Release: 0
Summary: Typography related template filters for Django & Jinja2 applications
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/mintchaos/typogrify
Source: http://pypi.python.org/packages/source/t/typogrify/typogrify-%{version}.tar.gz
URL: https://github.com/mintchaos/typogrify
Source: https://files.pythonhosted.org/packages/source/t/typogrify/typogrify-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module smartypants}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-smartypants
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
@ -61,10 +59,9 @@ sed -i '1d' \
$python -mdoctest -v typogrify/filters.py
}
%files %python_files
%defattr(-,root,root,-)
%doc LICENSE.txt README.rst
%files %{python_files}
%license LICENSE.txt
%doc README.rst
%{python_sitelib}/*
%changelog