Reorder source numbers to avoid packaging a tar file

This commit is contained in:
Jason Rothstein 2019-05-13 22:55:46 -05:00
parent c4113b0c63
commit 1f311b5cd7

View File

@ -5,8 +5,8 @@ Summary: fdragon release
License: GPLv3+
URL: http://fdragon.org
Source0: fdl-fedora.repo
Source1: fdl-epel.repo
Source1: fdl-fedora.repo
Source2: fdl-epel.repo
%description
@ -21,10 +21,10 @@ Source1: fdl-epel.repo
rm -rf %{buildroot}
%{__mkdir_p} ${RPM_BUILD_ROOT}%{_sysconfdir}/yum.repos.d/
%if 0%{?fedora}
%{__install} %{SOURCE0} ${RPM_BUILD_ROOT}%{_sysconfdir}/yum.repos.d/
%{__install} %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/yum.repos.d/
%endif
%if 0%{?rhel}
%{__install} %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/yum.repos.d/
%{__install} %{SOURCE2} ${RPM_BUILD_ROOT}%{_sysconfdir}/yum.repos.d/
%endif