forked from pool/python-pyperclip
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyperclip?expand=0&rev=13
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 14 14:16:16 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 12 13:44:27 UTC 2019 - pgajdos@suse.com
|
Fri Apr 12 13:44:27 UTC 2019 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -22,22 +22,20 @@ Version: 1.7.0
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: A clipboard module for Python
|
Summary: A clipboard module for Python
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
URL: https://github.com/asweigart/pyperclip
|
||||||
Url: https://github.com/asweigart/pyperclip
|
Source0: https://files.pythonhosted.org/packages/source/p/pyperclip/pyperclip-%{version}.tar.gz
|
||||||
Source0: https://pypi.io/packages/source/p/pyperclip/pyperclip-%{version}.tar.gz
|
|
||||||
# https://github.com/asweigart/pyperclip/issues/17
|
# https://github.com/asweigart/pyperclip/issues/17
|
||||||
Source1: https://raw.githubusercontent.com/asweigart/pyperclip/master/LICENSE.txt
|
Source1: https://raw.githubusercontent.com/asweigart/pyperclip/master/LICENSE.txt
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
|
Requires: xclip
|
||||||
|
Requires: xsel
|
||||||
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
Requires: xclip
|
|
||||||
Requires: xsel
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -52,13 +50,12 @@ cp %{SOURCE1} .
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%{python_sitelib}/pyperclip
|
%{python_sitelib}/pyperclip
|
||||||
%{python_sitelib}/pyperclip-%{version}-py%{py_ver}.egg-info
|
%{python_sitelib}/pyperclip-%{version}-py%{py_ver}.egg-info
|
||||||
|
Reference in New Issue
Block a user