Accepting request 638824 from home:computersalat:devel:perl
fix for boo#1089992, nothing provides /usr/local/bin/perl OBS-URL: https://build.opensuse.org/request/show/638824 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-BioPerl?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
d500b8c028
commit
f913e351ae
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 27 16:11:06 UTC 2018 - Christian Wittmer <chris@computersalat.de>
|
||||
|
||||
- fix for boo#1089992
|
||||
* nothing provides /usr/local/bin/perl
|
||||
- fix license
|
||||
- fix wrong end of line encoding (dos)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 7 16:10:23 UTC 2018 - coolo@suse.com
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ Version: 1.007002
|
||||
Release: 0
|
||||
%define cpan_name BioPerl
|
||||
Summary: Perl Modules for Biology
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
License: GPL-2.0-or-later OR Artistic-1.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/BioPerl/
|
||||
Source0: https://cpan.metacpan.org/authors/id/C/CJ/CJFIELDS/%{cpan_name}-%{version}.tar.gz
|
||||
@@ -106,6 +106,13 @@ and contribute your own if possible.
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
# fix for boo#1089992
|
||||
for i in $(grep -R "/usr/local/bin/perl" * | awk -F':' '{print $1}'); do
|
||||
perl -p -i -e 's|#!/usr/local/bin/perl|#!/usr/bin/perl|' "${i}"
|
||||
done
|
||||
# rpmlint
|
||||
perl -p -i -e 's|\r\n|\n|' ./ide/bioperl-mode/etc/images/bpmode-tool-dis.xpm
|
||||
perl -p -i -e 's|\r\n|\n|' ./ide/bioperl-mode/etc/images/bpmode-tool.xpm
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
|
Reference in New Issue
Block a user