fix build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-PowerSet?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
214a8a929d
commit
f31a2b38a4
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 26 13:56:53 UTC 2011 - chris@computersalat.de
|
||||||
|
|
||||||
|
- fix build
|
||||||
|
o chmod 644 docfiles, fix shebang
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 22 19:35:00 UTC 2011 - coolo@novell.com
|
Sat Jan 22 19:35:00 UTC 2011 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Data-PowerSet (Version 0.05)
|
# spec file for package perl-Data-PowerSet
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -21,14 +21,14 @@ Release: 1
|
|||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
%define cpan_name Data-PowerSet
|
%define cpan_name Data-PowerSet
|
||||||
Summary: Generate all subsets of a list of elements
|
Summary: Generate all subsets of a list of elements
|
||||||
Url: http://search.cpan.org/dist/Data-PowerSet/
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
|
Url: http://search.cpan.org/dist/Data-PowerSet/
|
||||||
#Source: http://www.cpan.org/authors/id/D/DL/DLAND/Data-PowerSet-%{version}.tar.gz
|
#Source: http://www.cpan.org/authors/id/D/DL/DLAND/Data-PowerSet-%{version}.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -37,6 +37,10 @@ elements appearing in the list without replacement.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
find . -type f -print0 | xargs -0 chmod 644
|
||||||
|
for i in $(%{__grep} -rl "/usr/local/bin/perl" *) ; do
|
||||||
|
%{__perl} -p -i -e 's@/usr/local/bin/perl@%{__perl}@' $i
|
||||||
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
Reference in New Issue
Block a user