[perl-SQL-Shell] add requires 707442
Marcela Mašláňová
mmaslano at fedoraproject.org
Wed May 25 08:59:30 UTC 2011
commit 623b633ca72834fd5b485f4eddc15137bd218a8f
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date: Wed May 25 10:55:12 2011 +0200
add requires 707442
clean specfile.
perl-SQL-Shell.spec | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/perl-SQL-Shell.spec b/perl-SQL-Shell.spec
index e9a410c..e10b0a0 100644
--- a/perl-SQL-Shell.spec
+++ b/perl-SQL-Shell.spec
@@ -1,13 +1,12 @@
Name: perl-SQL-Shell
Version: 1.14
-Release: 7%{?dist}
+Release: 8%{?dist}
# lib/SQL/Shell.pm -> GPLv2 (refers to "the GPL", bundled COPYING is GPLv2)
License: GPLv2
Group: Development/Libraries
Summary: Command interpreter for DBI shells
Source: http://search.cpan.org/CPAN/authors/id/B/BB/BBC/SQL-Shell-%{version}.tar.gz
Url: http://search.cpan.org/dist/SQL-Shell
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
@@ -39,6 +38,8 @@ License: GPL+ or Artistic
Group: Development/Libraries
Summary: Command interperter for DBI shells
Requires: %{name} = %{version}-%{release}
+Requires: perl(IO::Scalar)
+Requires: perl(Term::ReadLine::Gnu)
%description -n sqlsh
sqlsh is a command-interpreter API for building shells and batch
@@ -55,8 +56,6 @@ See the SQL::Shell::Manual manpage for a user guide.
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
@@ -66,21 +65,20 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%check
make test
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%doc COPYING Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%files -n sqlsh
-%defattr(-,root,root,-)
%{_bindir}/sqlsh
%{_mandir}/man1/sqlsh.1.gz
%changelog
+* Wed May 25 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.14-8
+- add requires 707442
+- clean specfile
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.14-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list