[packit] 0.2.0 upstream release
Upstream tag: 0.2.0 Upstream commit: a15b0918 Signed-off-by: Packit <hello@packit.dev>
This commit is contained in:
parent
4fcaba6fc0
commit
921cff8bf6
5 changed files with 188 additions and 0 deletions
70
python-specfile.spec
Normal file
70
python-specfile.spec
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
%global desc %{expand:
|
||||
Python library for parsing and manipulating RPM spec files.
|
||||
Main focus is on modifying existing spec files, any change should result
|
||||
in a minimal diff.}
|
||||
|
||||
|
||||
Name: python-specfile
|
||||
Version: 0.2.0
|
||||
Release: 1%{?dist}
|
||||
|
||||
Summary: A library for parsing and manipulating RPM spec files
|
||||
License: MIT
|
||||
URL: https://github.com/packit/specfile
|
||||
|
||||
Source0: %{pypi_source specfile}
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: %{py3_dist setuptools setuptools-scm setuptools-scm-git-archive}
|
||||
BuildRequires: %{py3_dist arrow importlib-metadata rpm typing-extensions}
|
||||
BuildRequires: %{py3_dist flexmock pytest}
|
||||
|
||||
|
||||
%description
|
||||
%{desc}
|
||||
|
||||
|
||||
%package -n python%{python3_pkgversion}-specfile
|
||||
Summary: %{summary}
|
||||
|
||||
|
||||
%description -n python%{python3_pkgversion}-specfile
|
||||
%{desc}
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n specfile-%{version}
|
||||
# Remove bundled egg-info
|
||||
rm -rf specfile.egg-info
|
||||
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
|
||||
%files -n python%{python3_pkgversion}-specfile
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python3_sitelib}/specfile
|
||||
%{python3_sitelib}/specfile-%{version}-py%{python3_version}.egg-info
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 30 2022 Nikola Forró <nforro@redhat.com> - 0.2.0-1
|
||||
- New upstream release 0.2.0
|
||||
|
||||
* Mon Feb 21 2022 Nikola Forró <nforro@redhat.com> - 0.1.1-1
|
||||
- New upstream release 0.1.1
|
||||
|
||||
* Tue Feb 08 2022 Nikola Forró <nforro@redhat.com> - 0.1.0-1
|
||||
- Initial package
|
||||
Loading…
Add table
Add a link
Reference in a new issue