[perl-Gnome2-VFS/f20] 0.0182 bump; Modernize spec

Jitka Plesnikova jplesnik at fedoraproject.org
Wed Oct 2 10:44:58 UTC 2013


commit d23de6f81ee9888da592cd870fe4fc44dfaebcff
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date:   Wed Oct 2 12:44:43 2013 +0200

    0.0182 bump; Modernize spec

 .gitignore           |    1 +
 perl-Gnome2-VFS.spec |   45 +++++++++++++++++++++++++++------------------
 sources              |    2 +-
 3 files changed, 29 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index cc6f9c8..c60cd5f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Gnome2-VFS-1.081.tar.gz
+/Gnome2-VFS-1.082.tar.gz
diff --git a/perl-Gnome2-VFS.spec b/perl-Gnome2-VFS.spec
index 8c2d482..111f9e8 100644
--- a/perl-Gnome2-VFS.spec
+++ b/perl-Gnome2-VFS.spec
@@ -1,22 +1,34 @@
 Name:           perl-Gnome2-VFS
-Version:        1.081
-Release:        15%{?dist}
+Version:        1.082
+Release:        1%{?dist}
 Summary:        Perl interface to the 2.x series of the GNOME VFS library
 License:        LGPLv2+
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Gnome2-VFS/
-Source0:        http://www.cpan.org/authors/id/T/TS/TSCH/Gnome2-VFS-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://www.cpan.org/authors/id/X/XA/XAOC/Gnome2-VFS-%{version}.tar.gz
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
-## core
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::More)
-## non-core
+
+BuildRequires:  perl
+BuildRequires:  perl(Cwd)
 BuildRequires:  perl(ExtUtils::Depends) >= 0.20
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(ExtUtils::PkgConfig) >= 1.03
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Glib) >= 1.120
+BuildRequires:  perl(Glib::CodeGen)
 BuildRequires:  perl(Glib::MakeHelper)
+BuildRequires:  perl(strict)
+# Run-time
+BuildRequires:  perl(constant)
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(warnings)
+# Tests
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(utf8)
 BuildRequires:  gnome-vfs2-devel
 
 
@@ -36,13 +48,10 @@ 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} -type f -name '*.bs' -size 0 -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} %{buildroot}/*
 
@@ -51,18 +60,18 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 make test
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
-%doc ChangeLog doctypes LICENSE NEWS README examples/ t/
+%doc doctypes LICENSE NEWS README examples/ t/
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/Gnome2*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Oct 02 2013 Jitka Plesnikova <jplesnik at redhat.com> - 0.0182-1
+- 0.0182 bump
+- Update dependencies
+- Modernize spec
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.081-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 994909f..01e2f40 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3d220cbbe9f1ebc78d7047593f9cd633  Gnome2-VFS-1.081.tar.gz
+374e7d611d080d893bb3da9d40c64733  Gnome2-VFS-1.082.tar.gz



More information about the perl-devel mailing list