Accepting request 530645 from devel:languages:perl:tobefixed
- patch Makefile.PL to build with perl 5.26 OBS-URL: https://build.opensuse.org/request/show/530645 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Markdown?expand=0&rev=13
This commit is contained in:
parent
9d14cb9f87
commit
f5d2990cf6
@ -16,9 +16,8 @@ preamble: |-
|
||||
if [ $1 -eq 0 ] ; then
|
||||
update-alternatives --remove markdown %{_bindir}/Markdown.pl
|
||||
fi
|
||||
#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_prep: |-
|
||||
sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL
|
||||
post_install: |-
|
||||
# update-alternatives
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 3 03:28:55 UTC 2017 - coolo@suse.com
|
||||
|
||||
- patch Makefile.PL to build with perl 5.26
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 21 11:09:35 UTC 2015 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Text-Markdown
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -24,7 +24,7 @@ Summary: Convert Markdown syntax to (X)HTML
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Text-Markdown/
|
||||
Source0: http://www.cpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -58,6 +58,9 @@ tags (like <div> and <table> as well).
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
# MANUAL BEGIN
|
||||
sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
@ -82,6 +85,7 @@ echo "%{_bindir}/markdown" >> %{name}.files
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes License.text README Readme.text Todo
|
||||
%doc Changes README Readme.text Todo
|
||||
%license License.text
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user