]> git.pld-linux.org Git - packages/perl-Glib.git/commitdiff
- updated to 1.3292 (as 1.329_2 to avoid epoch bumps after 1.34x release) auto/th/perl-Glib-1.329_2-2
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 23 Apr 2020 19:13:33 +0000 (21:13 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 23 Apr 2020 19:13:33 +0000 (21:13 +0200)
- removed obsolete tests patch

perl-Glib-tests.patch [deleted file]
perl-Glib.spec

diff --git a/perl-Glib-tests.patch b/perl-Glib-tests.patch
deleted file mode 100644 (file)
index 07fee76..0000000
+++ /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');
index e4c3128fd1e1a46c26f70cb3c179ed845da4f969..e0c2c62e908c24aeb30fa2ecd38bbde35a59eff3 100644 (file)
@@ -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 \
This page took 0.13272 seconds and 4 git commands to generate.