19
0

Compare commits

3 Commits

2 changed files with 14 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 15 12:52:46 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
- Add missing Requires: python-requests
-------------------------------------------------------------------
Thu Oct 13 07:14:45 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-casttube
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-casttube
Version: 0.2.1
Release: 0
@@ -25,11 +24,13 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/ur1katz/casttube
Source: https://files.pythonhosted.org/packages/source/c/casttube/casttube-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
Requires: python-requests
%python_subpackages
%description
@@ -39,16 +40,17 @@ casttube provides a way to interact with the Youtube Chromecast api.
%setup -q -n casttube-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
rm -v %{buildroot}%{_prefix}/LICENSE
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/casttube
%{python_sitelib}/casttube-%{version}*-info
%changelog