## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: go-rpm-macros-epel # Separate versioning scehme from plain go-rpm-macros Version: 1.0.0 Release: %autorelease Summary: Minimal go-rpm-macros backport License: GPL-3.0-or-later URL: https://src.fedoraproject.org/rpms/go-rpm-macros-epel/tree/epel8 Source0: README.md Source1: LICENSE.txt Source2: go_mod_vendor.prov Source3: go_mod_vendor.attr Source4: macros.zzz-go-epel BuildArch: noarch %description This is a minimal go-rpm-macros backport. See the README for information on what is included in this package. %prep %autosetup -cT cp -p %{sources} . %build # Nothing to build %install install -Dpm 0644 go_mod_vendor.prov -t %{buildroot}%{_rpmconfigdir}/ install -Dpm 0644 go_mod_vendor.attr -t %{buildroot}%{_rpmconfigdir}/fileattrs/ install -Dpm 0644 macros.zzz-go-epel -t %{buildroot}%{rpmmacrodir} %files %license LICENSE.txt %doc README.md %{_rpmconfigdir}/go_mod_vendor.prov %{_rpmconfigdir}/fileattrs/go_mod_vendor.attr %{rpmmacrodir}/macros.zzz-go-epel %changelog ## START: Generated by rpmautospec * Tue Aug 26 2025 Maxwell G - 1.0.0-1 - Add initial package for EPEL 8 ## END: Generated by rpmautospec