From 631f8a68fcee53c8784f7f3514530f9bd349222a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:45:54 +0100 Subject: [PATCH] rebuilt with distdeps [release 0.1.1-2mamba;Sun Feb 13 2022] --- python-three-merge.spec | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/python-three-merge.spec b/python-three-merge.spec index 6c50916..a2c1b11 100644 --- a/python-three-merge.spec +++ b/python-three-merge.spec @@ -1,6 +1,7 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-three-merge Version: 0.1.1 -Release: 1mamba +Release: 2mamba Summary: Simple Python library to perform a 3-way merge between strings, based on diff-match-patch Group: System/Libraries Vendor: openmamba @@ -10,11 +11,9 @@ URL: https://pypi.org/project/three-merge/ Source: https://pypi.debian.net/three-merge/three-merge-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN -## note: run 'autospec -u -a6 python-three-merge' to get the list of build requirements. +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(diff-match-patch) ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. @@ -38,17 +37,17 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist -sed -i "s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -## note: this list is just an example; modify as required -# %{python_sitearch}/%{name}.py* -# %{python_sitearch}/%{name}.so +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %doc LICENSE -## note: add extra documentation (if any) -# %doc README.md %changelog +* Sun Feb 13 2022 Silvan Calarco 0.1.1-2mamba +- rebuilt with distdeps + * Wed Jan 20 2021 Silvan Calarco 0.1.1-1mamba - package created using the webbuild interface