jplesnik pushed to perl-DBIx-Safe (master). "Specify all dependencies"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Aug 11 15:16:02 UTC 2015


From 6e52107045537220ed24ce507b87bb6e6284b088 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Tue, 11 Aug 2015 17:15:45 +0200
Subject: Specify all dependencies


diff --git a/perl-DBIx-Safe.spec b/perl-DBIx-Safe.spec
index ac49588..693b2f4 100644
--- a/perl-DBIx-Safe.spec
+++ b/perl-DBIx-Safe.spec
@@ -1,22 +1,32 @@
 %define         realname DBIx-Safe
 Name:           perl-DBIx-Safe
 Version:        1.2.5
-Release:        23%{?dist}
+Release:        24%{?dist}
 Summary:        Safer access to your database through a DBI database handle
 License:        BSD
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/DBIx-Safe/
 Source0:        http://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/%{realname}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 # core
-BuildRequires:  perl(ExtUtils::MakeMaker) 
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(DBD::Pg)
 BuildRequires:  perl(DBI)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(Perl::Critic)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Simple)
+BuildRequires:  perl(utf8)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+# pod2html
+BuildRequires:  perl-Pod-Html
 
 %description
 The purpose of this module is to give controlled, limited access to an
@@ -33,28 +43,24 @@ the database handle - methods and attributes.
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} + 
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} %{buildroot}/* 
 
 %check
 # note this test suite is noisy! :-)
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
-%doc Changes  INSTALL  LICENSE  README TODO SIGNATURE t/
+%license LICENSE
+%doc Changes INSTALL README TODO SIGNATURE
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Aug 11 2015 Jitka Plesnikova <jplesnik at redhat.com> - 1.2.5-24
+- Specify all dependencies
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.5-23
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
@@ -109,10 +115,10 @@ rm -rf %{buildroot}
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.5-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 
-* Mon Jan 29 2009 Itamar Reis Peixoto <itamar at ispbrasil.com.br> 1.2.5-4
+* Thu Jan 29 2009 Itamar Reis Peixoto <itamar at ispbrasil.com.br> 1.2.5-4
 - include make test in %%check section
 
-* Mon Jan 29 2009 Itamar Reis Peixoto <itamar at ispbrasil.com.br> 1.2.5-3
+* Thu Jan 29 2009 Itamar Reis Peixoto <itamar at ispbrasil.com.br> 1.2.5-3
 - include %%{_fixperms} %%{buildroot}/* after %%install section, replace tab to space in spec.
 
 * Mon Jan 26 2009 Itamar Reis Peixoto <itamar at ispbrasil.com.br> 1.2.5-2
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-DBIx-Safe.git/commit/?h=master&id=6e52107045537220ed24ce507b87bb6e6284b088


More information about the perl-devel mailing list