8
0

Compare commits

...

24 Commits

Author SHA256 Message Date
50cfe68919 Accepting request 1244920 from devel:languages:perl
- Normalize CPAN version
  See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/request/show/1244920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=29
2025-02-11 20:24:27 +00:00
9d808db5a7 - 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-Any-Moose?expand=0&rev=45
2025-02-10 22:13:03 +00:00
5a0be0b379 Accepting request 440993 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/440993
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=28
2016-11-20 17:19:51 +00:00
Stephan Kulow
8f24de1e39 Accepting request 440052 from devel:languages:perl:autoupdate
- 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

OBS-URL: https://build.opensuse.org/request/show/440052
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Any-Moose?expand=0&rev=43
2016-11-19 17:29:40 +00:00
40399266d2 Accepting request 295788 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/295788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=27
2015-04-15 14:22:02 +00:00
Stephan Kulow
b4ee2ca1bf Accepting request 295720 from devel:languages:perl:autoupdate
update

OBS-URL: https://build.opensuse.org/request/show/295720
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Any-Moose?expand=0&rev=41
2015-04-13 18:13:43 +00:00
9a73113053 Accepting request 262610 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/262610
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=24
2014-11-24 10:09:14 +00:00
Lars Vogdt
ae1a2d3074 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Any-Moose?expand=0&rev=39
2014-11-19 16:57:06 +00:00
Stephan Kulow
7922c07c92 Accepting request 177323 from devel:languages:perl
- updated to 0.21
 * Add tokuhirom's translation of the deprecation notice
 * Documentation fixes
 * Deprecated in favor of Moo. Good night, sweet prince. (forwarded request 177232 from coolo)

OBS-URL: https://build.opensuse.org/request/show/177323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=21
2013-06-05 15:47:24 +00:00
Stephan Kulow
c8d23b687f Accepting request 177232 from home:coolo:update-perl
- updated to 0.21
 * Add tokuhirom's translation of the deprecation notice
 * Documentation fixes
 * Deprecated in favor of Moo. Good night, sweet prince.

OBS-URL: https://build.opensuse.org/request/show/177232
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Any-Moose?expand=0&rev=37
2013-06-04 05:58:27 +00:00
Stephan Kulow
ef064a7395 Accepting request 112062 from devel:languages:perl
Solved bnc#752049
Added missing Requires:       perl(Moose) (forwarded request 111625 from worldcitizen)

OBS-URL: https://build.opensuse.org/request/show/112062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=18
2012-04-02 08:30:25 +00:00
Stephan Kulow
078c9471ae Accepting request 94830 from devel:languages:perl
- let it require Mouse, even though it's not technically correct

OBS-URL: https://build.opensuse.org/request/show/94830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=17
2011-12-07 13:38:16 +00:00
Stephan Kulow
6eddd3be6c Accepting request 92296 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/92296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=16
2011-11-21 11:34:54 +00:00
Lars Vogdt
e693a26446 Accepting request 83368 from devel:languages:perl
- updated to 0.17
  * Better indicate that this module is dynamically configured.
    - fixes [rt.cpan.org #70996]
  * If you have Moose installed you no longer get the Mouse dependency (rjbs, reported by andk)
     Any::Moose has long had both runtime and test support for Moose
     without Mouse, but the toolchain has not, until recently, been
     good enough to handle alternatives. This change is designed
     to affect very few people.
    - fixes [rt.cpan.org #70597]

OBS-URL: https://build.opensuse.org/request/show/83368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=14
2011-09-19 19:15:29 +00:00
Sascha Peilicke
905ff9abd1 Autobuild autoformatter for 77201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=13
2011-07-27 13:06:17 +00:00
Sascha Peilicke
b97e3c76ac Accepting request 77201 from devel:languages:perl
resubmit without this strange service file

OBS-URL: https://build.opensuse.org/request/show/77201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=12
2011-07-27 13:06:03 +00:00
Sascha Peilicke
f11d2c33f7 Autobuild autoformatter for 76168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=11
2011-07-27 12:26:42 +00:00
Sascha Peilicke
2b54bbe5b0 Accepting request 76168 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/76168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=10
2011-07-27 12:26:27 +00:00
Ruediger Oertel
5919cf2557 Autobuild autoformatter for 60161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=8
2011-02-07 11:23:19 +00:00
Ruediger Oertel
e020c86167 Accepting request 60161 from devel:languages:perl
Accepted submit request 60161 from user coolo

OBS-URL: https://build.opensuse.org/request/show/60161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=7
2011-02-07 11:23:11 +00:00
Lars Vogdt
9bcd8eeb9d Autobuild autoformatter for 58995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=6
2011-01-24 14:54:48 +00:00
Lars Vogdt
ed8cbf6587 Accepting request 58995 from devel:languages:perl
Accepted submit request 58995 from user coolo

OBS-URL: https://build.opensuse.org/request/show/58995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=5
2011-01-24 14:54:39 +00:00
Lars Vogdt
fac92b8510 Autobuild autoformatter for 54462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=4
2010-12-05 20:34:39 +00:00
Lars Vogdt
8df4d2a588 Accepting request 54462 from devel:languages:perl
Accepted submit request 54462 from user coolo

OBS-URL: https://build.opensuse.org/request/show/54462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Any-Moose?expand=0&rev=3
2010-12-05 20:34:30 +00:00
5 changed files with 100 additions and 40 deletions

View File

@@ -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
View File

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

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: SUSE-NonFree
#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,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

View File

@@ -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