Skip to content

Commit

Permalink
fix copr
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Oct 20, 2023
1 parent f19539e commit 12bfa02
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ultramarine/release/ultramarine-release.spec
Original file line number Diff line number Diff line change
Expand Up @@ -415,12 +415,11 @@ 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/%{_datadir}/dnf/plugins/copr.d/
cat <<EOF >> %{buildroot}%{_datadir}/dnf/plugins/copr.d/copr.vendor.conf
install -d %{buildroot}%{_datadir}/dnf/plugins
cat >> %{buildroot}%{_datadir}/dnf/plugins/copr.vendor.conf << EOF
[main]
releasever = %{version}
distribution = fedora

releasever = %{releasever}
EOF

# provide upstream-release files for debian based apps
Expand Down

0 comments on commit 12bfa02

Please sign in to comment.