forked from pool/python-livereload
- Don't use fdupes -s, it hurts.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-livereload?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 27 10:45:13 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Don't use fdupes -s, it hurts.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 8 11:38:41 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
Mon Nov 8 11:38:41 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-livereload
|
# spec file for package python-livereload
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-livereload
|
Name: python-livereload
|
||||||
Version: 2.6.3
|
Version: 2.6.3
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -25,10 +24,11 @@ License: BSD-2-Clause
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://livereload.readthedocs.io/en/latest/
|
URL: https://livereload.readthedocs.io/en/latest/
|
||||||
Source: https://github.com/lepture/python-livereload/archive/%{version}.tar.gz
|
Source: https://github.com/lepture/python-livereload/archive/%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: %{python_module tornado}
|
BuildRequires: %{python_module tornado}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
@@ -42,16 +42,16 @@ BuildArch: noarch
|
|||||||
Reload webpages on changes, without hitting refresh in your browser.
|
Reload webpages on changes, without hitting refresh in your browser.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/livereload
|
%python_clone -a %{buildroot}%{_bindir}/livereload
|
||||||
|
|
||||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# https://github.com/lepture/python-livereload/issues/200
|
# https://github.com/lepture/python-livereload/issues/200
|
||||||
@@ -68,6 +68,6 @@ Reload webpages on changes, without hitting refresh in your browser.
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%python_alternative %{_bindir}/livereload
|
%python_alternative %{_bindir}/livereload
|
||||||
%{python_sitelib}/livereload/
|
%{python_sitelib}/livereload/
|
||||||
%{python_sitelib}/livereload-%{version}-py%{python_version}.egg-info
|
%{python_sitelib}/livereload-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user