04dd720
%global pypi_name pyhomeworks
04dd720
%global pkg_name homeworks
04dd720
04dd720
Name:           python-%{pkg_name}
04dd720
Version:        0.0.6
0faf51e
Release:        8%{?dist}
04dd720
Summary:        Lutron Homeworks Series 4 and 8 interface
04dd720
04dd720
License:        MIT
04dd720
URL:            https://github.com/dubnom/pyhomeworks
04dd720
Source0:        %{pypi_source}
04dd720
BuildArch:      noarch
04dd720
04dd720
BuildRequires:  python3-devel
04dd720
BuildRequires:  python3dist(setuptools)
04dd720
04dd720
%description
04dd720
Python package to connect to Lutron Homeworks Series-4 and Series-8
04dd720
systems over Ethernet.
04dd720
04dd720
%package -n     python3-%{pkg_name}
04dd720
Summary:        %{summary}
04dd720
%{?python_provide:%python_provide python3-%{pkg_name}}
04dd720
04dd720
%description -n python3-%{pkg_name}
04dd720
Python package to connect to Lutron Homeworks Series-4 and Series-8
04dd720
systems over Ethernet.
04dd720
04dd720
%prep
04dd720
%autosetup -n %{pypi_name}-%{version}
04dd720
rm -rf %{pypi_name}.egg-info
04dd720
chmod -x README.md
04dd720
04dd720
%build
04dd720
%py3_build
04dd720
04dd720
%install
04dd720
%py3_install
04dd720
04dd720
%files -n python3-%{pkg_name}
04dd720
%doc README.md
04dd720
# https://github.com/dubnom/pyhomeworks/pull/2
04dd720
#%%license LICENSE
04dd720
%{python3_sitelib}/%{pypi_name}/
04dd720
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
04dd720
04dd720
%changelog
0faf51e
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-8
0faf51e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
0faf51e
c50b24a
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-7
c50b24a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
c50b24a
2c5c4c2
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.0.6-6
2c5c4c2
- Rebuilt for Python 3.11
2c5c4c2
d3c30a0
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-5
d3c30a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
d3c30a0
2d52379
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-4
2d52379
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2d52379
1701764
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.0.6-3
1701764
- Rebuilt for Python 3.10
1701764
05e0327
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-2
05e0327
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
05e0327
04dd720
* Thu Sep 03 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.0.6-1
04dd720
- Initial package for Fedora