forked from pool/perl-Unicode-Collate
Accepting request 890954 from home:dirkmueller:Factory
- ensure rebuild to be always newer than the perl-core provided version (see bsc#1185600) OBS-URL: https://build.opensuse.org/request/show/890954 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Unicode-Collate?expand=0&rev=28
This commit is contained in:
committed by
Git OBS Bridge
parent
49f5734536
commit
9aa1172c20
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 6 10:30:46 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- ensure rebuild to be always newer than the perl-core provided
|
||||||
|
version (see bsc#1185600)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Sep 27 03:19:39 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
Sun Sep 27 03:19:39 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Unicode-Collate
|
# spec file for package perl-Unicode-Collate
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 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,19 +16,22 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define cpan_name Unicode-Collate
|
||||||
Name: perl-Unicode-Collate
|
Name: perl-Unicode-Collate
|
||||||
Version: 1.29
|
Version: 1.29
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name Unicode-Collate
|
|
||||||
Summary: Unicode Collation Algorithm
|
Summary: Unicode Collation Algorithm
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
URL: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/S/SA/SADAHIRO/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/S/SA/SADAHIRO/%{cpan_name}-%{version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
# special case as perl itself provides Unicode-Collate as well, however
|
||||||
|
# in an older version. we need to rebuild on version updates
|
||||||
|
# to ensure we are always newer than the perl-core provided version (bsc#1185600)
|
||||||
|
%requires_eq perl
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -40,10 +43,10 @@ UTS #10) - Unicode Collation Algorithm (a.k.a. UCA).
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
%make_build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
|
Reference in New Issue
Block a user