Cleanup spec, prepare for new macros

epel9
Troy Dawson 3 years ago
parent 5ac77a6aae
commit e714c8c15a

@ -12,11 +12,14 @@ License: GPLv2
URL: http://download.fedoraproject.org/pub/epel URL: http://download.fedoraproject.org/pub/epel
Source0: macros.epel-rpm-macros Source0: macros.epel-rpm-macros
Source1: macros.zzz-epel-override Source1: macros.zzz-epel-override
Source9: GPL Source2: GPL
#Add source for misc macros below here
BuildArch: noarch BuildArch: noarch
Requires: redhat-release >= %{version} Requires: redhat-release >= %{version}
# For FPC buildroot macros # For FPC buildroot macros
# Currently Recommends; Change to Requires when it is in EPEL
Recommends: fpc-srpm-macros Recommends: fpc-srpm-macros
# pyproject-rpm-macros in CRB thus not required by python3-devel or python3-rpm-macros # pyproject-rpm-macros in CRB thus not required by python3-devel or python3-rpm-macros
# https://bugzilla.redhat.com/show_bug.cgi?id=2001034 # https://bugzilla.redhat.com/show_bug.cgi?id=2001034
@ -28,16 +31,18 @@ macros for building EPEL packages.
%prep %prep
%setup -cT %setup -cT
install -pm 644 %{SOURCE9} . install -pm 644 %{SOURCE2} .
%install %install
#GPG Key #epel rpm macros
install -Dpm 644 %{SOURCE0} \ install -Dpm 644 %{SOURCE0} \
%{buildroot}%{_rpmmacrodir}/macros.epel-rpm-macros %{buildroot}%{_rpmmacrodir}/macros.epel-rpm-macros
install -Dpm 644 %{SOURCE1} \ install -Dpm 644 %{SOURCE1} \
%{buildroot}%{_sysconfdir}/rpm/macros.zzz-epel-override %{buildroot}%{_sysconfdir}/rpm/macros.zzz-epel-override
#Add misc macros below here
%files %files
%license GPL %license GPL

Loading…
Cancel
Save