Skip to content

Commit

Permalink
release: change copr vendor config location so copr finally works
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Oct 18, 2023
1 parent 8f4ff34 commit 10eedac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ultramarine/release/ultramarine-release.spec
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,8 @@ sed -e "s#\$version#%{bug_version}#g" -e 's/$edition/GNOME/;s/<!--.*-->//;/^$/d'
# Create copr config file so COPR doesnt flip out and assume EPEL
# I created a PR to support this months ago, but completely forgot about it
# to the point that risiOS managed to beat us to it - Cappy
install -d $RPM_BUILD_ROOT/%{_sysconfdir}/dnf/plugins/copr.d/
cat <<EOF >> %{buildroot}%{_sysconfdir}/dnf/plugins/copr.d/copr.vendor.conf
install -d $RPM_BUILD_ROOT/%{_datadir}/dnf/plugins/copr.d/
cat <<EOF >> %{buildroot}%{_datadir}/dnf/plugins/copr.d/copr.vendor.conf
[main]
releasever = %{version}
distribution = fedora
Expand Down Expand Up @@ -503,7 +503,7 @@ install -Dm0644 %{SOURCE28} -t %{buildroot}%{_prefix}/lib/systemd/user.conf.d/


%files common
%{_sysconfdir}/dnf/plugins/copr.d/copr.vendor.conf
%{_datadir}/dnf/plugins/copr.d/copr.vendor.conf
%{_sysconfdir}/anaconda/profile.d/ultramarine.conf
%license licenses/LICENSE licenses/README.license
%{_prefix}/lib/ultramarine-release
Expand Down

0 comments on commit 10eedac

Please sign in to comment.