8
0

3 Commits

3 changed files with 29 additions and 5 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-HTTP-Daemon/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-HTTP-Daemon)

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jul 11 14:15:24 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Thu Mar 9 16:44:14 UTC 2023 - Tina Müller <tina.mueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTTP-Daemon
#
# Copyright (c) 2023 SUSE LLC
# 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
@@ -18,13 +18,16 @@
%define cpan_name HTTP-Daemon
Name: perl-HTTP-Daemon
Version: 6.16
Version: 6.160.0
Release: 0
# 6.16 -> normalize -> 6.160.0
%define cpan_version 6.16
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Simple http server class
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
@@ -34,7 +37,8 @@ BuildRequires: perl(HTTP::Response) >= 6
BuildRequires: perl(HTTP::Status) >= 6
BuildRequires: perl(IO::Socket::IP) >= 0.32
BuildRequires: perl(LWP::MediaTypes) >= 6
BuildRequires: perl(Module::Build::Tiny) >= 0.034
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Build::Tiny) >= 0.34
BuildRequires: perl(Module::Metadata)
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(Test::Needs)
@@ -44,6 +48,8 @@ Requires: perl(HTTP::Response) >= 6
Requires: perl(HTTP::Status) >= 6
Requires: perl(IO::Socket::IP) >= 0.32
Requires: perl(LWP::MediaTypes) >= 6
Provides: perl(HTTP::Daemon) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -63,7 +69,7 @@ method on this object will read data from the client and return an
back various responses.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Build.PL --installdirs=vendor