diff --git a/python-rpmautospec.spec b/python-rpmautospec.spec index 8b5ad48..51dd8ec 100644 --- a/python-rpmautospec.spec +++ b/python-rpmautospec.spec @@ -12,7 +12,7 @@ %endif Name: python-rpmautospec -Version: 0.0.10 +Version: 0.0.11 Release: 1%{?dist} Summary: Package and CLI tool to generate release fields and changelogs @@ -48,6 +48,8 @@ Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} Requires: koji +Requires: git-core +Requires: rpm-build Requires: python3-rpm Requires: python3-koji @@ -86,6 +88,8 @@ A Koji plugin for generating RPM releases and changelogs. %files -n koji-builder-plugin-rpmautospec %{_prefix}/lib/koji-builder-plugins/* +%config(noreplace) %{_sysconfdir}/kojid/plugins/rpmautospec.conf + %package -n koji-hub-plugin-rpmautospec Summary: Koji plugin for tagging successful builds in dist-git %if ! %{with epel_le_7} @@ -103,7 +107,7 @@ A Koji plugin for tagging successful builds in their dist-git repository. %endif %{_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 %py_byte_compile %{python3} %{buildroot}%{_prefix}/lib/koji-builder-plugins/ -# the hub-plugin config -mkdir -p %{buildroot}%{_sysconfdir}/koji-hub/plugins/ -install -m 0644 koji_plugins/rpmautospec_hub.conf %{buildroot}%{_sysconfdir}/koji-hub/plugins/rpmautospec_hub.conf +# configuration shared by the plugins +for dest in kojid koji-hub; do + 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 # is no point in running them @@ -155,6 +162,9 @@ install -m 0644 koji_plugins/rpmautospec_hub.conf %{buildroot}%{_sysconfdir}/koj %endif %changelog +* Mon Apr 06 2020 Pierre-Yves Chibon - 0.0.11-1 +- Update to 0.0.11 + * Fri Apr 03 2020 Nils Philippsen - 0.0.10-1 - Update to 0.0.10 diff --git a/sources b/sources index 9470d7d..d108da3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rpmautospec-0.0.10.tar.gz) = d5029fc2fa1b5de61105be7ebc19bfbd18700c4ae2890b281a38690e9d3da908afb1aab883d3e888d907dcbce67c7214a5ccd7a29cd2b2e9de5d240a537c220f +SHA512 (rpmautospec-0.0.11.tar.gz) = 56dc5ee88631e8efd36492648567b5dcb02d38169a2dd572a3ce57949e1bd612655f36fcee0e30a57f2fe777a8232167daf1c7a2455e9cea0b616e6d152a1875