update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Build-CleanInstall?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
cd48baca5a
commit
1f16a60380
21
cpanspec.yml
Normal file
21
cpanspec.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
no_testing: not working with rpm installed deps
|
||||||
|
#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
|
||||||
|
#ignore_requires: Bizarre::Module
|
@@ -25,6 +25,7 @@ License: Artistic-1.0 or GPL-1.0+
|
|||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Module-Build-CleanInstall/
|
Url: http://search.cpan.org/dist/Module-Build-CleanInstall/
|
||||||
Source0: http://www.cpan.org/authors/id/J/JB/JBERGER/%{cpan_name}-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/J/JB/JBERGER/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
@@ -60,7 +61,8 @@ ExtUtils::Packlist which is created when the module is first installed.
|
|||||||
./Build build flags=%{?_smp_mflags}
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
# MANUAL no testing (not working with rpm installed deps)
|
||||||
|
#./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install destdir=%{buildroot} create_packlist=0
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
|
Reference in New Issue
Block a user