Accepting request 97104 from devel:languages:perl
- update to 0.07: * Use Test::Fatal instead of Test::Exception * Advise against calling it "config.h" as that gets confused with core perl's file OBS-URL: https://build.opensuse.org/request/show/97104 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-ExtUtils-CChecker?expand=0&rev=4
This commit is contained in:
commit
4625e65c83
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:14054899e652c22fe991211fa7b2e31da243f44a64b576b1af9824fe8e8eaa0e
|
|
||||||
size 14248
|
|
3
ExtUtils-CChecker-0.07.tar.gz
Normal file
3
ExtUtils-CChecker-0.07.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:413a18463bb433f720ad301074027734cfd8ef6c20378c0260e0c356cddcae4e
|
||||||
|
size 20250
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 19 14:49:51 UTC 2011 - coolo@suse.de
|
||||||
|
|
||||||
|
- update to 0.07:
|
||||||
|
* Use Test::Fatal instead of Test::Exception
|
||||||
|
* Advise against calling it "config.h" as that gets confused with
|
||||||
|
core perl's file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Feb 6 18:28:23 UTC 2011 - lars@linux-schulserver.de
|
Sun Feb 6 18:28:23 UTC 2011 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
@ -15,53 +15,58 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-ExtUtils-CChecker
|
Name: perl-ExtUtils-CChecker
|
||||||
|
Version: 0.07
|
||||||
|
Release: 0
|
||||||
%define cpan_name ExtUtils-CChecker
|
%define cpan_name ExtUtils-CChecker
|
||||||
Summary: Configure-time utilities for using C headers, libraries, or OS features
|
Summary: Configure-time utilities for using C headers
|
||||||
Version: 0.06
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Release: 1
|
|
||||||
License: GPL+ or Artistic
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/ExtUtils-CChecker/
|
Url: http://search.cpan.org/dist/ExtUtils-CChecker/
|
||||||
#Source: http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-CChecker-%{version}.tar.gz
|
Source: http://www.cpan.org/authors/id/P/PE/PEVANS/%{cpan_name}-%{version}.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl(Module::Build)
|
|
||||||
BuildRequires: perl(Test::Pod)
|
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Test::Exception)
|
BuildRequires: perl(ExtUtils::CBuilder)
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
BuildRequires: perl(Test::Fatal)
|
||||||
|
#BuildRequires: perl(ExtUtils::CChecker)
|
||||||
|
#BuildRequires: perl(Module::Build::Compat) >= 0.02
|
||||||
|
Requires: perl(ExtUtils::CBuilder)
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Often Perl modules are written to wrap functionallity found in existing C
|
Often Perl modules are written to wrap functionallity found in existing C
|
||||||
headers, libraries, or to use OS-specific features. It is useful in the
|
headers, libraries, or to use OS-specific features. It is useful in the
|
||||||
Build.PL or Makefile.PL file to check for the existance of these
|
_Build.PL_ or _Makefile.PL_ file to check for the existance of these
|
||||||
requirements before attempting to actually build the module.
|
requirements before attempting to actually build the module.
|
||||||
|
|
||||||
|
Objects in this class provide an extension around the ExtUtils::CBuilder
|
||||||
|
manpage to simplify the creation of a _.c_ file, compiling, linking and
|
||||||
|
running it, to test if a certain feature is present.
|
||||||
|
|
||||||
|
It may also be necessary to search for the correct library to link against,
|
||||||
|
or for the right include directories to find header files in. This class
|
||||||
|
also provides assistance here.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n ExtUtils-CChecker-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
%{__perl} Build.PL installdirs=vendor
|
||||||
./Build
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes LICENSE README
|
%doc Changes LICENSE README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user