Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > cd7b40f3a283bbda58f22d9524cbf3b6 > files > 2

perl-Dist-Zilla-Plugin-BumpVersionAfterRelease-0.15.0-2.mga6.src.rpm

%define upstream_name Dist-Zilla-Plugin-BumpVersionAfterRelease
%define upstream_version 0.015

%{?perl_default_filter}

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 2

Summary:    Bump module versions after distribution release
License:    ASL 2.0
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Dist/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(Dist::Zilla) >= 5.40.0
BuildRequires: perl(Dist::Zilla::File::InMemory)
BuildRequires: perl(Dist::Zilla::Role::AfterRelease) >= 5.0.0
BuildRequires: perl(Dist::Zilla::Role::FileFinderUser)
BuildRequires: perl(Dist::Zilla::Role::FileGatherer)
BuildRequires: perl(Dist::Zilla::Role::FileMunger) >= 5.0.0
BuildRequires: perl(Dist::Zilla::Role::VersionProvider)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Moose)
BuildRequires: perl(Moose::Role)
BuildRequires: perl(Path::Tiny) >= 0.61.0
BuildRequires: perl(Test::DZil)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.960.0
BuildRequires: perl(Version::Next)
BuildRequires: perl(namespace::autoclean)
BuildRequires: perl(strict)
BuildRequires: perl(utf8)
BuildRequires: perl(version)
BuildRequires: perl(warnings)
BuildArch:  noarch

%description
After a release, this module modifies your original source code to
replace an existing "our $VERSION = '1.23'" declaration with the next
number after the released version as determined by Version::Next. Only
the first occurrence is affected and it must exactly match this regular
expression:

    qr{^our \s+ \$VERSION \s* = \s* '$version::LAX'}mx

It must be at the start of a line and any trailing comments are deleted.
The original may have double-quotes, but the re-written line will have
single quotes.

The very restrictive regular expression format is intentional to avoid
the various ways finding a version assignment could go wrong and to
avoid using PPI, which has similar complexity issues.

For most modules, this should work just fine.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%__perl Makefile.PL INSTALLDIRS=vendor

%make

%check
%make test

%install
%make_install

%files
%doc Changes LICENSE META.json META.yml MYMETA.yml README
%{_mandir}/man3/*
%{perl_vendorlib}/*

%changelog
* Sun Jun 19 2016 pterjan <pterjan> 0.15.0-2.mga6
+ Revision: 1025832
- Rebuild for perl 5.22.2

* Thu Apr 28 2016 shlomif <shlomif> 0.15.0-1.mga6
+ Revision: 1007510
- update to 0.015

* Sun Mar 13 2016 shlomif <shlomif> 0.14.0-1.mga6
+ Revision: 989810
- update to 0.014

* Wed Feb 10 2016 shlomif <shlomif> 0.13.0-1.mga6
+ Revision: 953352
- update to 0.013

* Sun Aug 23 2015 sander85 <sander85> 0.12.0-1.mga6
+ Revision: 868371
- update to 0.012

* Tue Jun 23 2015 sander85 <sander85> 0.9.0-1.mga6
+ Revision: 840043
- update to 0.009

* Wed Oct 15 2014 umeabot <umeabot> 0.2.0-3.mga5
+ Revision: 747632
- Second Mageia 5 Mass Rebuild
- Mageia 5 Mass Rebuild

* Wed Jun 04 2014 sander85 <sander85> 0.2.0-1.mga5
+ Revision: 633237
- imported package perl-Dist-Zilla-Plugin-BumpVersionAfterRelease