11
0

3 Commits

3 changed files with 34 additions and 13 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-Unicode-EastAsianWidth/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-Unicode-EastAsianWidth)

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 10 21:43:24 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 27 12:49:05 UTC 2019 - Tina Mueller <tina.mueller@suse.com> Fri Sep 27 12:49:05 UTC 2019 - Tina Mueller <tina.mueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Unicode-EastAsianWidth # spec file for package perl-Unicode-EastAsianWidth
# #
# Copyright (c) 2019 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,21 +16,25 @@
# #
Name: perl-Unicode-EastAsianWidth
Version: 12.0
Release: 0
#Upstream: This work is under the *CC0 1.0 Universal* license. or neighboring rights to Unicode-EastAsianWidth. This work is published from Taiwan. the http://creativecommons.org/publicdomain/zero/1.0 manpage
%define cpan_name Unicode-EastAsianWidth %define cpan_name Unicode-EastAsianWidth
Summary: East Asian Width properties Name: perl-Unicode-EastAsianWidth
Version: 12.0.0
Release: 0
# 12.0 -> normalize -> 12.0.0
%define cpan_version 12.0
#Upstream: This work is under the *CC0 1.0 Universal* license. or neighboring rights to Unicode-EastAsianWidth. This work is published from Taiwan. the http://creativecommons.org/publicdomain/zero/1.0 manpage
License: CC0-1.0 License: CC0-1.0
Group: Development/Libraries/Perl Summary: East Asian Width properties
Url: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/%{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(ExtUtils::MakeMaker) >= 6.59
Provides: perl(Unicode::EastAsianWidth) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -61,11 +65,11 @@ will no longer work on Perl 5.16 and later versions, and hence is not
recommended. recommended.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version} -p1
%build %build
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} %make_build
%check %check
make test make test
@@ -76,7 +80,6 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README README.mkdn %doc Changes README README.mkdn
%changelog %changelog