Accepting request 297573 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/297573 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-constant-lexical?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
3bccdaab66
commit
a1a641544d
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb2d85ff1378e867177c16a454768f8440c2972fb23a4deaa1b55295eebea959
|
||||
size 3272
|
3
constant-lexical-2.0001.tar.gz
Normal file
3
constant-lexical-2.0001.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0fac59f2844f638664754597d3f2b552ac4ea9956191aa12a6dc788279f1feb7
|
||||
size 31660
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:343d25eb231d3388027ab5ba759ba8301c8984ec3ebc6559788ff51287fa00d7
|
||||
size 31197
|
20
cpanspec.yml
Normal file
20
cpanspec.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: -
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 17 08:09:31 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 2.0001
|
||||
see /usr/share/doc/packages/perl-constant-lexical/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 17 08:09:30 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 2
|
||||
see /usr/share/doc/packages/perl-constant-lexical/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 06:55:34 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-constant-lexical
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,49 +15,37 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
#Distribution: %dist
|
||||
#Packager: %packager
|
||||
#Vendor: %vendor
|
||||
|
||||
%define modname constant-lexical
|
||||
Name: perl-%{modname}
|
||||
Name: perl-constant-lexical
|
||||
Version: 2.0001
|
||||
Release: 0
|
||||
%define cpan_name constant-lexical
|
||||
Summary: Perl pragma to declare lexical compile-time constants
|
||||
Version: 0.01
|
||||
Release: 1
|
||||
License: GPL/Artistic
|
||||
License: org) This program is free software and you may redistribute or modify it(or both)under the same terms as perl.
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://www.cpan.org
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/S/SP/SPROUT/%{modname}-%{version}.tar.bz2
|
||||
Url: http://search.cpan.org/dist/constant-lexical/
|
||||
Source0: http://www.cpan.org/authors/id/S/SP/SPROUT/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
#BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(Test::More) >= 0.42
|
||||
BuildRequires: perl(File::Spec)
|
||||
# other not perl || perl-base
|
||||
BuildRequires: perl-Sub-Delete >= 0.02
|
||||
Requires: perl(File::Spec)
|
||||
BuildRequires: perl(Lexical::Sub)
|
||||
BuildRequires: perl(Sub::Delete)
|
||||
Requires: perl(Lexical::Sub)
|
||||
Requires: perl(Sub::Delete)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
This module creates compile-time constants in the manner of constant.pm, but
|
||||
makes them local to the enclosing scope. I sometimes use these for objects that
|
||||
are blessed arrays, which are faster than hashes. I use constants instead of
|
||||
keys, but I don't want them exposed as methods, so this is where lexical
|
||||
constants come in handy.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Father Chrysostomos <sprout@cpan.org>
|
||||
This module creates compile-time constants in the manner of constant, but
|
||||
makes them local to the enclosing scope.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||
%{__make}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
@@ -67,13 +55,8 @@ CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
|
||||
%changelog
|
||||
* Tue Sep 1 2009 - jw@suse.de - 0.01
|
||||
- initial Package
|
||||
|
Reference in New Issue
Block a user