Skip to content
Snippets Groups Projects
Commit 4d607b4f authored by Jérôme Oufella's avatar Jérôme Oufella
Browse files

packaging: normalize Fedora repository definition

When invoking Fedora's package manager, the Ring repository definition
would show as "Ring $releasever", which does not make sense.

 # dnf update
 Ring 23 - x86_64 - ring
 Fedora 23 - x86_64 - Updates
 ...

Normalizing the repository definition to match Fedora's pattern produces
a more coherent display.

 # dnf update
 Fedora 23 - x86_64
 Fedora 23 - x86_64 - Updates
 Ring - x86_64 - Nightly

Change-Id: I7a9a2f304c0aa50698202e537969fc57ad520b9e
parent 08c88cfa
Branches
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ mkdir -p %{buildroot}/ring-daemon
make DESTDIR=%{buildroot} install
mkdir -p %{buildroot}/%{_sysconfdir}/yum.repos.d/
echo '[ring]' > %{buildroot}/%{_sysconfdir}/yum.repos.d/ring-nightly.repo
echo 'name=Ring $releasever - $basearch - ring' >> %{buildroot}/%{_sysconfdir}/yum.repos.d/ring-nightly.repo
echo 'name=Ring - $basearch - Nightly' >> %{buildroot}/%{_sysconfdir}/yum.repos.d/ring-nightly.repo
echo 'baseurl=http://nightly.yum.ring.cx/fedora_$releasever' >> %{buildroot}/%{_sysconfdir}/yum.repos.d/ring-nightly.repo
echo 'gpgcheck=1' >> %{buildroot}/%{_sysconfdir}/yum.repos.d/ring-nightly.repo
echo 'gpgkey=http://gpl.savoirfairelinux.net/ring-download/ring.pub.key' >> %{buildroot}/%{_sysconfdir}/yum.repos.d/ring-nightly.repo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment