Compare commits

...

10 Commits

Author SHA256 Message Date
2ee29f1984 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dist-Zilla-Plugin-OurPkgVersion?expand=0&rev=16
2024-07-20 22:13:35 +00:00
Lars Vogdt
e1ea857bb5 Accepting request 716677 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/716677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dist-Zilla-Plugin-OurPkgVersion?expand=0&rev=15
2019-07-19 14:49:42 +00:00
Lars Vogdt
6cdd05edf1 Accepting request 705321 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/705321
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dist-Zilla-Plugin-OurPkgVersion?expand=0&rev=14
2019-05-25 13:28:14 +00:00
Lars Vogdt
54b3b2d809 Accepting request 705113 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/705113
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dist-Zilla-Plugin-OurPkgVersion?expand=0&rev=13
2019-05-24 22:55:44 +00:00
Stephan Kulow
4f642a460f Accepting request 694889 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/694889
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dist-Zilla-Plugin-OurPkgVersion?expand=0&rev=12
2019-04-17 05:25:19 +00:00
Lars Vogdt
00726e72ec Accepting request 672035 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/672035
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dist-Zilla-Plugin-OurPkgVersion?expand=0&rev=11
2019-02-08 18:09:36 +00:00
Stephan Kulow
c740cd8845 Accepting request 509970 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/509970
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dist-Zilla-Plugin-OurPkgVersion?expand=0&rev=10
2017-07-15 05:00:50 +00:00
Stephan Kulow
f8aae4d7b8 Accepting request 404117 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/404117
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dist-Zilla-Plugin-OurPkgVersion?expand=0&rev=9
2016-06-24 05:00:50 +00:00
Stephan Kulow
167bf977d5 Accepting request 393878 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/393878
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dist-Zilla-Plugin-OurPkgVersion?expand=0&rev=8
2016-05-09 05:36:52 +00:00
Stephan Kulow
c25f576721 Accepting request 368448 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/368448
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dist-Zilla-Plugin-OurPkgVersion?expand=0&rev=7
2016-03-09 06:29:38 +00:00
4 changed files with 144 additions and 27 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5bc7e14aa2898f81240923baef849104e696c3b45ae0a69b95d091bf562c8e15
size 15345

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:76e3861f03f0ad87432089530349478f33dd07b56df650f8b971153c2e42d021
size 23181

View File

@@ -1,3 +1,110 @@
-------------------------------------------------------------------
Fri Jul 19 05:39:51 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 0.21
see /usr/share/doc/packages/perl-Dist-Zilla-Plugin-OurPkgVersion/Changes
0.21 2019-07-18
- Add no_critic option (gh#18)
-------------------------------------------------------------------
Sat May 25 05:07:02 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 0.20
see /usr/share/doc/packages/perl-Dist-Zilla-Plugin-OurPkgVersion/Changes
0.20 2019-05-24
- Fix git deploy snafoo (plicease--)
0.19 2019-05-24
- Fix regression related to version_provider plugins (gh#15, gh#16)
-------------------------------------------------------------------
Thu May 23 05:07:10 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 0.18
see /usr/share/doc/packages/perl-Dist-Zilla-Plugin-OurPkgVersion/Changes
0.18 2019-05-22
- Fix git deploy snafoo (plicease--)
0.17 2019-05-22
- Fix prereqs: some developer prereqs were leaking into the list of test
prereqs (gh#13, gh#14)
-------------------------------------------------------------------
Wed May 22 05:06:23 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 0.16
see /usr/share/doc/packages/perl-Dist-Zilla-Plugin-OurPkgVersion/Changes
0.16 2019-05-21
- Add semantic_version option.
-------------------------------------------------------------------
Wed Apr 17 05:05:58 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 0.15
see /usr/share/doc/packages/perl-Dist-Zilla-Plugin-OurPkgVersion/Changes
0.15 2019-04-16
- Add overwrite option
- Require Dist::Zilla 6.00 and perl 5.14
-------------------------------------------------------------------
Wed Feb 6 06:07:07 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 0.14
see /usr/share/doc/packages/perl-Dist-Zilla-Plugin-OurPkgVersion/Changes
0.14 2019-02-06
- Fix bug where nw underscore_eval_version may fail
- add skip_main_module option for compatibility with VersionFromMainModule
-------------------------------------------------------------------
Thu Jul 13 05:21:48 UTC 2017 - coolo@suse.com
- updated to 0.12
see /usr/share/doc/packages/perl-Dist-Zilla-Plugin-OurPkgVersion/Changes
0.12 2017-07-11
- Add underscore_eval_version property
0.11 2017-07-02
- use :PerlExecFiles filefinder whenever possible
-------------------------------------------------------------------
Thu Jun 23 06:15:52 UTC 2016 - coolo@suse.com
- updated to 0.10
see /usr/share/doc/packages/perl-Dist-Zilla-Plugin-OurPkgVersion/Changes
0.10 2016-06-21
- Production release identical to 0.09_01
0.09_01 2016-06-20
- Also accept perltidy "special side comments" syntax. Please note
that things may break if your dist has the pattern '## VERSION'
in a .pm file (iansealy GH# 2)
-------------------------------------------------------------------
Thu May 5 09:10:54 UTC 2016 - coolo@suse.com
- updated to 0.08
see /usr/share/doc/packages/perl-Dist-Zilla-Plugin-OurPkgVersion/Changes
0.08 2016-04-24
- Dist::Zilla 5.x / 6.x and future 7.x compatability
-------------------------------------------------------------------
Tue Mar 8 10:11:30 UTC 2016 - coolo@suse.com
- updated to 0.07
see /usr/share/doc/packages/perl-Dist-Zilla-Plugin-OurPkgVersion/Changes
0.07 2016-03-07
- Use Dist::Zilla::Role::PPI to avoid reparsing documents (new GH #1)
-------------------------------------------------------------------
Tue May 5 08:18:29 UTC 2015 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Dist-Zilla-Plugin-OurPkgVersion
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,58 +12,68 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Dist-Zilla-Plugin-OurPkgVersion
Version: 0.06
Release: 0
%define cpan_name Dist-Zilla-Plugin-OurPkgVersion
Summary: No Line Insertion and Does Package Version with Our
Name: perl-Dist-Zilla-Plugin-OurPkgVersion
Version: 0.210.0
Release: 0
# 0.21 -> normalize -> 0.210.0
%define cpan_version 0.21
License: Artistic-2.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Dist-Zilla-Plugin-OurPkgVersion/
Source0: http://www.cpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz
Summary: No line insertion and does Package version with our
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Dist::Zilla) >= 6.00
BuildRequires: perl(Dist::Zilla::Role::FileFinderUser)
BuildRequires: perl(Dist::Zilla::Role::FileMunger)
BuildRequires: perl(Dist::Zilla::Role::PPI)
BuildRequires: perl(Dist::Zilla::Role::VersionProvider)
BuildRequires: perl(Moose)
BuildRequires: perl(MooseX::Types::Perl)
BuildRequires: perl(PPI)
BuildRequires: perl(Path::Tiny)
BuildRequires: perl(Test::DZil)
BuildRequires: perl(Test::Version) >= 0.04
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::Version) >= 0.40.0
BuildRequires: perl(namespace::autoclean)
Requires: perl(Dist::Zilla) >= 6.00
Requires: perl(Dist::Zilla::Role::FileFinderUser)
Requires: perl(Dist::Zilla::Role::FileMunger)
Requires: perl(Dist::Zilla::Role::PPI)
Requires: perl(Moose)
Requires: perl(MooseX::Types::Perl)
Requires: perl(PPI)
Requires: perl(namespace::autoclean)
Provides: perl(Dist::Zilla::Plugin::OurPkgVersion) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
This module was created as an alternative to the
Dist::Zilla::Plugin::PkgVersion manpage and uses some code from that
module. This module is designed to use a the more readable format 'our
$VERSION = $version;' as well as not change then number of lines of code in
your files, which will keep your repository more in sync with your CPAN
release. It also allows you slightly more freedom in how you specify your
version.
This module was created as an alternative to
Dist::Zilla::Plugin::PkgVersion and uses some code from that module. This
module is designed to use a the more readable format 'our $VERSION =
$version;' as well as not change then number of lines of code in your
files, which will keep your repository more in sync with your CPAN release.
It also allows you slightly more freedom in how you specify your version.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
@@ -71,7 +81,7 @@ version.
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE README
%doc Changes README
%license LICENSE
%changelog