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

Jitka Plesnikova jplesnik at fedoraproject.org
Wed Oct 2 10:30:15 UTC 2013


commit 689f47c6337d472411741db480e421a7bc3b7310
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date:   Wed Oct 2 12:29:46 2013 +0200

    0.0182 bump; Modernize spec

 perl-Gnome2-VFS.spec |   45 +++++++++++++++++++++++++++------------------
 1 files changed, 27 insertions(+), 18 deletions(-)
---
diff --git a/perl-Gnome2-VFS.spec b/perl-Gnome2-VFS.spec
index 8c2d482..30cf4a5 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
 


More information about the scm-commits mailing list