91 lines
2.7 KiB
RPMSpec
91 lines
2.7 KiB
RPMSpec
%global module_name pidfile
|
|
%global pypi_name python-%{module_name}
|
|
Name: %{pypi_name}
|
|
Version: 3.0.0
|
|
Release: 15%{?dist}
|
|
Summary: Python context manager for managing pid files
|
|
License: MIT
|
|
URL: https://pypi.org/project/python-pidfile
|
|
Source0: %pypi_source
|
|
Source1: https://raw.githubusercontent.com/mosquito/python-pidfile/master/LICENSE
|
|
BuildArch: noarch
|
|
|
|
%global _description %{expand:
|
|
Python context manager for managing pid files.}
|
|
|
|
%description %_description
|
|
|
|
%package -n python3-%{module_name}
|
|
Summary: %{summary}
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
%description -n python3-%{module_name} %_description
|
|
|
|
%prep
|
|
%autosetup %{name}-%{version}
|
|
cp -p %{SOURCE1} .
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%pyproject_save_files %{module_name}
|
|
|
|
%check
|
|
%pyproject_check_import
|
|
|
|
%files -n python3-pidfile -f %{pyproject_files}
|
|
%doc README.rst
|
|
%license LICENSE
|
|
|
|
%changelog
|
|
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 3.0.0-15
|
|
- Rebuilt for Python 3.14.0rc3 bytecode
|
|
|
|
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 3.0.0-14
|
|
- Rebuilt for Python 3.14.0rc2 bytecode
|
|
|
|
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-13
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
|
|
|
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 3.0.0-12
|
|
- Rebuilt for Python 3.14
|
|
|
|
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-11
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
|
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 3.0.0-9
|
|
- Rebuilt for Python 3.13
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 3.0.0-5
|
|
- Rebuilt for Python 3.12
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Tue Oct 04 2022 Vishal Vijayraghavan<vishalvvr@fedoraproject.org> - 3.0.0-3
|
|
- add license source and test
|
|
|
|
* Sun Oct 02 2022 Vishal Vijayraghavan<vishalvvr@fedoraproject.org> - 3.0.0-2
|
|
- specfile cleanup
|
|
|
|
* Tue Sep 27 2022 Vishal Vijayraghavan<vishalvvr@fedoraproject.org> - 3.0.0-1
|
|
- Initial fedora build.
|