|
|
@ -12,7 +12,7 @@
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-rpmautospec
|
|
|
|
Name: python-rpmautospec
|
|
|
|
Version: 0.0.10
|
|
|
|
Version: 0.0.11
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Package and CLI tool to generate release fields and changelogs
|
|
|
|
Summary: Package and CLI tool to generate release fields and changelogs
|
|
|
|
|
|
|
|
|
|
|
@ -48,6 +48,8 @@ Summary: %{summary}
|
|
|
|
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
|
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
|
|
|
|
|
|
|
|
|
Requires: koji
|
|
|
|
Requires: koji
|
|
|
|
|
|
|
|
Requires: git-core
|
|
|
|
|
|
|
|
Requires: rpm-build
|
|
|
|
Requires: python3-rpm
|
|
|
|
Requires: python3-rpm
|
|
|
|
Requires: python3-koji
|
|
|
|
Requires: python3-koji
|
|
|
|
|
|
|
|
|
|
|
@ -86,6 +88,8 @@ A Koji plugin for generating RPM releases and changelogs.
|
|
|
|
%files -n koji-builder-plugin-rpmautospec
|
|
|
|
%files -n koji-builder-plugin-rpmautospec
|
|
|
|
%{_prefix}/lib/koji-builder-plugins/*
|
|
|
|
%{_prefix}/lib/koji-builder-plugins/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/kojid/plugins/rpmautospec.conf
|
|
|
|
|
|
|
|
|
|
|
|
%package -n koji-hub-plugin-rpmautospec
|
|
|
|
%package -n koji-hub-plugin-rpmautospec
|
|
|
|
Summary: Koji plugin for tagging successful builds in dist-git
|
|
|
|
Summary: Koji plugin for tagging successful builds in dist-git
|
|
|
|
%if ! %{with epel_le_7}
|
|
|
|
%if ! %{with epel_le_7}
|
|
|
@ -103,7 +107,7 @@ A Koji plugin for tagging successful builds in their dist-git repository.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%{_prefix}/lib/koji-hub-plugins/*
|
|
|
|
%{_prefix}/lib/koji-hub-plugins/*
|
|
|
|
|
|
|
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/koji-hub/plugins/rpmautospec_hub.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/koji-hub/plugins/rpmautospec.conf
|
|
|
|
|
|
|
|
|
|
|
|
#--------------------------------------------------------
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
@ -143,9 +147,12 @@ install -m 0644 rpmautospec/py2compat/tagging.py \
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%py_byte_compile %{python3} %{buildroot}%{_prefix}/lib/koji-builder-plugins/
|
|
|
|
%py_byte_compile %{python3} %{buildroot}%{_prefix}/lib/koji-builder-plugins/
|
|
|
|
|
|
|
|
|
|
|
|
# the hub-plugin config
|
|
|
|
# configuration shared by the plugins
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/koji-hub/plugins/
|
|
|
|
for dest in kojid koji-hub; do
|
|
|
|
install -m 0644 koji_plugins/rpmautospec_hub.conf %{buildroot}%{_sysconfdir}/koji-hub/plugins/rpmautospec_hub.conf
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/$dest/plugins/
|
|
|
|
|
|
|
|
install -m 0644 koji_plugins/rpmautospec.conf \
|
|
|
|
|
|
|
|
%{buildroot}%{_sysconfdir}/$dest/plugins/rpmautospec.conf
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
# EPEL7 does not have python3-koji which is needed to run the tests, so there
|
|
|
|
# EPEL7 does not have python3-koji which is needed to run the tests, so there
|
|
|
|
# is no point in running them
|
|
|
|
# is no point in running them
|
|
|
@ -155,6 +162,9 @@ install -m 0644 koji_plugins/rpmautospec_hub.conf %{buildroot}%{_sysconfdir}/koj
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Apr 06 2020 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.0.11-1
|
|
|
|
|
|
|
|
- Update to 0.0.11
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 03 2020 Nils Philippsen <nils@redhat.com> - 0.0.10-1
|
|
|
|
* Fri Apr 03 2020 Nils Philippsen <nils@redhat.com> - 0.0.10-1
|
|
|
|
- Update to 0.0.10
|
|
|
|
- Update to 0.0.10
|
|
|
|
|
|
|
|
|
|
|
|