Accepting request 297296 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/297296
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-MessagePack?expand=0&rev=3
This commit is contained in:
Stephan Kulow
2015-04-16 19:26:04 +00:00
committed by Git OBS Bridge
parent 1c4fce1592
commit a30653627e
6 changed files with 156 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-MessagePack (Version 0.34)
# spec file for package perl-Data-MessagePack
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,21 +15,24 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Data-MessagePack
Version: 0.34
Release: 1
License: GPL+ or Artistic
Version: 0.48
Release: 0
%define cpan_name Data-MessagePack
Summary: MessagePack serialising/deserialising
Url: http://search.cpan.org/dist/Data-MessagePack/
Summary: MessagePack serializing/deserializing
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Data-MessagePack-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildRequires: perl(XSLoader) >= 0.1
Url: http://search.cpan.org/dist/Data-MessagePack/
Source0: http://www.cpan.org/authors/id/G/GF/GFUJI/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl(XSLoader) >= 0.1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl(Devel::PPPort) >= 3.19
BuildRequires: perl(ExtUtils::ParseXS) >= 2.21
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(Test::Requires)
%{perl_requires}
%description
@@ -37,6 +40,7 @@ This module converts Perl data structures to MessagePack and vice versa.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
@@ -50,11 +54,8 @@ This module converts Perl data structures to MessagePack and vice versa.
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%defattr(-,root,root,755)
%doc Changes README
%changelog