|
|
|
@ -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 <pingou@pingoured.fr> - 0.1.0-1
|
|
|
|
|
- Update to 0.1.0
|
|
|
|
|
|
|
|
|
|
* Wed Apr 08 2020 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.0.23-1
|
|
|
|
|
- Update to 0.023
|
|
|
|
|
|
|
|
|
|