Skip to content

Commit

Permalink
Merge pull request #74 from s-t-e-v-e-n-k/remove-mock
Browse files Browse the repository at this point in the history
Remove mock BuildRequires
  • Loading branch information
arbulu89 authored Jan 12, 2023
2 parents cee9bd8 + 08eaf3f commit 4a12256
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions python-shaptools.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 5 23:44:22 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

- Only BuildRequire python-mock under Python 2.

-------------------------------------------------------------------
Fri Mar 25 15:45:21 UTC 2021 - Eike Walldt <waldt@b1-systems.de>

Expand Down
4 changes: 3 additions & 1 deletion python-shaptools.spec
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ Group: Development/Languages/Python
Url: https://github.com/SUSE/shaptools
Source: %{name}-%{version}.tar.gz
%if %{with test}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
%endif
%ifpython2
BuildRequires: python-mock
%endif
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Expand Down

0 comments on commit 4a12256

Please sign in to comment.