python-blurb/python-blurb.spec
2024-05-09 11:33:46 +08:00

59 lines
1.7 KiB
RPMSpec

%global _empty_manifest_terminate_build 0
Name: python-blurb
Version: 1.1.0
Release: 4
Summary: Command-line tool to manage CPython Misc/NEWS.d entries.
License: BSD-3-Clause
URL: https://github.com/python/blurb
Source0: https://files.pythonhosted.org/packages/71/34/676f8c4a16ac69cc5a1a59d871f6c34d019fb5f36df3a44d4e3e5f4b7362/blurb-1.1.0.tar.gz
BuildArch: noarch
%description
blurb is a tool designed to rid CPython core development of the scourge of Misc/NEWS conflicts.
%package -n python3-blurb
Summary: Command-line tool to manage CPython Misc/NEWS.d entries.
Provides: python-blurb
Obsoletes: python-blurb-help <= 1.1.0
BuildRequires: python3-devel
BuildRequires: python3-setuptools python3-pip python3-wheel python3-flit
%description -n python3-blurb
blurb is a tool designed to rid CPython core development of the scourge of Misc/NEWS conflicts.
%prep
%autosetup -n blurb-%{version} -p1
%build
%pyproject_build
%install
%pyproject_install blurb==%{version}
%check
PYTHONPATH=%{buildroot}%{python3_sitelib} %{buildroot}%{_bindir}/blurb --help
%files -n python3-blurb
%{python3_sitelib}/*
%license LICENSE.txt
%doc README.rst
%{_bindir}/blurb
%changelog
* Thu May 9 2024 tenglei <tenglei@kylinos.cn> - 1.1.0-4
- url have changed on github, sync change
* Thu Apr 27 2023 wangkai <13474090681@163.com> - 1.1.0-3
- Compling package with pyproject
- Obsoletes subpackage python-blurb-help
- Add check for blurb command
* Mon Feb 27 2023 caodongxia <caodongxia@h-partners.com> - 1.1.0-2
- Adaptation to setup.py
* Fri Oct 14 2022 guozhengxin <guozhengxin@kylinos.cn> - 1.1.0-1
- Upgrade package to version 1.1.0
* Mon Jul 12 2021 ice-kylin <wminid@yeah.net> - 1.0.8-1
- Initial package