2024-08-18 22:07:10 +00:00
committed by Git OBS Bridge
parent 3ddeede097
commit a906f68dee

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Text-CSV-Unicode # spec file for package perl-Text-CSV-Unicode
# #
# Copyright (c) 2018 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
@@ -16,23 +16,25 @@
# #
Name: perl-Text-CSV-Unicode
Version: 0.400
Release: 0
%define cpan_name Text-CSV-Unicode %define cpan_name Text-CSV-Unicode
Summary: Comma-Separated Values Manipulation Routines Name: perl-Text-CSV-Unicode
Version: 0.400.0
Release: 0
# 0.400 -> normalize -> 0.400.0
%define cpan_version 0.400
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: Comma-separated values manipulation routines
Url: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RM/RMBARKER/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/R/RM/RMBARKER/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Module::Build) >= 0.380000 BuildRequires: perl(Module::Build) >= 0.38
BuildRequires: perl(Text::CSV) >= 1 BuildRequires: perl(Text::CSV) >= 1
Requires: perl(Text::CSV) >= 1 Requires: perl(Text::CSV) >= 1
Provides: perl(Text::CSV::Unicode) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -42,21 +44,20 @@ Text::CSV::Unicode allows for input with wide character data but does not
permit control characters. permit control characters.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
perl Build.PL installdirs=vendor perl Build.PL --installdirs=vendor
./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 examples README %doc Changes examples README
%changelog %changelog