forked from pool/perl-Any-Moose
Compare commits
24 Commits
72bbe233cb
...
50cfe68919
Author | SHA256 | Date | |
---|---|---|---|
50cfe68919 | |||
9d808db5a7 | |||
5a0be0b379 | |||
|
8f24de1e39 | ||
40399266d2 | |||
|
b4ee2ca1bf | ||
9a73113053 | |||
|
ae1a2d3074 | ||
|
7922c07c92 | ||
|
c8d23b687f | ||
|
ef064a7395 | ||
|
078c9471ae | ||
|
6eddd3be6c | ||
|
e693a26446 | ||
|
905ff9abd1 | ||
|
b97e3c76ac | ||
|
f11d2c33f7 | ||
|
2b54bbe5b0 | ||
|
5919cf2557 | ||
|
e020c86167 | ||
|
9bcd8eeb9d | ||
|
ed8cbf6587 | ||
|
fac92b8510 | ||
|
8df4d2a588 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0b1b70d3619c934634ceb4a6ff12de265e63dab2978751ab8164c9f74c75e1a7
|
||||
size 15319
|
3
Any-Moose-0.27.tar.gz
Normal file
3
Any-Moose-0.27.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a8a63e37fa802e8258be99983916cde4512581dc8062de50e73d66af6e2d8535
|
||||
size 32856
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal 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: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,48 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 22:12:54 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Normalize CPAN version
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 9 06:01:32 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 0.27
|
||||
see /usr/share/doc/packages/perl-Any-Moose/Changes
|
||||
|
||||
0.27 2016-11-08 03:37:04Z
|
||||
- add deprecation warning when this module is used
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 13 15:50:29 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.26
|
||||
see /usr/share/doc/packages/perl-Any-Moose/Changes
|
||||
|
||||
0.26 2015-01-24 07:52:46Z
|
||||
- change Mouse $VERSION check to avoid dying on bad 'v2.4.0' version
|
||||
|
||||
0.25 2015-01-21 04:31:32Z
|
||||
- mark module as deprecated in metadata
|
||||
- add additional checks for too-old Mouse
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 19 16:53:57 UTC 2014 - lars@linux-schulserver.de
|
||||
|
||||
- update to 0.24:
|
||||
* now always prefers Moose if Moo is loaded, to overcome some
|
||||
incompatibility issues in subclasses (github #1, Graham Knop)
|
||||
* fix missing =encoding directive in pod
|
||||
* canonical repository moved to https://github.com/moose/Any-Moose
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 3 11:22:24 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 0.21
|
||||
* Add tokuhirom's translation of the deprecation notice
|
||||
* Documentation fixes
|
||||
* Deprecated in favor of Moo. Good night, sweet prince.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 19:41:54 UTC 2012 - joop.boonen@opensuse.org
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Any-Moose
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,56 +12,43 @@
|
||||
# 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-Any-Moose
|
||||
Version: 0.18
|
||||
Release: 0
|
||||
%define cpan_name Any-Moose
|
||||
Summary: use Moose or Mouse modules
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Any-Moose/
|
||||
Source: http://www.cpan.org/authors/id/S/SA/SARTAK/%{cpan_name}-%{version}.tar.gz
|
||||
Name: perl-Any-Moose
|
||||
Version: 0.270.0
|
||||
Release: 0
|
||||
# 0.27 -> normalize -> 0.270.0
|
||||
%define cpan_version 0.27
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: (DEPRECATED) use Moo instead!
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Moose)
|
||||
Requires: perl(Moose)
|
||||
BuildRequires: perl(Mouse) >= 0.400
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
Requires: perl(Mouse) >= 0.400
|
||||
Provides: perl(Any::Moose) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Though we recommend that people generally use the Moose manpage, we accept
|
||||
that Moose cannot yet be used for everything everywhere. People generally
|
||||
like the Moose sugar, so many people use the Mouse manpage, a lightweight
|
||||
replacement for parts of Moose.
|
||||
|
||||
Because Mouse strives for compatibility with Moose, it's easy to substitute
|
||||
one for the other. This module facilitates that substitution. By default,
|
||||
Mouse will be provided to libraries, unless Moose is already loaded -or-
|
||||
explicitly requested by the end-user. The end-user can force the decision
|
||||
of which backend to use by setting the environment variable 'ANY_MOOSE' to
|
||||
be 'Moose' or 'Mouse'.
|
||||
|
||||
Note that the decision of which backend to use is made only once, so that
|
||||
if Any-Moose picks Mouse, then a third-party library loads Moose, anything
|
||||
else that uses Any-Moose will continue to pick Mouse.
|
||||
|
||||
So, if you have to use the Mouse manpage, please be considerate to the
|
||||
Moose fanboys (like myself!) and use the Any-Moose manpage instead. ':)'
|
||||
(DEPRECATED) use Moo instead!
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
%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
|
||||
@@ -69,7 +56,7 @@ Moose fanboys (like myself!) and use the Any-Moose manpage instead. ':)'
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE README
|
||||
%doc Changes CONTRIBUTING README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user