Update to 0.4.0
This removes the Koji plugin which will be built from its own source package. Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
b40bc63be8
commit
e750469eea
@ -19,7 +19,7 @@
|
||||
%global canonicalname %{py_dist_name %{srcname}}
|
||||
|
||||
Name: python-%{canonicalname}
|
||||
Version: 0.3.8
|
||||
Version: 0.4.0
|
||||
Release: %autorelease
|
||||
Summary: Package and CLI tool to generate release fields and changelogs
|
||||
License: MIT
|
||||
@ -32,7 +32,6 @@ BuildRequires: git
|
||||
# the langpacks are needed for tests
|
||||
BuildRequires: glibc-langpack-de
|
||||
BuildRequires: glibc-langpack-en
|
||||
BuildRequires: koji
|
||||
BuildRequires: python3-devel >= 3.9.0
|
||||
# The dependencies needed for testing don’t get auto-generated.
|
||||
BuildRequires: python3dist(pytest)
|
||||
@ -52,11 +51,6 @@ A package and CLI tool to generate RPM release fields and changelogs.}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
|
||||
Requires: koji
|
||||
Requires: rpm
|
||||
# for "rpm --specfile"
|
||||
Requires: rpm-build >= 4.9
|
||||
|
||||
%description -n python3-%{canonicalname} %_description
|
||||
|
||||
%package -n %{canonicalname}
|
||||
@ -66,14 +60,6 @@ Requires: python3-%{canonicalname} = %{version}-%{release}
|
||||
%description -n %{canonicalname}
|
||||
CLI tool for generating RPM releases and changelogs
|
||||
|
||||
%package -n koji-builder-plugin-rpmautospec
|
||||
Summary: Koji plugin for generating RPM releases and changelogs
|
||||
Requires: python3-%{canonicalname} = %{version}-%{release}
|
||||
Requires: koji-builder-plugins
|
||||
|
||||
%description -n koji-builder-plugin-rpmautospec
|
||||
A Koji plugin for generating RPM releases and changelogs.
|
||||
|
||||
%if %{with rpmmacropkg}
|
||||
%package -n rpmautospec-rpm-macros
|
||||
Summary: Rpmautospec RPM macros for local rpmbuild
|
||||
@ -103,12 +89,6 @@ enabled packages locally.
|
||||
# Work around poetry not listing license files as such in package metadata.
|
||||
sed -i -e 's|^\(.*/LICENSE\)|%%license \1|g' %{pyproject_files}
|
||||
|
||||
mkdir -p %{buildroot}%{_prefix}/lib/koji-builder-plugins/
|
||||
install -m 0644 koji_plugins/rpmautospec_builder.py \
|
||||
%{buildroot}%{_prefix}/lib/koji-builder-plugins/
|
||||
|
||||
%py_byte_compile %{python3} %{buildroot}%{_prefix}/lib/koji-builder-plugins/
|
||||
|
||||
%if %{with rpmmacropkg}
|
||||
mkdir -p %{buildroot}%{rpmmacrodir}
|
||||
install -m 644 rpm/macros.d/macros.rpmautospec %{buildroot}%{rpmmacrodir}/
|
||||
@ -126,9 +106,6 @@ install -m 644 rpm/macros.d/macros.rpmautospec %{buildroot}%{rpmmacrodir}/
|
||||
%files -n %{canonicalname}
|
||||
%{_bindir}/rpmautospec
|
||||
|
||||
%files -n koji-builder-plugin-rpmautospec
|
||||
%{_prefix}/lib/koji-builder-plugins/*
|
||||
|
||||
%if %{with rpmmacropkg}
|
||||
%files -n rpmautospec-rpm-macros
|
||||
%{rpmmacrodir}/macros.rpmautospec
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (rpmautospec-0.3.8.tar.gz) = bed1b01e7884f85929e4b5af2e43e0189ef75d3e3a4e0fb350d68e01b25b246328494ebaf9a59eb94df18026603c9a14791816090fa25c965339d74af340ee0d
|
||||
SHA512 (rpmautospec-0.4.0.tar.gz) = fa3d99d2b0115cba88d9ba159df73ae9decea738fe037b0127237f86ad2a4441e7f82a3811d71af1aff4395553ce1ac06b33858e2d326d6dbe2e534eb543d517
|
||||
|
Loading…
Reference in New Issue
Block a user