[perl-SQL-Library] 0.0.4 bump and some cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 721bdcf49db6c40c40dda0357c545848fd39ca2b
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Tue Jun 5 17:35:46 2012 +0200

    0.0.4 bump and some cleanup

 .gitignore            |    1 +
 perl-SQL-Library.spec |   25 ++++++++++---------------
 sources               |    2 +-
 3 files changed, 12 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 55a6d8c..195972f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 SQL-Library-0.0.3.tar.gz
+/SQL-Library-0.0.4.tar.gz
diff --git a/perl-SQL-Library.spec b/perl-SQL-Library.spec
index ac84578..ea57520 100644
--- a/perl-SQL-Library.spec
+++ b/perl-SQL-Library.spec
@@ -1,15 +1,15 @@
 Name:           perl-SQL-Library
-Version:        0.0.3
-Release:        12%{?dist}
+Version:        0.0.4
+Release:        1%{?dist}
 Summary:        Manage libraries of SQL easily 
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/SQL-Library/
 Source0:        http://www.cpan.org/authors/id/D/DG/DGORLEY/SQL-Library-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::More)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This is a perl module for managing simple SQL libraries stored in
@@ -20,35 +20,30 @@ OUTSIDE of their perl code.
 %setup -q -n SQL-Library-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 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 \;
-
 %{_fixperms} %{buildroot}/*
-
 # the better to doc it later...
 cp t/sqltest.lib example.lib
 
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README example.lib
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jun 05 2012 Petr Šabata <contyk@xxxxxxxxxx> - 0.0.4-1
+- 0.0.4 bump
+- Modernize spec (remove buildroot, defattr, and command macros)
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.0.3-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index e0d2188..4019cc6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-75b80cb27775bb61f90fbd5b835032ec  SQL-Library-0.0.3.tar.gz
+e77199d4d71eac25cc82b2a86711052c  SQL-Library-0.0.4.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux