Accepting request 506095 from devel:languages:perl:autoupdate

- updated to 1.2
   see /usr/share/doc/packages/perl-Parse-Yapp/Changes

OBS-URL: https://build.opensuse.org/request/show/506095
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Parse-Yapp?expand=0&rev=20
This commit is contained in:
Stephan Kulow 2017-06-25 08:35:45 +00:00 committed by Git OBS Bridge
parent ee6a0fb142
commit 11ef944189
5 changed files with 63 additions and 35 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:228a6cfb483ade811720bb77647900ef359dfc3e071359eb73d39e4a1cc6f22b
size 47776

3
Parse-Yapp-1.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4bd29f083c261253c6128303dc51bff88d6472c09c3846bd399e21f1f0c3e49a
size 108592

28
cpanspec.yml Normal file
View File

@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
license: Artistic-1.0 or GPL-2.0+
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 15 06:05:04 UTC 2017 - coolo@suse.com
- updated to 1.2
see /usr/share/doc/packages/perl-Parse-Yapp/Changes
-------------------------------------------------------------------
Wed Feb 27 06:23:14 UTC 2013 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Parse-Yapp
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -17,54 +17,48 @@
Name: perl-Parse-Yapp
Version: 1.05
Version: 1.2
Release: 0
Url: http://cpan.org/modules/by-module/Parse
#Upstream: The Parse::Yapp module and its related modules and shell scripts are You may use and distribute them under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file. If you use the "standalone parser" option so people don't need to install
%define cpan_name Parse-Yapp
Summary: Perl extension for generating and using LALR parsers
License: Artistic-1.0 or GPL-2.0+
Group: Development/Libraries/Perl
Source: Parse-Yapp-%{version}.tar.gz
Url: http://search.cpan.org/dist/Parse-Yapp/
Source0: https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
Parse::Yapp (Yet Another Perl Parser compiler) is a collection of
modules that let you generate and use yacc like thread safe (reentrant)
parsers with perl object oriented interface.
Parse::Yapp (Yet Another Perl Parser compiler) is a collection of modules
that let you generate and use yacc like thread safe (reentrant) parsers
with perl object oriented interface.
Authors:
--------
Francois Desarmenien <francois@fdesar.net>
The script yapp is a front-end to the Parse::Yapp module and let you easily
create a Perl OO parser from an input grammar file.
%prep
%setup -n Parse-Yapp-%{version}
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
perl Makefile.PL
make %{?_smp_mflags}
make test
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_make_install
%perl_process_packlist
chmod 644 README
chmod 644 $RPM_BUILD_ROOT/%{perl_vendorlib}/Parse/*.pm
chmod 644 $RPM_BUILD_ROOT/%{perl_vendorlib}/Parse/Yapp/*.pm
%perl_gen_filelist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc Changes README
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Parse
%{perl_vendorarch}/auto/Parse
%{_bindir}/*
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Calc.yp Changes docs README README.md yapp YappParse.yp
%changelog