Accepting request 514753 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/514753 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ExtUtils-Constant?expand=0&rev=2
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-ExtUtils-Constant
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 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
|
||||
@@ -17,25 +17,27 @@
|
||||
|
||||
|
||||
Name: perl-ExtUtils-Constant
|
||||
%define cpan_name ExtUtils-Constant
|
||||
Summary: Generate XS code to import C header constants
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Version: 0.23
|
||||
Version: 0.24
|
||||
Release: 0
|
||||
%define cpan_name ExtUtils-Constant
|
||||
Summary: Generate Xs Code to Import C Header Constants
|
||||
License: CHECK(GPL-1.0+ or Artistic-1.0)
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/ExtUtils-Constant/
|
||||
Source: http://search.cpan.org/CPAN/authors/id/N/NW/NWCLARK/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
Requires: perl = %{perl_version}
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
ExtUtils::Constant facilitates generating C and XS wrapper code to
|
||||
allow perl modules to AUTOLOAD constants defined in C library header
|
||||
files. It is principally used by the h2xs utility, on which this code
|
||||
is based. It doesn't contain the routines to scan header files to
|
||||
extract these constants.
|
||||
ExtUtils::Constant facilitates generating C and XS wrapper code to allow
|
||||
perl modules to AUTOLOAD constants defined in C library header files. It is
|
||||
principally used by the 'h2xs' utility, on which this code is based. It
|
||||
doesn't contain the routines to scan header files to extract these
|
||||
constants.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
@@ -52,11 +54,8 @@ extract these constants.
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes README
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes examples README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user