From e5388bd3c879ad1cbbe7872398b226a6b351fbc96ca0d4d452c099e34873c215 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 10 Aug 2018 11:56:43 +0000 Subject: [PATCH] Remove unnecessary dependency on unittest2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-binaryornot?expand=0&rev=12 --- python-binaryornot.changes | 5 +++++ python-binaryornot.spec | 10 ++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/python-binaryornot.changes b/python-binaryornot.changes index 09e1101..0180ba3 100644 --- a/python-binaryornot.changes +++ b/python-binaryornot.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 10 11:55:44 UTC 2018 - mcepl@suse.com + +- Remove unnecessary dependency on unittest2 + ------------------------------------------------------------------- Wed Feb 28 10:49:07 UTC 2018 - sebix+novell.com@sebix.at diff --git a/python-binaryornot.spec b/python-binaryornot.spec index 1643cbf..b06bf4e 100644 --- a/python-binaryornot.spec +++ b/python-binaryornot.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} # Tests run too slowly on some architectures -%ifarch %{ix86} x86_64 ppc64 ppc64le +%ifarch %{ix86} x86_64 ppc64 ppc64le %bcond_without test %else %bcond_with test @@ -29,7 +29,7 @@ Release: 0 Summary: Python package to check if a file is binary or text License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/audreyr/binaryornot +URL: https://github.com/audreyr/binaryornot Source: https://files.pythonhosted.org/packages/source/b/binaryornot/binaryornot-%{version}.tar.gz # PATCH-FIX-OPENSUSE remove_hypothesis_tests.patch -- remove hypothesis-based tests Patch0: remove_hypothesis_tests.patch @@ -39,10 +39,8 @@ BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python-unittest2 Requires: python-chardet >= 3.0.2 BuildArch: noarch - %python_subpackages %description @@ -69,8 +67,8 @@ $python tests/test_check.py %endif %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS.rst HISTORY.rst LICENSE README.rst +%license LICENSE +%doc AUTHORS.rst HISTORY.rst README.rst %{python_sitelib}/* %changelog