Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Curses for openSUSE:Factory 
checked in at 2021-06-11 22:30:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Curses (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Curses.new.32437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Curses"

Fri Jun 11 22:30:50 2021 rev:29 rq:899463 version:1.37

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Curses/perl-Curses.changes  2020-10-20 
16:19:48.506276811 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Curses.new.32437/perl-Curses.changes       
2021-06-11 22:31:28.798214001 +0200
@@ -1,0 +2,12 @@
+Wed Jun  9 11:29:42 UTC 2021 - Pedro Monreal <pmonr...@suse.com>
+
+- Build and link against ncurses version 5 to fix missing exported
+  symbols [bsc#1119646]
+
+-------------------------------------------------------------------
+Wed Jun  9 10:24:55 UTC 2021 - Pedro Monreal <pmonr...@suse.com>
+
+- Build with support for MENUS, PANELS and FORMS
+- Fix perl script interpreters
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Curses.spec ++++++
--- /var/tmp/diff_new_pack.1xxvMd/_old  2021-06-11 22:31:29.238214764 +0200
+++ /var/tmp/diff_new_pack.1xxvMd/_new  2021-06-11 22:31:29.242214770 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Curses
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,12 +26,11 @@
 URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/G/GI/GIRAFFED/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
 %{perl_requires}
 # MANUAL BEGIN
-BuildRequires:  ncurses-devel
+BuildRequires:  ncurses5-devel
 # MANUAL END
 
 %description
@@ -46,8 +45,15 @@
 %setup -q -n %{cpan_name}-%{version}
 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path 
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
 
+# Fix perl script interpreters
+sed -i '1s|../../perl|%{__perl}|' test.syms
+sed -i '1s| /usr//bin/perl|%{__perl}|' demo.form
+sed -i '1s| /usr/bin/perl|%{__perl}|' demo* gdc
+
 %build
-perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+export CURSES_CFLAGS="-I/usr/include/ncurses5/ncursesw"
+export CURSES_LDFLAGS="-L%{_libdir}/ncurses5 -lncursesw"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" PANELS MENUS FORMS
 make %{?_smp_mflags}
 
 %check
@@ -60,7 +66,7 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc demo demo2 demo.form demo.menu demo.panel gdc gen.tar HISTORY list.syms 
MAINTENANCE README testcurses test.syms
+%doc demo* gdc gen.tar HISTORY list.syms MAINTENANCE README testcurses 
test.syms
 %license Artistic Copying
 
 %changelog

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.1xxvMd/_old  2021-06-11 22:31:29.278214833 +0200
+++ /var/tmp/diff_new_pack.1xxvMd/_new  2021-06-11 22:31:29.278214833 +0200
@@ -11,7 +11,7 @@
 #  foo.patch: -p1
 #  bar.patch:
 preamble: |-
- BuildRequires:  ncurses-devel
+ BuildRequires:  ncurses5-devel
 #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 

Reply via email to