From 71d7af423f6400769ee323d5f6a17d65b8b278a7 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:57:31 +0100 Subject: [PATCH] python 3.6 support [release 4.6.0-2mamba;Thu Jan 10 2019] --- python-zope-interface.spec | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/python-zope-interface.spec b/python-zope-interface.spec index dae7734..cffeffa 100644 --- a/python-zope-interface.spec +++ b/python-zope-interface.spec @@ -1,6 +1,6 @@ Name: python-zope-interface Version: 4.6.0 -Release: 1mamba +Release: 2mamba Summary: Python library for API definitions through interfaces Group: System/Libraries/Python Vendor: openmamba @@ -23,6 +23,10 @@ zope.interface provides an implementation of object interfaces for Python. Interfaces are a mechanism for labeling objects as conforming to a given API or contract. So, this package can be considered as implementation of the Design By Contract methodology support in Python. +%if 0%{?with_pyver} +%pyver_package +%endif + %prep %setup -q -n zope.interface-%{version} @@ -53,19 +57,22 @@ rm -rf %{buildroot}%{python_sitearch}/zope/interface/{tests,common/tests} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files +%files %{?pyappend} #-f %{name}.filelist %defattr(-,root,root) -%dir %{python27_sitearch}/zope -%dir %{python27_sitearch}/zope/interface -%{python27_sitearch}/zope/interface/* -%dir %{python27_sitearch}/zope.interface-*-py*.egg-info -%{python27_sitearch}/zope.interface-*-py*.egg-info/* -%dir %{python27_sitearch}/zope.interface-*-py*.pth +%dir %{python_sitearch}/zope +%dir %{python_sitearch}/zope/interface +%{python_sitearch}/zope/interface/* +%dir %{python_sitearch}/zope.interface-*-py*.egg-info +%{python_sitearch}/zope.interface-*-py*.egg-info/* +%dir %{python_sitearch}/zope.interface-*-py*.pth %doc COPYRIGHT.txt LICENSE.txt #%doc CHANGES.txt README.txt %changelog +* Thu Jan 10 2019 Silvan Calarco 4.6.0-2mamba +- python 3.6 support + * Thu Oct 25 2018 Automatic Build System 4.6.0-1mamba - automatic version update by autodist