From 2bd2bc6d269ceee8d9e45374478877a1aa9319100a452e99e141d6cd9a6f1bb4 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 30 Jan 2008 02:36:45 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-gettext?expand=0&rev=3 --- gettext-1.05.tar.bz2 | 3 +++ gettext-1.05.tar.gz | 3 --- perl-gettext-1.05-POSIX.diff | 10 +++++++ perl-gettext.changes | 6 +++++ perl-gettext.spec | 51 ++++++++++++++++++++++-------------- 5 files changed, 50 insertions(+), 23 deletions(-) create mode 100644 gettext-1.05.tar.bz2 delete mode 100644 gettext-1.05.tar.gz create mode 100644 perl-gettext-1.05-POSIX.diff diff --git a/gettext-1.05.tar.bz2 b/gettext-1.05.tar.bz2 new file mode 100644 index 0000000..20ccab8 --- /dev/null +++ b/gettext-1.05.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81f8589299d0c7418ceb336a6f36bc3a93222ac242f1028c9f0eddb3bd42584d +size 7446 diff --git a/gettext-1.05.tar.gz b/gettext-1.05.tar.gz deleted file mode 100644 index 2957057..0000000 --- a/gettext-1.05.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:27367f3dc1be79c9ed178732756e37e4cfce45f9e2a27ebf26e1f40d80124694 -size 7693 diff --git a/perl-gettext-1.05-POSIX.diff b/perl-gettext-1.05-POSIX.diff new file mode 100644 index 0000000..3bb5550 --- /dev/null +++ b/perl-gettext-1.05-POSIX.diff @@ -0,0 +1,10 @@ +--- gettext.pm ++++ gettext.pm +@@ -32,6 +32,7 @@ + =cut + + use Carp; ++use POSIX; + + require Exporter; + require DynaLoader; diff --git a/perl-gettext.changes b/perl-gettext.changes index daf5c2e..315339b 100644 --- a/perl-gettext.changes +++ b/perl-gettext.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 29 21:54:26 CET 2008 - anicka@suse.de + +- fix mismatched prototypes [#353715] +- fix specfile (rpmlint warnings), enable tests + ------------------------------------------------------------------- Sun May 27 18:17:53 CEST 2007 - rguenther@suse.de diff --git a/perl-gettext.spec b/perl-gettext.spec index 4b36952..fb30c86 100644 --- a/perl-gettext.spec +++ b/perl-gettext.spec @@ -1,7 +1,7 @@ # # spec file for package perl-gettext (Version 1.05) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -11,17 +11,19 @@ # norootforbuild Name: perl-gettext -License: Artistic License, No license agreement found in package +Url: http://archive.cpan.cz/authors/id/P/PV/PVANDRY/ +License: Artistic License; GPL v2 or later Group: Development/Libraries/Perl BuildRequires: perl Obsoletes: perl_gtx Provides: perl_gtx Requires: perl = %{perl_version} -Autoreqprov: on +AutoReqProv: on Summary: gettext for perl Version: 1.05 -Release: 49 -Source: gettext-%{version}.tar.gz +Release: 90 +Source: gettext-%{version}.tar.bz2 +Patch: %{name}-%{version}-POSIX.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -34,7 +36,8 @@ Authors: Phillip Vandry %prep -%setup -n gettext-%{version} +%setup -q -n gettext-%{version} +%patch # --------------------------------------------------------------------------- %build @@ -42,11 +45,16 @@ perl Makefile.PL make # --------------------------------------------------------------------------- +%check +make test + %install -rm -rf $RPM_BUILD_ROOT make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist +%clean +rm -rf $RPM_BUILD_ROOT + %files %defattr(-,root,root) %{perl_vendorarch}/Locale @@ -56,29 +64,32 @@ make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT install_vendor %doc README %changelog -* Sun May 27 2007 - rguenther@suse.de +* Tue Jan 29 2008 anicka@suse.de +- fix mismatched prototypes [#353715] +- fix specfile (rpmlint warnings), enable tests +* Sun May 27 2007 rguenther@suse.de - add perl BuildRequires -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Mon Jul 11 2005 - schubi@suse.de +* Mon Jul 11 2005 schubi@suse.de - update to 1.05 -* Fri Apr 15 2005 - schubi@suse.de +* Fri Apr 15 2005 schubi@suse.de - update to 1.04 -* Sun Jan 11 2004 - adrian@suse.de +* Sun Jan 11 2004 adrian@suse.de - add %%defattr -* Fri Aug 22 2003 - mjancar@suse.cz +* Fri Aug 22 2003 mjancar@suse.cz - require the perl version we build with -* Tue Jul 15 2003 - schwab@suse.de +* Tue Jul 15 2003 schwab@suse.de - Update specfile. -* Tue Jun 17 2003 - choeger@suse.de +* Tue Jun 17 2003 choeger@suse.de - updated filelist -* Thu Aug 08 2002 - mls@suse.de +* Thu Aug 08 2002 mls@suse.de - use sitearch macro -* Thu Nov 16 2000 - ro@suse.de +* Thu Nov 16 2000 ro@suse.de - use BuildRoot -* Thu Nov 16 2000 - ro@suse.de +* Thu Nov 16 2000 ro@suse.de - renamed package perl_gtx to perl-gettext -* Wed Sep 20 2000 - schwab@suse.de +* Wed Sep 20 2000 schwab@suse.de - Fix missing declarations. -* Wed May 31 2000 - choeger@suse.de +* Wed May 31 2000 choeger@suse.de - first version, 1.01