8
0

Compare commits

...

10 Commits

Author SHA256 Message Date
2aa5c1b380 Accepting request 918992 from devel:languages:perl
See https://build.opensuse.org/request/show/918697

OBS-URL: https://build.opensuse.org/request/show/918992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Kwalitee?expand=0&rev=1
2021-09-15 20:51:09 +00:00
7a5a610136 refresh spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Kwalitee?expand=0&rev=10
2021-09-14 19:23:00 +00:00
Lars Vogdt
318da4d176 Accepting request 670836 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/670836
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Kwalitee?expand=0&rev=9
2019-02-08 18:14:53 +00:00
05b0840598 Accepting request 640424 from devel:languages:perl:autoupdate
- Fix autogenerated changes
- updated to 1.27
   see /usr/share/doc/packages/perl-Test-Kwalitee/Changes
  1.27      2017-11-05 18:45:40Z
      - make taint test TODO when version.pm is not current (see RT#118087)

OBS-URL: https://build.opensuse.org/request/show/640424
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Kwalitee?expand=0&rev=8
2018-10-07 15:28:48 +00:00
Stephan Kulow
eea889d425 Accepting request 494781 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/494781
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Kwalitee?expand=0&rev=7
2017-05-18 08:31:30 +00:00
Stephan Kulow
3c0a8b58ad Accepting request 460806 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/460806
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Kwalitee?expand=0&rev=6
2017-02-28 14:19:50 +00:00
Stephan Kulow
d40ba868b0 Accepting request 435066 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/435066
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Kwalitee?expand=0&rev=5
2016-10-20 07:50:14 +00:00
Stephan Kulow
532711342a Accepting request 298703 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/298703
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Kwalitee?expand=0&rev=4
2015-04-24 15:50:25 +00:00
Stephan Kulow
5aa4661f3e always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Kwalitee?expand=0&rev=3
2010-12-03 14:52:14 +00:00
Stephan Kulow
aaad9cb024 siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Kwalitee?expand=0&rev=2
2010-12-01 13:55:33 +00:00
5 changed files with 157 additions and 45 deletions

View File

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

View File

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

21
cpanspec.yml Normal file
View File

@@ -0,0 +1,21 @@
---
#description_paragraphs: 3
#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_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,75 @@
-------------------------------------------------------------------
Tue Sep 14 19:22:43 UTC 2021 - Dirk Stoecker <opensuse@dstoecker.de>
- refresh spec file
-------------------------------------------------------------------
Sun Feb 3 06:43:07 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 1.28
see /usr/share/doc/packages/perl-Test-Kwalitee/Changes
1.28 2019-02-02 19:29:29Z
- fix taint-mode tests to accomodate failures with Module::CPANTS::Analyse
0.99 (insecure loading of a backend implementation)
-------------------------------------------------------------------
Sun Oct 7 15:25:10 UTC 2018 - Dirk Stoecker <opensuse@dstoecker.de>
- Fix autogenerated changes
-------------------------------------------------------------------
Wed Feb 7 17:24:01 UTC 2018 - coolo@suse.com
- updated to 1.27
see /usr/share/doc/packages/perl-Test-Kwalitee/Changes
1.27 2017-11-05 18:45:40Z
- make taint test TODO when version.pm is not current (see RT#118087)
-------------------------------------------------------------------
Fri May 12 06:48:35 UTC 2017 - coolo@suse.com
- updated to 1.26
see /usr/share/doc/packages/perl-Test-Kwalitee/Changes
1.26 2017-05-11 12:04:49Z
- bump Test::More prereq for (fully) working subtests
- properly detect the xt/ caller condition when running kwalitee_ok
directly (RT#120824)
-------------------------------------------------------------------
Tue Feb 28 07:36:21 UTC 2017 - coolo@suse.com
- updated to 1.25
see /usr/share/doc/packages/perl-Test-Kwalitee/Changes
1.25 2017-02-28 03:21:28Z
- fix test to not rely on . in @INC
1.24 2016-10-14 01:22:27Z (TRIAL RELEASE)
- new test for compatibility in taint mode
-------------------------------------------------------------------
Fri Oct 14 06:23:38 UTC 2016 - coolo@suse.com
- updated to 1.23
see /usr/share/doc/packages/perl-Test-Kwalitee/Changes
1.23 2016-10-14 01:17:11Z
- update the list of metrics to the latest Module::CPANTS::Analyse
-------------------------------------------------------------------
Thu Apr 23 05:55:57 UTC 2015 - coolo@suse.com
- updated to 1.22
see /usr/share/doc/packages/perl-Test-Kwalitee/Changes
-------------------------------------------------------------------
Wed Dec 1 13:35:33 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Thu Aug 26 15:15:07 UTC 2010 - pascal.bleser@opensuse.org

View File

@@ -1,60 +1,79 @@
# vim: set sw=4 ts=4 et nu:
# norootforbuild
#
# spec file for package perl-Test-Kwalitee
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Test-Kwalitee
Name: perl-Test-Kwalitee
Version: 1.01
Version: 1.28
Release: 0
Summary: Test the quality of your distribution, automatically!
Source: http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/Test-Kwalitee-%{version}.tar.gz
URL: http://search.cpan.org/dist/Test-Kwalitee
Group: Development/Libraries/Perl
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
Requires: perl = %{perl_version}
BuildRequires: make perl
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::CPANTS::Analyse) >= 0.82
BuildRequires: perl(Test::Simple) >= 0.47
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
Requires: perl(Module::CPANTS::Analyse) >= 0.82
Requires: perl(Test::Simple) >= 0.47
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Test the Kwalitee of a distribution before you release it
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CPAN::Meta::Check) >= 0.011
BuildRequires: perl(CPAN::Meta::Requirements)
BuildRequires: perl(Module::CPANTS::Analyse) >= 0.92
BuildRequires: perl(Test::Builder) >= 0.88
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::Tester) >= 0.108
BuildRequires: perl(Test::Warnings) >= 0.009
BuildRequires: perl(parent)
BuildRequires: perl(version)
Requires: perl(Module::CPANTS::Analyse) >= 0.92
Requires: perl(Test::Builder) >= 0.88
Requires: perl(parent)
%{perl_requires}
%description
Kwalitee is an automatically-measurable gauge of how good your software is.
That's very different from quality, which a computer really can't measure in a
general sense. (If you can, you've solved a hard problem in computer science.)
That's very different from quality, which a computer really can't measure
in a general sense. (If you can, you've solved a hard problem in computer
science.)
In the world of the CPAN, the CPANTS project (CPAN Testing Service; also a
funny acronym on its own) measures Kwalitee with several metrics. If you plan
to release a distribution to the CPAN -- or even within your own organization
-- testing its Kwalitee before creating a release can help you improve your
quality as well.
funny acronym on its own) measures Kwalitee with several metrics. If you
plan to release a distribution to the CPAN -- or even within your own
organization -- testing its Kwalitee before creating a release can help you
improve your quality as well.
Test::Kwalitee and a short test file will do this for you automatically.
'Test::Kwalitee' and a short test file will do this for you automatically.
%prep
%setup -q -n "Test-Kwalitee-%{version}"
%autosetup -n %{cpan_name}-%{version}
%build
%__perl ./Build.PL
./Build
%install
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
%perl_process_packlist
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
./Build test
make test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files
%defattr(-,root,root)
%doc ChangeLog README
%dir %{perl_vendorlib}/Test
%{perl_vendorlib}/Test/Kwalitee.pm
%dir %{perl_vendorarch}/auto/Test
%{perl_vendorarch}/auto/Test/Kwalitee
%doc %{perl_man3dir}/Test::Kwalitee.%{perl_man3ext}%{ext_man}
%files -f %{name}.files
%doc Changes CONTRIBUTING README
%license LICENSE
%changelog