You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.7 KiB
61 lines
1.7 KiB
## START: Set by rpmautospec
|
|
## (rpmautospec version 0.7.3)
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
release_number = 2;
|
|
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: epel-rpm-macros
|
|
Version: 10
|
|
Release: %autorelease
|
|
Summary: Extra Packages for Enterprise Linux RPM macros
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2302438
|
|
License: LicenseRef-Not-Copyrightable
|
|
BuildArch: noarch
|
|
URL: https://epel.io
|
|
|
|
# standard EPEL macros
|
|
Source10: macros.epel
|
|
|
|
# EPEL macros that must override CentOS/RHEL macros
|
|
Source11: macros.zzz-epel
|
|
|
|
# This should only be installed on Enterprise Linux with a matching major version
|
|
Requires: (redhat-release with system-release(releasever) = %{version})
|
|
|
|
Requires: ansible-srpm-macros
|
|
|
|
|
|
%description
|
|
This package contains the Extra Packages for Enterprise Linux (EPEL) RPM macros
|
|
for building EPEL packages.
|
|
|
|
|
|
%install
|
|
# standard EPEL macros
|
|
install -Dp -m 0644 -t %{buildroot}%{_rpmmacrodir} %{S:10}
|
|
|
|
# EPEL macros that must override CentOS/RHEL macros
|
|
install -Dp -m 0644 -t %{buildroot}%{_sysconfdir}/rpm %{S:11}
|
|
|
|
|
|
%files
|
|
%{_rpmmacrodir}/macros.epel
|
|
%{_sysconfdir}/rpm/macros.zzz-epel
|
|
|
|
|
|
%changelog
|
|
* Sat Jan 04 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 10-2
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
## START: Generated by rpmautospec
|
|
* Tue Nov 26 2024 Maxwell G <maxwell@gtmx.me> - 10-2
|
|
- Add ansible-srpm-macros to the buildroot
|
|
|
|
* Sat Aug 03 2024 Carl George <carlwgeorge@fedoraproject.org> - 10-1
|
|
- Initial package for EPEL 10
|
|
## END: Generated by rpmautospec
|