8
0

Compare commits

5 Commits

3 changed files with 37 additions and 18 deletions

View File

@@ -22,8 +22,10 @@ preamble: |-
# sed on %{name}.files
license: GPL-1.0-or-later
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
custom_build: |-
# https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2341023
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -std=gnu11"
%make_build
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu May 29 12:53:01 UTC 2025 - pgajdos@suse.com
- -std=gnu11 to fix build with gcc15
- modified sources
% cpanspec.yml
-------------------------------------------------------------------
Thu Feb 6 22:19:20 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Thu Dec 17 03:06:11 UTC 2020 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Convert-UUlib
#
# Copyright (c) 2020 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
@@ -16,23 +16,26 @@
#
Name: perl-Convert-UUlib
Version: 1.8
Release: 0
#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later)
%define cpan_name Convert-UUlib
Summary: Decode uu/xx/b64/mime/yenc/etc-encoded data from a massive number of files
Name: perl-Convert-UUlib
Version: 1.800.0
Release: 0
# 1.8 -> normalize -> 1.800.0
%define cpan_version 1.8
#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later)
License: GPL-1.0-or-later
Group: Development/Libraries/Perl
Summary: Decode uu/xx/b64/mime/yenc/etc-encoded data from a massive number of files
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Canary::Stability)
BuildRequires: perl(common::sense) >= 3.74
Requires: perl(common::sense) >= 3.74
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.52
BuildRequires: perl(common::sense) >= 3.740
Requires: perl(common::sense) >= 3.740
Provides: perl(Convert::UUlib) = %{version}
%undefine __perllib_provides
%{perl_requires}
# MANUAL BEGIN
Provides: p_conulb
@@ -55,12 +58,14 @@ information about the C-library used in this interface, and the rest of
this document and especially the non-trivial decoder program at the end.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
# https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2341023
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -std=gnu11"
%make_build
%check
make test
@@ -71,7 +76,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes doc example-decoder README
%license COPYING COPYING.Artistic COPYING.GNU