Remove deprecated constructs

epel9
Miro Hrončok 4 years ago
parent 9f03ce23e9
commit 041f1b0024

@ -3,7 +3,6 @@ Version: 8
Release: 10%{dist} Release: 10%{dist}
Summary: Extra Packages for Enterprise Linux repository configuration Summary: Extra Packages for Enterprise Linux repository configuration
Group: System Environment/Base
License: GPLv2 License: GPLv2
# This is a EPEL maintained package which is specific to # This is a EPEL maintained package which is specific to
@ -41,8 +40,6 @@ install -pm 644 %{SOURCE6} .
%install %install
rm -rf %{buildroot}
#GPG Key #GPG Key
install -Dpm 644 %{SOURCE0} \ install -Dpm 644 %{SOURCE0} \
%{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-EPEL-%{version} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-EPEL-%{version}
@ -53,11 +50,8 @@ install -pm 644 %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE100} %{SOURCE101} \
%{buildroot}%{_sysconfdir}/yum.repos.d %{buildroot}%{_sysconfdir}/yum.repos.d
install -pm 644 -D %{SOURCE5} %{buildroot}%{_prefix}/lib/systemd/system-preset/90-epel.preset install -pm 644 -D %{SOURCE5} %{buildroot}%{_prefix}/lib/systemd/system-preset/90-epel.preset
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-)
%doc GPL README-epel-8-packaging.md %doc GPL README-epel-8-packaging.md
%config(noreplace) %{_sysconfdir}/yum.repos.d/* %config(noreplace) %{_sysconfdir}/yum.repos.d/*
%{_sysconfdir}/pki/rpm-gpg/* %{_sysconfdir}/pki/rpm-gpg/*

Loading…
Cancel
Save