Compare commits

...

10 Commits

Author SHA256 Message Date
374941dd76 Fix disabling of __perllib_provides
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exporter?expand=0&rev=12
2024-03-08 22:26:54 +00:00
f20abe0abc Accepting request 1136607 from devel:languages:perl:autoupdate
- updated to 5.78
   see /usr/share/doc/packages/perl-Exporter/Changes
  5.78 Sat December 30 2023
       - Minor tweaks to Makefile.PL to reflect that the file require 5.006,
       - Fixed the LICENSE field to be 'perl_5' and not 'perl'.
       - Whitespace cleanup on Changes

OBS-URL: https://build.opensuse.org/request/show/1136607
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exporter?expand=0&rev=11
2024-01-04 15:15:21 +00:00
b0c90dcb69 Accepting request 1061399 from devel:languages:perl:autoupdate
- updated to 5.77
   see /usr/share/doc/packages/perl-Exporter/Changes
  5.77 Mon January 23 2023
       - Document non-inheriting as default mechanism
       - Make Exporter strict and warnings compliant

OBS-URL: https://build.opensuse.org/request/show/1061399
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exporter?expand=0&rev=10
2023-01-31 09:58:39 +00:00
66997a4cda Accepting request 766027 from devel:languages:perl:autoupdate
- updated to 5.74
   see /usr/share/doc/packages/perl-Exporter/Changes

OBS-URL: https://build.opensuse.org/request/show/766027
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exporter?expand=0&rev=9
2020-01-21 14:44:59 +00:00
6d725c9bd4 Accepting request 637123 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/637123
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exporter?expand=0&rev=8
2018-09-22 20:21:44 +00:00
Stephan Kulow
52df0432c9 Accepting request 312055 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/312055
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exporter?expand=0&rev=7
2015-06-16 05:02:32 +00:00
Stephan Kulow
5197bc5982 Accepting request 296254 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/296254
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exporter?expand=0&rev=6
2015-04-15 09:28:42 +00:00
Stephan Kulow
2400aea879 remove vendor
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exporter?expand=0&rev=5
2011-11-18 09:21:55 +00:00
Stephan Kulow
da48c57103 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exporter?expand=0&rev=4 2011-11-11 11:17:38 +00:00
Stephan Kulow
3a1a4baf42 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-Exporter?expand=0&rev=3
2010-12-03 14:04:29 +00:00
5 changed files with 129 additions and 35 deletions

View File

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

3
Exporter-5.78.tar.gz Normal file
View File

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

23
cpanspec.yml Normal file
View File

@@ -0,0 +1,23 @@
---
#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
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,59 @@
-------------------------------------------------------------------
Fri Mar 8 22:26:51 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Fix disabling of __perllib_provides
-------------------------------------------------------------------
Sun Dec 31 03:08:50 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 5.78
see /usr/share/doc/packages/perl-Exporter/Changes
5.78 Sat December 30 2023
- Minor tweaks to Makefile.PL to reflect that the file require 5.006,
- Fixed the LICENSE field to be 'perl_5' and not 'perl'.
- Whitespace cleanup on Changes
-------------------------------------------------------------------
Tue Jan 24 03:06:56 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 5.77
see /usr/share/doc/packages/perl-Exporter/Changes
5.77 Mon January 23 2023
- Document non-inheriting as default mechanism
- Make Exporter strict and warnings compliant
-------------------------------------------------------------------
Tue Jan 21 03:11:34 UTC 2020 - <timueller+perl@suse.de>
- updated to 5.74
see /usr/share/doc/packages/perl-Exporter/Changes
-------------------------------------------------------------------
Sat Sep 22 05:20:09 UTC 2018 - Stephan Kulow <coolo@suse.com>
- updated to 5.73
see /usr/share/doc/packages/perl-Exporter/Changes
-------------------------------------------------------------------
Mon Jun 15 08:40:28 UTC 2015 - coolo@suse.com
- updated to 5.72
see /usr/share/doc/packages/perl-Exporter/Changes
-------------------------------------------------------------------
Tue Apr 14 17:31:57 UTC 2015 - coolo@suse.com
- updated to 5.70
see /usr/share/doc/packages/perl-Exporter/Changes
-------------------------------------------------------------------
Tue Apr 14 17:31:56 UTC 2015 - coolo@suse.com
- updated to 5.65
see /usr/share/doc/packages/perl-Exporter/Changes
-------------------------------------------------------------------
Wed Dec 1 13:32:18 UTC 2010 - coolo@novell.com

View File

@@ -1,42 +1,61 @@
#
# spec file for package perl-Exporter
#
# 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
# 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.
# norootforbuild
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Exporter
%define real_name Exporter
Summary: Implements default import method for modules
Url: http://search.cpan.org/perldoc?Exporter
Group: Development/Libraries/Perl
License: Artistic License
Version: 5.63
Release: 1
Vendor: openSUSE-Education
Source: %{real_name}-%{version}.tar.bz2
%define cpan_name Exporter
Name: perl-Exporter
Version: 5.780.0
Release: 0
%define cpan_version 5.78
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Implements default import method for modules
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Carp) >= 1.05
Requires: perl(Carp) >= 1.05
Provides: perl(Exporter) = %{version}
Provides: perl(Exporter::Heavy) = %{version}
%undefine __perllib_provides
Recommends: perl(Test::Pod) >= 1.18
Recommends: perl(Test::Pod::Coverage) >= 1.04
%{perl_requires}
BuildRequires: perl-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The Exporter module implements an import method which allows a module to export
functions and variables to its users' namespaces. Many modules use Exporter
rather than implementing their own import method because Exporter provides a
highly flexible interface, with an implementation optimised for the common
case.
Perl automatically calls the import method when processing a use statement for
a module. Modules and use are documented in perlfunc and perlmod. Understanding
the concept of modules and how the use statement operates is important to
understanding the Exporter.
The Exporter module implements an 'import' method which allows a module to
export functions and variables to its users' namespaces. Many modules use
Exporter rather than implementing their own 'import' method because
Exporter provides a highly flexible interface, with an implementation
optimised for the common case.
Perl automatically calls the 'import' method when processing a 'use'
statement for a module. Modules and 'use' are documented in perlfunc and
perlmod. Understanding the concept of modules and how the 'use' statement
operates is important to understanding the Exporter.
%prep
%setup -n %{real_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
@@ -46,11 +65,7 @@ make test
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%files -f %{name}.files
%defattr(-, root, root)
%doc Changes MANIFEST
%doc Changes README
%changelog
%changelog