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