/[packages]/cauldron/perl-Alias/current/SPECS/perl-Alias.spec
ViewVC logotype

Contents of /cauldron/perl-Alias/current/SPECS/perl-Alias.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2011555 - (show annotations) (download)
Thu Nov 30 09:39:59 2023 UTC (4 months, 3 weeks ago) by tv
File size: 1301 byte(s)
Rebuild for perl-5.38
1 %define upstream_name Alias
2 %define upstream_version 2.32
3
4 %{?perl_default_filter}
5
6 Name: perl-%{upstream_name}
7 Version: %perl_convert_version %{upstream_version}
8 Release: %mkrel 27
9
10 Summary: CPAN %{upstream_name} module for aliasing services
11 License: GPL+ or Artistic
12 Group: Development/Perl
13 URL: https://metacpan.org/release/%{upstream_name}
14 Source0: https://cpan.metacpan.org/modules/by-module/Alias/%{upstream_name}-%{upstream_version}.tar.gz
15 Patch0: Alias-2.32-Dont-use-GvCV-as-an-lvalue.patch
16
17 BuildRequires: perl-devel
18
19 %description
20 This Perl module performs aliasing services. You may find this
21 module useful if you:
22 * are tired of dereferencing hash-based object attributes
23 * wish perl could make-do with fewer $, -> and {} things
24 * are a little scared of using typeglobs
25 * want the freedom to put what you want, when you want in
26 the symbol table without having to deal with weird syntax
27 * need to use scalar constants in your program since you don't
28 trust yourself from changing $PI
29
30 %prep
31 %setup -q -n %{upstream_name}-%{upstream_version}
32 %autopatch -p1
33
34 %build
35 %{__perl} Makefile.PL INSTALLDIRS=vendor
36 %make_build
37 make test
38
39 %install
40 %make_install
41
42 %files
43 %doc Changes README
44 %{perl_vendorarch}/Alias.pm
45 %{perl_vendorarch}/auto/Alias/*
46 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.30