fix deps, build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-NoTabs?expand=0&rev=4
This commit is contained in:
parent
ceac96fa49
commit
4145990a40
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 25 22:43:05 UTC 2011 - chris@computersalat.de
|
||||
|
||||
- fix deps
|
||||
- no auto_install
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 23 10:58:57 UTC 2011 - coolo@novell.com
|
||||
|
||||
|
@ -23,13 +23,23 @@ Release: 1
|
||||
License: GPL+ or Artistic
|
||||
%define cpan_name Test-NoTabs
|
||||
Summary: Check the presence of tabs in your project
|
||||
Url: http://search.cpan.org/dist/Test-NoTabs/
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Test-NoTabs/
|
||||
Source: http://www.cpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Builder)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(FindBin)
|
||||
BuildRequires: perl(File::Find)
|
||||
Requires: perl(Test::More)
|
||||
Requires: perl(Test::Builder)
|
||||
Requires: perl(File::Spec)
|
||||
Requires: perl(FindBin)
|
||||
Requires: perl(File::Find)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@ -38,6 +48,7 @@ modules, etc) for the presence of tabs.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%{__perl} -p -i -e 's|(auto_install)|#\1|' Makefile.PL
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
|
Loading…
Reference in New Issue
Block a user