Reorder source numbers to avoid packaging a tar file
This commit is contained in:
parent
c4113b0c63
commit
1f311b5cd7
@ -5,8 +5,8 @@ Summary: fdragon release
|
|||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://fdragon.org
|
URL: http://fdragon.org
|
||||||
Source0: fdl-fedora.repo
|
Source1: fdl-fedora.repo
|
||||||
Source1: fdl-epel.repo
|
Source2: fdl-epel.repo
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
@ -21,10 +21,10 @@ Source1: fdl-epel.repo
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
%{__mkdir_p} ${RPM_BUILD_ROOT}%{_sysconfdir}/yum.repos.d/
|
%{__mkdir_p} ${RPM_BUILD_ROOT}%{_sysconfdir}/yum.repos.d/
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
%{__install} %{SOURCE0} ${RPM_BUILD_ROOT}%{_sysconfdir}/yum.repos.d/
|
%{__install} %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/yum.repos.d/
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
%{__install} %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/yum.repos.d/
|
%{__install} %{SOURCE2} ${RPM_BUILD_ROOT}%{_sysconfdir}/yum.repos.d/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user