commit b033f0ab35e6ab397c13fc6a7e9a085b7df1e8b0
Author: Jakub Bogusz <[email protected]>
Date:   Thu Apr 23 21:13:33 2020 +0200

    - updated to 1.3292 (as 1.329_2 to avoid epoch bumps after 1.34x release)
    - removed obsolete tests patch

 perl-Glib-tests.patch | 26 --------------------------
 perl-Glib.spec        | 12 ++++++------
 2 files changed, 6 insertions(+), 32 deletions(-)
---
diff --git a/perl-Glib.spec b/perl-Glib.spec
index e4c3128..e0c2c62 100644
--- a/perl-Glib.spec
+++ b/perl-Glib.spec
@@ -7,19 +7,20 @@ Summary:      Perl Glib bindings
 Summary(pl.UTF-8):     Wiązania Glib dla Perla
 Name:          perl-Glib
 # note: versions 1.x[13579]y are unstable, if you want them, please use DEVEL 
branch
-Version:       1.329
+Version:       1.329_2
+%define        fver    %(echo %{version} | tr -d _)
 Release:       2
 License:       LGPL v2.1+
 Group:         Development/Languages/Perl
-Source0:       
http://downloads.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
-# Source0-md5: be860965e07065f1188e679fbac83dc0
-Patch0:                %{name}-tests.patch
+Source0:       
http://downloads.sourceforge.net/gtk2-perl/%{pnam}-%{fver}.tar.gz
+# Source0-md5: 9fcd0fbb16f35a6bef0827e83d68da04
 URL:           http://gtk2-perl.sourceforge.net/
 BuildRequires: glib2-devel >= 1:2.24.0
 BuildRequires: perl-ExtUtils-Depends >= 0.300
 BuildRequires: perl-ExtUtils-PkgConfig >= 1.06
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
 Requires:      glib2 >= 1:2.24.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -43,8 +44,7 @@ Development files for Perl Glib bindings.
 Pliki programistyczne wiązań Glib dla Perla.
 
 %prep
-%setup -q -n %{pnam}-%{version}
-%patch0 -p1
+%setup -q -n %{pnam}-%{fver}
 
 %build
 %{__perl} Makefile.PL \
diff --git a/perl-Glib-tests.patch b/perl-Glib-tests.patch
deleted file mode 100644
index 07fee76..0000000
--- a/perl-Glib-tests.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Something started to strip ending newlines from comments...
---- Glib-1.329/t/g.t.orig      2012-01-06 07:26:40.000000000 +0100
-+++ Glib-1.329/t/g.t   2019-07-02 22:02:39.461858950 +0200
-@@ -84,7 +84,7 @@
-       eq_array (\@bools, [FALSE, TRUE, FALSE]);
- 
-       ok ($key_file->has_group('locales'));
--      is ($key_file->get_comment('locales', 'mystring'), "some string\n");
-+      is ($key_file->get_comment('locales', 'mystring'), "some string");
-       is ($key_file->get_string('locales', 'mystring'), 'Good morning');
-       is ($key_file->get_locale_string('locales', 'mystring', 'it'), 
'Buongiorno');
- 
-@@ -94,11 +94,11 @@
-       $key_file->set_string_list('listsection', 'stringlist', 'one', 'two', 
'three');
-       $key_file->set_locale_string('locales', 'mystring', 'en', 'one');
-       $key_file->set_comment('locales', 'mystring', 'comment');
--      is ($key_file->get_comment('locales', 'mystring'), "comment\n");
-+      is ($key_file->get_comment('locales', 'mystring'), "comment");
-       $key_file->set_comment('locales', undef, "another comment\n");
-       is ($key_file->get_comment('locales', undef), "#another comment\n#");
-       $key_file->set_comment(undef, undef, 'one comment more');
--      is ($key_file->get_comment(undef, undef), "one comment more\n");
-+      is ($key_file->get_comment(undef, undef), "one comment more");
-       $key_file->set_boolean($start_group, 'boolkey', FALSE);
-       $key_file->set_value($start_group, 'boolkey', '0');
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Glib.git/commitdiff/b033f0ab35e6ab397c13fc6a7e9a085b7df1e8b0

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to