Compare commits

...

10 Commits

Author SHA256 Message Date
97d36eb2d8 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-Alien-Base-ModuleBuild?expand=0&rev=15
2024-07-16 21:54:17 +00:00
21aa625334 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-Alien-Base-ModuleBuild?expand=0&rev=14
2024-07-15 20:20:13 +00:00
2a7c08d5d6 Accepting request 1006045 from devel:languages:perl:autoupdate
- updated to 1.17
   see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
  1.17      2022-09-13 05:27:09 -0600
    - Documentation improvements (gh#30, gh#31)
    - Production release otherwise identical to 1.16_01
  1.16_01   2022-09-11 15:29:26 -0600
    - Add support for ALIEN_DOWNLOAD_RULE (gh#28, gh#29)
    - Add support for ALIEN_INSTALL_NETWORK (gh#28, gh#29)
    - Verify hostnames for SSL connections when ALIEN_DOWNLOAD_RULE
      requires encryption (gh#28, gh#29)
    - Downgrade from https to http is no longer allowed (gh#28, gh#29)

OBS-URL: https://build.opensuse.org/request/show/1006045
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Alien-Base-ModuleBuild?expand=0&rev=13
2022-09-27 15:30:43 +00:00
Lars Vogdt
788228c48a - needs perl(PkgConfig) to build on older distributions
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Alien-Base-ModuleBuild?expand=0&rev=12
2021-04-13 20:40:00 +00:00
c63e8abfbd Accepting request 830493 from devel:languages:perl:autoupdate
- updated to 1.15
   see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
  1.15      2020-08-28 09:50:28 -0600
    - Move inline tests from this distro to Acme::Alien::DontPanic
      and Acme::Alien::DontPanic2 (gh#22)

OBS-URL: https://build.opensuse.org/request/show/830493
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Alien-Base-ModuleBuild?expand=0&rev=11
2020-08-31 11:04:21 +00:00
f6d3241a14 Accepting request 770834 from devel:languages:perl:autoupdate
- updated to 1.14
   see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
  1.14      2020-02-05 19:08:06 -0700
    - Add use strict and warnings to generated Install/Files.pm
      modules (gh#17)

OBS-URL: https://build.opensuse.org/request/show/770834
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Alien-Base-ModuleBuild?expand=0&rev=10
2020-02-12 07:12:39 +00:00
6630819388 Accepting request 769915 from devel:languages:perl:autoupdate
- updated to 1.12
   see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes

OBS-URL: https://build.opensuse.org/request/show/769915
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Alien-Base-ModuleBuild?expand=0&rev=9
2020-02-04 16:47:22 +00:00
Lars Vogdt
cd66a05e19 Accepting request 750986 from devel:languages:perl:autoupdate
- updated to 1.08
   see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
  1.08 2019-11-25 08:36:38 -0700
    - Added alien_install_type property (gh#14)
  
  1.07 2019-11-22 16:01:56 -0700
    - Fix bug in blib detection (gh#13)
    - Update documentation to reflect defaults for %s (gh#12, gh#13)
  
  1.06 2018-12-15 20:34:11 -0700
    - Require Archive::Tar 1.40 for pax_global_header fix

OBS-URL: https://build.opensuse.org/request/show/750986
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Alien-Base-ModuleBuild?expand=0&rev=8
2019-11-26 10:05:11 +00:00
fcb2c82942 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Alien-Base-ModuleBuild?expand=0&rev=7 2018-10-07 12:11:58 +00:00
e01db49299 Accepting request 640395 from devel:languages:perl:autoupdate
- Fix missing requirements
- updated to 1.05
   see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
  1.05 2018-08-29 16:53:39 -0400
    - Documentation improvements
    - Improve diagnostics for HTTP connection failures (gh#6, gh#7)
- updated to 1.04
   see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
  1.04 2018-06-06 09:00:21 -0400
    - ALIEN_INSTALL_TYPE is now fully compatible with Alien::Build
      Previously there were some edge cases with setting it to
      'default'
- updated to 1.03
   see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
  1.03 2018-05-09 08:15:56 -0400
    - Fix warning
- updated to 1.02
   see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
  1.02 2018-03-11 14:33:44 -0400
    - Production release identical to 1.01_01
  
  1.01_01 2018-03-09 17:40:12 -0500
    - Allow changing protocol with environment variables.
- updated to 1.00
   see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
  1.00 2017-10-01 06:21:53 -0400
    - Remove Alien::Base::PkgConfig
    - Require Alien::Build::PkgConfig 1.20
  
  0.046 2017-09-13 20:54:21 -0400
    - Run alien_install_commands before any Perl tests in t/
  
  0.045 2017-08-29 04:51:05 -0400
    - Fix broken skip in t/alien_base_modulebuild_pkgconfig.t
  
  0.044 2017-08-23 13:20:29 -0400
    - Remove unnecessary prereqs on newer versions of Alien::Base
  
  0.043 2017-08-17 03:48:08 -0400
    - Recommend Alien::Build instead
    - Require Module::Build 0.4004 for test_requires support
  
  0.042 2017-07-26 11:35:49 -0400
    - Production release identical to 0.041_02
  
  0.041_02 2017-07-25 21:52:38 -0400
    - Migrate test suite over to Test2::V0
    - Remove dependency on Test::More
  
  0.041_01 2017-07-25 20:10:58 -0400
    - Remove dependency on List::MoreUtils
- initial package 0.040
 * created by cpanspec 1.78.08

OBS-URL: https://build.opensuse.org/request/show/640395
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Alien-Base-ModuleBuild?expand=0&rev=6
2018-10-07 10:57:47 +00:00
5 changed files with 226 additions and 34 deletions

View File

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

View File

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

30
cpanspec.yml Normal file
View File

@@ -0,0 +1,30 @@
---
#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: |-
%if 0%{?suse_version} <= 1530
BuildRequires: perl(PkgConfig)
%endif
#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,8 +1,147 @@
-------------------------------------------------------------------
Wed Sep 14 03:06:04 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 1.17
see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
1.17 2022-09-13 05:27:09 -0600
- Documentation improvements (gh#30, gh#31)
- Production release otherwise identical to 1.16_01
1.16_01 2022-09-11 15:29:26 -0600
- Add support for ALIEN_DOWNLOAD_RULE (gh#28, gh#29)
- Add support for ALIEN_INSTALL_NETWORK (gh#28, gh#29)
- Verify hostnames for SSL connections when ALIEN_DOWNLOAD_RULE
requires encryption (gh#28, gh#29)
- Downgrade from https to http is no longer allowed (gh#28, gh#29)
-------------------------------------------------------------------
Tue Apr 13 20:39:25 UTC 2021 - Lars Vogdt <lars@linux-schulserver.de>
- needs perl(PkgConfig) to build on older distributions
-------------------------------------------------------------------
Sat Aug 29 03:07:00 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 1.15
see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
1.15 2020-08-28 09:50:28 -0600
- Move inline tests from this distro to Acme::Alien::DontPanic
and Acme::Alien::DontPanic2 (gh#22)
-------------------------------------------------------------------
Fri Feb 7 03:07:09 UTC 2020 - <timueller+perl@suse.de>
- updated to 1.14
see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
1.14 2020-02-05 19:08:06 -0700
- Add use strict and warnings to generated Install/Files.pm
modules (gh#17)
-------------------------------------------------------------------
Mon Feb 3 03:06:59 UTC 2020 - <timueller+perl@suse.de>
- updated to 1.12
see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
-------------------------------------------------------------------
Tue Nov 26 09:18:23 UTC 2019 - <timueller+perl@suse.de>
- updated to 1.08
see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
1.08 2019-11-25 08:36:38 -0700
- Added alien_install_type property (gh#14)
1.07 2019-11-22 16:01:56 -0700
- Fix bug in blib detection (gh#13)
- Update documentation to reflect defaults for %s (gh#12, gh#13)
1.06 2018-12-15 20:34:11 -0700
- Require Archive::Tar 1.40 for pax_global_header fix
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 7 10:23:06 UTC 2018 - Dirk Stoecker <opensuse@dstoecker.de> Sun Oct 7 10:23:06 UTC 2018 - Dirk Stoecker <opensuse@dstoecker.de>
- Fix missing requirements - Fix missing requirements
-------------------------------------------------------------------
Thu Aug 30 05:00:47 UTC 2018 - coolo@suse.com
- updated to 1.05
see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
1.05 2018-08-29 16:53:39 -0400
- Documentation improvements
- Improve diagnostics for HTTP connection failures (gh#6, gh#7)
-------------------------------------------------------------------
Thu Jun 7 05:01:05 UTC 2018 - coolo@suse.com
- updated to 1.04
see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
1.04 2018-06-06 09:00:21 -0400
- ALIEN_INSTALL_TYPE is now fully compatible with Alien::Build
Previously there were some edge cases with setting it to
'default'
-------------------------------------------------------------------
Thu May 10 05:01:06 UTC 2018 - coolo@suse.com
- updated to 1.03
see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
1.03 2018-05-09 08:15:56 -0400
- Fix warning
-------------------------------------------------------------------
Mon Mar 12 06:00:50 UTC 2018 - coolo@suse.com
- updated to 1.02
see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
1.02 2018-03-11 14:33:44 -0400
- Production release identical to 1.01_01
1.01_01 2018-03-09 17:40:12 -0500
- Allow changing protocol with environment variables.
-------------------------------------------------------------------
Wed Feb 7 16:04:57 UTC 2018 - coolo@suse.com
- updated to 1.00
see /usr/share/doc/packages/perl-Alien-Base-ModuleBuild/Changes
1.00 2017-10-01 06:21:53 -0400
- Remove Alien::Base::PkgConfig
- Require Alien::Build::PkgConfig 1.20
0.046 2017-09-13 20:54:21 -0400
- Run alien_install_commands before any Perl tests in t/
0.045 2017-08-29 04:51:05 -0400
- Fix broken skip in t/alien_base_modulebuild_pkgconfig.t
0.044 2017-08-23 13:20:29 -0400
- Remove unnecessary prereqs on newer versions of Alien::Base
0.043 2017-08-17 03:48:08 -0400
- Recommend Alien::Build instead
- Require Module::Build 0.4004 for test_requires support
0.042 2017-07-26 11:35:49 -0400
- Production release identical to 0.041_02
0.041_02 2017-07-25 21:52:38 -0400
- Migrate test suite over to Test2::V0
- Remove dependency on Test::More
0.041_01 2017-07-25 20:10:58 -0400
- Remove dependency on List::MoreUtils
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 30 14:10:48 UTC 2017 - coolo@suse.com Tue May 30 14:10:48 UTC 2017 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Alien-Base-ModuleBuild # spec file for package perl-Alien-Base-ModuleBuild
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,59 +12,82 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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-Alien-Base-ModuleBuild
Version: 0.040
Release: 0
%define cpan_name Alien-Base-ModuleBuild %define cpan_name Alien-Base-ModuleBuild
Name: perl-Alien-Base-ModuleBuild
Version: 1.170.0
Release: 0
# 1.17 -> normalize -> 1.170.0
%define cpan_version 1.17
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Module::Build subclass for building Alien:: modules and their libraries Summary: Module::Build subclass for building Alien:: modules and their libraries
License: Artistic-1.0 or GPL-1.0+ URL: https://metacpan.org/release/%{cpan_name}
Group: Development/Libraries/Perl Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{cpan_version}.tar.gz
Url: http://search.cpan.org/dist/Alien-Base-ModuleBuild/ Source1: cpanspec.yml
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Alien::Base)
BuildRequires: perl(Alien::Base::PkgConfig) >= 1.20
BuildRequires: perl(Archive::Extract) BuildRequires: perl(Archive::Extract)
BuildRequires: perl(Archive::Tar) >= 1.40
BuildRequires: perl(Capture::Tiny) >= 0.17 BuildRequires: perl(Capture::Tiny) >= 0.17
BuildRequires: perl(File::ShareDir)
BuildRequires: perl(File::chdir) >= 0.1005 BuildRequires: perl(File::chdir) >= 0.1005
BuildRequires: perl(HTTP::Tiny) >= 0.044 BuildRequires: perl(HTTP::Tiny) >= 0.044
BuildRequires: perl(HTML::LinkExtor) BuildRequires: perl(List::Util) >= 1.45
BuildRequires: perl(JSON::PP) BuildRequires: perl(Module::Build) >= 0.4004
BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Path::Tiny) >= 0.077
BuildRequires: perl(Module::Build) >= 0.360000
BuildRequires: perl(PkgConfig)
BuildRequires: perl(Shell::Config::Generate) BuildRequires: perl(Shell::Config::Generate)
BuildRequires: perl(Shell::Guess) BuildRequires: perl(Shell::Guess)
BuildRequires: perl(Sort::Versions) BuildRequires: perl(Sort::Versions)
BuildRequires: perl(Test::More) >= 0.94 BuildRequires: perl(Test2::V0) >= 0.000121
BuildRequires: perl(Text::ParseWords) >= 3.26 BuildRequires: perl(Text::ParseWords) >= 3.26
BuildRequires: perl(URI) BuildRequires: perl(URI)
BuildRequires: perl(URI::file)
BuildRequires: perl(parent) BuildRequires: perl(parent)
Requires: perl(Alien::Base)
Requires: perl(Alien::Base::PkgConfig) >= 1.20
Requires: perl(Archive::Extract) Requires: perl(Archive::Extract)
Requires: perl(Archive::Tar) >= 1.40
Requires: perl(Capture::Tiny) >= 0.17 Requires: perl(Capture::Tiny) >= 0.17
Requires: perl(File::ShareDir)
Requires: perl(File::chdir) >= 0.1005 Requires: perl(File::chdir) >= 0.1005
Requires: perl(HTTP::Tiny) >= 0.044 Requires: perl(HTTP::Tiny) >= 0.044
Requires: perl(HTML::LinkExtor) Requires: perl(List::Util) >= 1.45
Requires: perl(JSON::PP) Requires: perl(Module::Build) >= 0.4004
Requires: perl(List::MoreUtils) Requires: perl(Path::Tiny) >= 0.077
Requires: perl(Module::Build) >= 0.360000
Requires: perl(PkgConfig)
Requires: perl(Shell::Config::Generate) Requires: perl(Shell::Config::Generate)
Requires: perl(Shell::Guess) Requires: perl(Shell::Guess)
Requires: perl(Sort::Versions) Requires: perl(Sort::Versions)
Requires: perl(Text::ParseWords) >= 3.26 Requires: perl(Text::ParseWords) >= 3.26
Requires: perl(URI) Requires: perl(URI)
Requires: perl(parent) Requires: perl(parent)
Recommends: perl(HTML::LinkExtor) Provides: perl(Alien::Base::ModuleBuild) = %{version}
Provides: perl(Alien::Base::ModuleBuild::Cabinet) = %{version}
Provides: perl(Alien::Base::ModuleBuild::File) = %{version}
Provides: perl(Alien::Base::ModuleBuild::Repository) = %{version}
Provides: perl(Alien::Base::ModuleBuild::Repository::FTP) = %{version}
Provides: perl(Alien::Base::ModuleBuild::Repository::HTTP) = %{version}
Provides: perl(Alien::Base::ModuleBuild::Repository::Local) = %{version}
Provides: perl(Alien::Base::ModuleBuild::Utils) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
# MANUAL BEGIN
%if 0%{?suse_version} <= 1530
BuildRequires: perl(PkgConfig)
%endif
# MANUAL END
%description %description
*NOTE*: Please consider for new development of Aliens that you use
Alien::Build and alienfile instead. Like this module they work with
Alien::Base. Unlike this module they are more easily customized and handle
a number of corner cases better. For a good place to start, please see
Alien::Build::Manual::AlienAuthor. Although the Alien-Base / Alien-Build
team will continue to maintain this module, (we will continue to fix bugs
where appropriate), we aren't adding any new features to this module.
This is a subclass of Module::Build, that with Alien::Base allows for easy This is a subclass of Module::Build, that with Alien::Base allows for easy
creation of Alien distributions. This module is used during the build step creation of Alien distributions. This module is used during the build step
of your distribution. When properly configured it will of your distribution. When properly configured it will
@@ -74,23 +97,23 @@ of your distribution. When properly configured it will
* download, build and install the library if the system does not provide it * download, build and install the library if the system does not provide it
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build %build
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}" perl Build.PL --installdirs=vendor optimize="%{optflags}"
./Build build flags=%{?_smp_mflags} ./Build build --flags=%{?_smp_mflags}
%check %check
./Build test ./Build test
%install %install
./Build install destdir=%{buildroot} create_packlist=0 ./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %doc Changes README
%doc Changes maint README
%license LICENSE %license LICENSE
%changelog %changelog