[perltidy] Specify all dependencies.

Marcela Mašláňová mmaslano at fedoraproject.org
Wed Aug 15 11:40:01 UTC 2012


commit 0c54c91dbdf0f7276c7fe42673010d7e9d59a577
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Wed Aug 15 13:39:30 2012 +0200

    Specify all dependencies.
    
    Signed-off-by: Marcela Mašláňová <mmaslano at redhat.com>

 perltidy.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/perltidy.spec b/perltidy.spec
index afa655a..cfb537b 100644
--- a/perltidy.spec
+++ b/perltidy.spec
@@ -1,6 +1,6 @@
 Name:           perltidy
 Version:        20120714
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Tool for indenting and reformatting Perl scripts
 
 License:        GPLv2+
@@ -9,6 +9,12 @@ Source:         http://downloads.sourceforge.net/perltidy/Perl-Tidy-%{version}.t
 
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(IO::File)
+BuildRequires:  perl(Test)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -35,7 +41,6 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
@@ -55,6 +60,9 @@ make test
 
 
 %changelog
+* Wed Aug 15 2012 Jitka Plesnikova <jplesnik at redhat.com> - 20120714-3
+- Specify all dependencies.
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 20120714-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list