Stephan Kulow
2015-04-21 02:53:31 +00:00
committed by Git OBS Bridge
parent cd48baca5a
commit 1f16a60380
2 changed files with 24 additions and 1 deletions

21
cpanspec.yml Normal file
View 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

View File

@@ -25,6 +25,7 @@ License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-Build-CleanInstall/
Source0: http://www.cpan.org/authors/id/J/JB/JBERGER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -60,7 +61,8 @@ ExtUtils::Packlist which is created when the module is first installed.
./Build build flags=%{?_smp_mflags}
%check
./Build test
# MANUAL no testing (not working with rpm installed deps)
#./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0