diff --git a/python-rpmautospec.spec b/python-rpmautospec.spec index 8b83694..038cb2b 100644 --- a/python-rpmautospec.spec +++ b/python-rpmautospec.spec @@ -12,7 +12,7 @@ %endif Name: python-rpmautospec -Version: 0.0.23 +Version: 0.1.0 Release: 1%{?dist} Summary: Package and CLI tool to generate release fields and changelogs @@ -112,6 +112,18 @@ A Koji plugin for tagging successful builds in their dist-git repository. %config(noreplace) %{_sysconfdir}/koji-hub/plugins/rpmautospec.conf +# Package the placeholder rpm-macros + +%package -n rpmautospec-rpm-macros +Summary: Rpmautospec RPM macros for local rpmbuild +Requires: rpm + +%description -n rpmautospec-rpm-macros +RPM macros with placeholders for building rpmautospec enabled packages localy + +%files -n rpmautospec-rpm-macros +%{rpmmacrodir}/macros.rpmautospec + #-------------------------------------------------------- %prep @@ -157,6 +169,10 @@ for dest in kojid koji-hub; do %{buildroot}%{_sysconfdir}/$dest/plugins/rpmautospec.conf done +# RPM macros +mkdir -p %{buildroot}%{rpmmacrodir} +install -m 644 rpm/macros.d/macros.rpmautospec %{buildroot}%{rpmmacrodir}/ + # EPEL7 does not have python3-koji which is needed to run the tests, so there # is no point in running them %if ! 0%{?rhel} || 0%{?rhel} > 7 @@ -165,6 +181,9 @@ done %endif %changelog +* Thu Apr 09 2020 Pierre-Yves Chibon - 0.1.0-1 +- Update to 0.1.0 + * Wed Apr 08 2020 Pierre-Yves Chibon - 0.0.23-1 - Update to 0.023 diff --git a/sources b/sources index 9191ed7..d09dab7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rpmautospec-0.0.23.tar.gz) = 63be1c8477bb837795911d67fea24015df981fd75dc95051a87da5d0369f1cfece0280aa14ed92b358c4b4127080cb00d57105050e6a6521abd91df5312322bc +SHA512 (rpmautospec-0.1.0.tar.gz) = f4963faf34e4cbd70165d4fc80d20419f065c871bc9d0b6153514bb7442eb81efab38ad6a0b6117ae7872bd4bd8494247d8a09d343532e8fd5f8c5e26234ced6