diff --git a/python-mock.spec b/python-mock.spec index af3f414..5ee6073 100644 --- a/python-mock.spec +++ b/python-mock.spec @@ -1,6 +1,6 @@ Name: python-mock Version: 3.0.5 -Release: 1mamba +Release: 2mamba Summary: Rolling backport of unittest.mock for all Pythons Group: System/Libraries Vendor: openmamba @@ -20,6 +20,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. +%if 0%{?with_pyver} +%pyver_package +%endif + %prep %setup -q -n mock-%{version} @@ -37,10 +41,13 @@ CFLAGS="%{optflags}" %{__python} setup.py build #sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %changelog +* Sat Apr 11 2020 Silvan Calarco 3.0.5-2mamba +- rebuilt with py3* packages + * Wed Jun 12 2019 Automatic Build System 3.0.5-1mamba - automatic version update by autodist