From bdba56a68a745bc88e8801280177fed826d4686f940268171ca88d27952e1482 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 25 Oct 2021 19:55:31 +0000 Subject: [PATCH] - Making rpmlint more happy. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pandocfilters?expand=0&rev=13 --- python-pandocfilters.changes | 5 +++++ python-pandocfilters.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-pandocfilters.changes b/python-pandocfilters.changes index 21d54c3..7868c5a 100644 --- a/python-pandocfilters.changes +++ b/python-pandocfilters.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 25 19:55:22 UTC 2021 - Matej Cepl + +- Making rpmlint more happy. + ------------------------------------------------------------------- Mon Oct 25 14:02:31 UTC 2021 - Dominique Leuenberger diff --git a/python-pandocfilters.spec b/python-pandocfilters.spec index 7935a0c..84c5858 100644 --- a/python-pandocfilters.spec +++ b/python-pandocfilters.spec @@ -26,6 +26,7 @@ Group: Development/Languages/Python URL: http://github.com/jgm/pandocfilters Source: https://pypi.io/packages/source/p/pandocfilters/pandocfilters-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros Recommends: pandoc >= 1.16 BuildArch: noarch @@ -52,10 +53,11 @@ chmod a-x examples/*.py %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %defattr(-,root,root,-) -%doc README README.rst +%doc README.rst %doc examples/ %license LICENSE %{python_sitelib}/*