8
0

Compare commits

...

11 Commits

Author SHA256 Message Date
b459b27e1a Accepting request 1278659 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/1278659
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-namespace-clean?expand=0&rev=17
2025-05-23 12:29:42 +00:00
3e92d61868 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-namespace-clean?expand=0&rev=32
2025-05-20 11:02:55 +00:00
5e8a216580 Accepting request 397834 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/397834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-namespace-clean?expand=0&rev=16
2016-05-25 19:29:09 +00:00
1bd91812b3 Accepting request 337599 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/337599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-namespace-clean?expand=0&rev=15
2015-10-19 20:49:31 +00:00
Stephan Kulow
40bf4249f5 Accepting request 226061 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/226061
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-namespace-clean?expand=0&rev=13
2014-03-18 12:58:45 +00:00
Stephan Kulow
cbc7e9490a Accepting request 175756 from devel:languages:perl
- updated to 0.24
    - Properly skip debugger test when optional deps not available
    - Make sure pure-perl tests pass correctly on space-containing
      paths (RT#77528)
    - Remove all the pure-perl fallback code and depend on PP-capable
      B::H::EOS 0.12

OBS-URL: https://build.opensuse.org/request/show/175756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-namespace-clean?expand=0&rev=11
2013-05-17 06:33:49 +00:00
Stephan Kulow
38f0614f6d Accepting request 111083 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/111083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-namespace-clean?expand=0&rev=8
2012-03-26 12:01:53 +00:00
Stephan Kulow
577119019d Accepting request 108972 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/108972
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-namespace-clean?expand=0&rev=7
2012-03-13 08:38:16 +00:00
Stephan Kulow
27876ce74b Accepting request 103788 from devel:languages:perl
- updated to 0.22
    - Simplify the >= 5.10 PP variant even more - move the hook from
      DESTROY into DELETE
    - Force explicit callback invocation order on 5.8 PP
    - Replace the %^H tie approach with fieldhashes, fixes all known
      corner cases and caveats on supported perls >= 5.8.1 (FC)
    - Compile away the debugger fixup on perls >= 5.15.5 (FC)
    - More robust handling of the tied %^H in pure perl mode (RT#73402)
    - Limit the debugger workarounds to perls between 5.8.8 and 5.14,
      extend debugger support to all perl versions (FC) (RT#69862)
    - If possible, automatically install (but not load) the debugger
      workaround libraries on perls between 5.8.8 and 5.14 (RT#72368)
    - Add back dropped NAME section (RT#70259)

OBS-URL: https://build.opensuse.org/request/show/103788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-namespace-clean?expand=0&rev=6
2012-02-14 10:25:45 +00:00
Stephan Kulow
774e459d29 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-namespace-clean?expand=0&rev=5
2011-12-06 17:44:53 +00:00
Stephan Kulow
445e85f439 Accepting request 91963 from devel:languages:perl
- update to 0.21
    - When using the tie() fallback ensure we do not obliterate a
      foreign tie()
    - Better document how to disable the tie() fallback
    - Only invoke the deleted sub stashing if we run udner a debugger
      (avoid runtime penalty of Sub::Name/Sub::Identify)
    - Spellfixes (RT#54388)
    - When B::Hooks::EndOfScope is not available, switch to a simple
      tie() of %^H. While it can not 100% replace B::H::EOS, it does
      everything n::c needs

OBS-URL: https://build.opensuse.org/request/show/91963
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-namespace-clean?expand=0&rev=4
2011-11-21 11:43:27 +00:00
2 changed files with 26 additions and 19 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 20 11:02:42 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Mon May 23 13:10:12 UTC 2016 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-namespace-clean
#
# Copyright (c) 2016 SUSE LINUX 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,42 +12,44 @@
# 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-namespace-clean
Version: 0.27
Release: 0
%define cpan_name namespace-clean
Name: perl-namespace-clean
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: Keep imports and functions out of your namespace
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/namespace-clean/
Source0: http://www.cpan.org/authors/id/R/RI/RIBASUSHI/%{cpan_name}-%{version}.tar.gz
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RI/RIBASUSHI/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.12
BuildRequires: perl(Package::Stash) >= 0.23
Requires: perl(B::Hooks::EndOfScope) >= 0.12
Requires: perl(Package::Stash) >= 0.23
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.120
BuildRequires: perl(Package::Stash) >= 0.230
Requires: perl(B::Hooks::EndOfScope) >= 0.120
Requires: perl(Package::Stash) >= 0.230
Provides: perl(namespace::clean) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
Keep imports and functions out of your namespace
%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
@@ -55,7 +57,6 @@ Keep imports and functions out of your namespace
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes
%changelog