Make the specs actually buildable

This commit is contained in:
Karolina Surma
2021-08-25 09:29:36 +02:00
parent d388433065
commit 5043bc63d5
6 changed files with 81 additions and 4 deletions
@@ -0,0 +1,54 @@
Name: python-aionotion
Version: 2.0.3
Release: 4%{?dist}
Summary: Python library for Notion Home Monitoring
License: MIT
URL: https://github.com/bachya/aionotion
Source0: %{pypi_source aionotion}
BuildArch: noarch
BuildRequires: python3-devel
%global _description %{expand:
A asyncio-friendly library for Notion Home Monitoring devices.
}
%description %_description
%package -n python3-aionotion
Summary: %{summary}
%description -n python3-aionotion %_description
%prep
%autosetup -p1 -n aionotion-%{version}
%generate_buildrequires
%pyproject_buildrequires -r
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files aionotion
%check
%py3_check_import aionotion
%files -n python3-aionotion -f %{pyproject_files}
%doc README.md
%license LICENSE
%changelog
* Fri Jun 04 2021 Package Manager <package@manager.com> - 2.0.3-4
- Rebuilt for Python 3.10
+1 -1
View File
@@ -5,7 +5,7 @@ Summary: Simple wrapper around optparse for powerful command line utiliti
License: BSD
URL: https://github.com/mitsuhiko/click
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
Source0: %{url}/archive/%{version}/click-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
@@ -5,7 +5,7 @@ Summary: Tools to help build and install Jupyter Python packages
License: BSD
URL: https://github.com/jupyter/jupyter-packaging
Source0: %{pypi_source}
Source0: %{pypi_source jupyter_packaging}
BuildArch: noarch
BuildRequires: python3-devel
@@ -0,0 +1,23 @@
pypi_name = "aionotion"
python_name = "python-aionotion"
module_name = "aionotion"
version = "2.0.3"
release = "4"
summary = "Python library for Notion Home Monitoring"
license = "MIT"
url = "https://github.com/bachya/aionotion"
source = "%{pypi_source aionotion}"
archive_name = "aionotion"
description = '''
A asyncio-friendly library for Notion Home Monitoring devices.
'''
extra_build_requires = ["runtime"]
[files]
license_files = ["LICENSE"]
doc_files = ["README.md"]
[changelog]
changelog_head = "Fri Jun 04 2021 Package Manager <package@manager.com>"
changelog_msg = "Rebuilt for Python 3.10"
+1 -1
View File
@@ -6,7 +6,7 @@ release = "6"
summary = "Simple wrapper around optparse for powerful command line utilities"
license = "BSD"
url = "https://github.com/mitsuhiko/click"
source = "%{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz"
source = "%{url}/archive/%{version}/click-%{version}.tar.gz"
archive_name = "click"
description = '''
click is a Python package for creating beautiful command line\
@@ -6,7 +6,7 @@ release = "2"
summary = "Tools to help build and install Jupyter Python packages"
license = "BSD"
url = "https://github.com/jupyter/jupyter-packaging"
source = "%{pypi_source}"
source = "%{pypi_source jupyter_packaging}"
archive_name = "jupyter_packaging"
description = '''
This package contains utilities for making Python packages with and without