diff --git a/python-pypandoc.spec b/python-pypandoc.spec index 0e87c92..840a108 100644 --- a/python-pypandoc.spec +++ b/python-pypandoc.spec @@ -1,21 +1,26 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-pypandoc -Version: 1.7.2 +Version: 1.10 Release: 1mamba Summary: A thin wrapper for pandoc, a universal document converter Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://github.com/NicklasTegner/pypandoc +URL: https://github.com/JessicaTegner/pypandoc Source: https://pypi.debian.net/pypandoc/pypandoc-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -Requires: python >= %python_version %description %{summary}. +%if 0%{?with_pyver} +%pyver_package +%endif + %prep %setup -q -n pypandoc-%{version} @@ -31,13 +36,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist -#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %doc LICENSE %changelog +* Sat Oct 29 2022 Automatic Build System 1.10-1mamba +- automatic version update by autodist + * Sun Dec 19 2021 Automatic Build System 1.7.2-1mamba - automatic version update by autodist