11
0

3 Commits

3 changed files with 38 additions and 17 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-Apache-LogFormat-Compiler/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-Apache-LogFormat-Compiler)

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 3 15:12:34 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Tue Nov 19 08:26:52 UTC 2019 - <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Apache-LogFormat-Compiler
#
# Copyright (c) 2019 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
@@ -16,29 +16,33 @@
#
Name: perl-Apache-LogFormat-Compiler
Version: 0.36
Release: 0
%define cpan_name Apache-LogFormat-Compiler
Summary: Compile a log format string to perl-code
Name: perl-Apache-LogFormat-Compiler
Version: 0.360.0
Release: 0
# 0.36 -> normalize -> 0.360.0
%define cpan_version 0.36
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/%{cpan_name}-%{version}.tar.gz
Summary: Compile a log format string to perl-code
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(HTTP::Request::Common)
BuildRequires: perl(Module::Build::Tiny) >= 0.035
BuildRequires: perl(POSIX::strftime::Compiler) >= 0.30
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Build::Tiny) >= 0.35
BuildRequires: perl(POSIX::strftime::Compiler) >= 0.300
BuildRequires: perl(Test::MockTime)
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(Test::Requires)
BuildRequires: perl(Try::Tiny) >= 0.12
BuildRequires: perl(URI::Escape) >= 1.60
Requires: perl(POSIX::strftime::Compiler) >= 0.30
BuildRequires: perl(Try::Tiny) >= 0.120
BuildRequires: perl(URI::Escape) >= 1.600
Requires: perl(POSIX::strftime::Compiler) >= 0.300
Provides: perl(Apache::LogFormat::Compiler) = %{version}
%undefine __perllib_provides
%{perl_requires}
# MANUAL BEGIN
BuildRequires: timezone
@@ -49,7 +53,7 @@ Compile a log format string to perl-code. For faster generation of
access_log lines.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Build.PL --installdirs=vendor
@@ -63,8 +67,7 @@ perl Build.PL --installdirs=vendor
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes minil.toml README.md
%doc Changes README.md
%license LICENSE
%changelog