Christian Wittmer
2011-08-26 13:57:53 +00:00
committed by Git OBS Bridge
parent 214a8a929d
commit f31a2b38a4
2 changed files with 15 additions and 5 deletions

View File

@@ -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

View File

@@ -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
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,14 +21,14 @@ Release: 1
License: GPL+ or Artistic
%define cpan_name Data-PowerSet
Summary: Generate all subsets of a list of elements
Url: http://search.cpan.org/dist/Data-PowerSet/
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: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%description
@@ -37,6 +37,10 @@ elements appearing in the list without replacement.
%prep
%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
%{__perl} Makefile.PL INSTALLDIRS=vendor