From 05c0b922c0df113e49b8f989be91473246118a29 Mon Sep 17 00:00:00 2001
From: Edric Milaret <edric.ladent-milaret@savoirfairelinux.com>
Date: Mon, 25 May 2015 10:53:26 -0400
Subject: [PATCH] fedora: del post instruction in spec file

Refs #72145

The instructions in the post tag where not evaluated before
file tag and thus not finding repo file.

Change-Id: I464ac8dea8c39eb75616163b2edd9164c2dc244c
---
 ring-daemon.spec | 2 --
 1 file changed, 2 deletions(-)

diff --git a/ring-daemon.spec b/ring-daemon.spec
index 65627c4cce..3b98ae553a 100644
--- a/ring-daemon.spec
+++ b/ring-daemon.spec
@@ -64,8 +64,6 @@ make -j %{?_smp_mflags}
 mkdir -p %{buildroot}/ring-daemon
 make DESTDIR=%{buildroot} install
 mkdir -p %{buildroot}/%{_sysconfdir}/yum.repos.d/
-
-%post
 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 'baseurl=http://nightly.yum.ring.cx/fedora_$releasever' >> %{buildroot}/%{_sysconfdir}/yum.repos.d/ring-nightly.repo
-- 
GitLab