[perl-Gnome2] 1.043 bump

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

 



commit fc2e5792299063b80ff78add2b10bb170a4c0161
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Wed Oct 2 12:17:24 2013 +0200

    1.043 bump

 .gitignore                                         |    1 +
 .rpmlint                                           |    2 +
 ...3-Do-not-create-blib-lib-Gnome2-explictly.patch |   30 +++++++++++
 perl-Gnome2.spec                                   |   56 ++++++++++++-------
 sources                                            |    2 +-
 5 files changed, 69 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index cba5e64..3e9ffd4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Gnome2-1.042.tar.gz
+/Gnome2-1.043.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..361f1e7
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (http|www)");
diff --git a/Gnome2-1.043-Do-not-create-blib-lib-Gnome2-explictly.patch b/Gnome2-1.043-Do-not-create-blib-lib-Gnome2-explictly.patch
new file mode 100644
index 0000000..45c2ad3
--- /dev/null
+++ b/Gnome2-1.043-Do-not-create-blib-lib-Gnome2-explictly.patch
@@ -0,0 +1,30 @@
+From fc2dfc2d6c524b4eca1e4fd097c417e08ebad4c9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@xxxxxxxxxx>
+Date: Wed, 2 Oct 2013 11:00:27 +0200
+Subject: [PATCH] Do not create blib/lib/Gnome2 explictly
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+<https://rt.cpan.org/Public/Bug/Display.html?id=89188>
+
+Signed-off-by: Petr Písař <ppisar@xxxxxxxxxx>
+---
+ Makefile.PL | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 4661962..e698775 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -182,7 +182,6 @@ sub MY::postamble {
+ 		)
+           . "
+ \$(INST_LIB)/\$(FULLEXT)/enums.pod : \$(BLIB_DONE) maps podifyenums.pl
+-	mkdir blib/lib/\$(NAME)
+ 	\$(PERLRUNINST) -M\$(NAME) podifyenums.pl \$(NAME) maps > \$@
+ ";
+ }
+-- 
+1.8.3.1
+
diff --git a/perl-Gnome2.spec b/perl-Gnome2.spec
index 31b3aeb..4184640 100644
--- a/perl-Gnome2.spec
+++ b/perl-Gnome2.spec
@@ -1,61 +1,75 @@
 Name:           perl-Gnome2
-Version:        1.042
-Release:        16%{?dist}
+Version:        1.043
+Release:        1%{?dist}
 Summary:        Perl interface to the 2.x series of the GNOME libraries
 License:        LGPLv2
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Gnome2/
-Source0:        http://www.cpan.org/authors/id/T/TS/TSCH/Gnome2-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://www.cpan.org/authors/id/X/XA/XAOC/Gnome2-%{version}.tar.gz
+# Fix build script, CPAN RT#89188
+Patch0:         Gnome2-1.043-Do-not-create-blib-lib-Gnome2-explictly.patch
+BuildRequires:  libgnomeui-devel
+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.04
+BuildRequires:  perl(Glib::GenPod)
 BuildRequires:  perl(Glib::MakeHelper)
 BuildRequires:  perl(Gnome2::Canvas) >= 1.00
 BuildRequires:  perl(Gnome2::VFS) >= 1.00
 BuildRequires:  perl(Gtk2) >= 1.00
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(DynaLoader)
+# Tests:
+BuildRequires:  perl(constant)
+# Data::Dumper not used
 BuildRequires:  perl(Test::More)
-BuildRequires:  libgnomeui-devel
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Gnome2::Canvas) >= 1.00
+Requires:       perl(Gnome2::VFS) >= 1.00
+Requires:       perl(Gtk2) >= 1.00
 
-%description
-The Gnome2 module allows a perl developer to use the Gnome libraries.  Find out
-more about Gnome+ at http://www.gnome.org.
+%{?perl_default_filter}
 
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Gnome2::Canvas|Gnome2::VFS|Gtk2)\\)$
+
+%description
+The Gnome2 module allows a perl developer to use the GNOME libraries.  Find out
+more about GNOME+ at <http://www.gnome.org/>.
 
 %prep
 %setup -q -n Gnome2-%{version}
+%patch0 -p1
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
-%doc AUTHORS ChangeLog doctypes gnome.typemap LICENSE maps NEWS README TODO
+%doc AUTHORS ChangeLog.pre-git LICENSE maps NEWS README TODO
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/Gnome2*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Oct 02 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.043-1
+- 1.043 bump
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.042-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 729506e..82a9342 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-eb7b624114e45e54e022a633ffc1cce6  Gnome2-1.042.tar.gz
+b133e5025871c431b16ec10980e170bd  Gnome2-1.043.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