forked from pool/perl-Module-Runtime-Conflicts
This commit is contained in:
committed by
Git OBS Bridge
parent
0bb685fbc5
commit
c41849c90c
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
#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
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -21,17 +21,19 @@ Version: 0.002
|
||||
Release: 0
|
||||
%define cpan_name Module-Runtime-Conflicts
|
||||
Summary: Provide information on conflicts for Module::Runtime
|
||||
License: This is free software and you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Module-Runtime-Conflicts/
|
||||
Source: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Dist::CheckConflicts)
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.039
|
||||
BuildRequires: perl(Module::Runtime)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
Requires: perl(Dist::CheckConflicts)
|
||||
Requires: perl(Module::Runtime)
|
||||
%{perl_requires}
|
||||
@@ -45,14 +47,14 @@ It is called from the Moose::Conflicts manpage and 'moose-outdated'.
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
%{__perl} Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%install
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
|
Reference in New Issue
Block a user