11
0

Compare commits

3 Commits

3 changed files with 36 additions and 16 deletions

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-AnyEvent-HTTP/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-AnyEvent-HTTP)

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 3 15:09:07 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 28 03:07:21 UTC 2020 - <timueller+perl@suse.de> Tue Apr 28 03:07:21 UTC 2020 - <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-AnyEvent-HTTP # spec file for package perl-AnyEvent-HTTP
# #
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2025 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
@@ -16,24 +16,27 @@
# #
Name: perl-AnyEvent-HTTP
Version: 2.25
Release: 0
%define cpan_name AnyEvent-HTTP %define cpan_name AnyEvent-HTTP
Summary: Simple but non-blocking HTTP/HTTPS client Name: perl-AnyEvent-HTTP
Version: 2.250.0
Release: 0
# 2.25 -> normalize -> 2.250.0
%define cpan_version 2.25
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl Summary: Simple but non-blocking HTTP/HTTPS client
Url: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(AnyEvent) >= 5.33 BuildRequires: perl(AnyEvent) >= 5.330
BuildRequires: perl(common::sense) >= 3.3 BuildRequires: perl(common::sense) >= 3.300
Requires: perl(AnyEvent) >= 5.33 Requires: perl(AnyEvent) >= 5.330
Requires: perl(common::sense) >= 3.3 Requires: perl(common::sense) >= 3.300
Provides: perl(AnyEvent::HTTP) = %{version}
%undefine __perllib_provides
Recommends: perl(URI) Recommends: perl(URI)
%{perl_requires} %{perl_requires}
@@ -57,11 +60,11 @@ other high-level protocol details for which this module offers only limited
support. support.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version} -p1
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} %make_build
%check %check
make test make test
@@ -72,7 +75,6 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README %doc Changes README
%license COPYING %license COPYING