[perl-WWW-OrangeHRM-Client] Do not hard-code tar name in setup argument

Petr Pisar ppisar at fedoraproject.org
Fri Dec 14 14:04:13 UTC 2012


commit 93f45453da10d84f2f1a90eef2c775c888643b37
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Dec 14 15:02:58 2012 +0100

    Do not hard-code tar name in setup argument

 perl-WWW-OrangeHRM-Client.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/perl-WWW-OrangeHRM-Client.spec b/perl-WWW-OrangeHRM-Client.spec
index 527794b..80ca058 100644
--- a/perl-WWW-OrangeHRM-Client.spec
+++ b/perl-WWW-OrangeHRM-Client.spec
@@ -19,7 +19,7 @@ developed against Red Hat instance, so I cannot guarantee it works with
 other instances.
 
 %prep
-%setup -q -n WWW-OrangeHRM-Client-v%{version}
+%setup -q -n %{tarname}-v%{version}
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor


More information about the scm-commits mailing list