From 44677889a00830e4b307434ca7551643031b9e10 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:11:40 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-ntp.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-ntp.spec b/wpkg-ntp.spec index 60647c6..6966ccb 100644 --- a/wpkg-ntp.spec +++ b/wpkg-ntp.spec @@ -32,14 +32,14 @@ unix2dos packages/* mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/packages cp -r packages/* %{buildroot}/home/e-smith/files/shares/wpkg/files/packages/ +%clean +/bin/rm -rf %{buildroot} + %files %defattr(-,root,root) %doc CHANGELOG.git /home/e-smith/files/shares/wpkg/files/ -%clean -/bin/rm -rf %{buildroot} - %changelog * Thu Jun 7 2012 Daniel Berteaud 0.1.0-1 - Change version scheme