Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Net-SSLeay for openSUSE:Factory 
checked in at 2021-06-27 18:58:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Net-SSLeay (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Net-SSLeay.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Net-SSLeay"

Sun Jun 27 18:58:19 2021 rev:33 rq:901757 version:1.90

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Net-SSLeay/perl-Net-SSLeay.changes  
2021-01-29 14:56:47.661482667 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Net-SSLeay.new.2625/perl-Net-SSLeay.changes    
    2021-06-27 18:58:30.776231212 +0200
@@ -1,0 +2,7 @@
+Tue Jun 22 12:31:18 UTC 2021 - Pedro Monreal <pmonr...@suse.com>
+
+- Fix autoupdate build:
+  * Add required build and test dependencies
+  * Update spec file and add cpanspec.yml
+
+-------------------------------------------------------------------

New:
----
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-Net-SSLeay.spec ++++++
--- /var/tmp/diff_new_pack.xmuDNt/_old  2021-06-27 18:58:31.244231827 +0200
+++ /var/tmp/diff_new_pack.xmuDNt/_new  2021-06-27 18:58:31.248231832 +0200
@@ -22,50 +22,35 @@
 Release:        0
 Summary:        Perl extension for using OpenSSL
 License:        Artistic-2.0
-Group:          Development/Libraries/Perl
 URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/C/CH/CHRISN/%{cpan_name}-%{version}.tar.gz
-BuildRequires:  libopenssl-devel
-BuildRequires:  openssl
+Source1:        cpanspec.yml
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  zlib-devel
 %{perl_requires}
+# MANUAL BEGIN
+BuildRequires:  libopenssl-devel
+BuildRequires:  zlib-devel
 BuildRequires:  perl(Test::Exception)
 BuildRequires:  perl(Test::NoWarnings)
-BuildRequires:  perl(Test::Pod) >= 1.00
-BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(Test::Pod) >= 1.41
 BuildRequires:  perl(Test::Warn)
+# MANUAL END
 
 %description
-Net::SSLeay module contains perl bindings to openssl (http://www.openssl.org) 
library.
-Net::SSLeay module basically comprise of:
-    High level functions for accessing web servers (by using HTTP/HTTPS)
-    Low level API (mostly mapped 1:1 to openssl's C functions)
-    Convenience functions (related to low level API but with more perl 
friendly interface)
+This module provides Perl bindings for libssl (an SSL/TLS API) and
+libcrypto (a cryptography API).
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
-
-# replace rest of /usr/local/bin/perl with /usr/bin/perl
-for f in $(find . -type f -exec grep -l "%{_prefix}/local/bin/perl" {} \; ); do
-  sed -i -e "s@%{_prefix}/local/bin/perl@perl@g" $f
-done
-# delete .orig files created by patches
-find . -type f -name "*.orig" -delete
-# fix perm
-pushd examples
-chmod 0644 *.pl
-popd
+%autosetup -n %{cpan_name}-%{version}
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path 
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -Wall" < /dev/null
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+%make_build
 
 %check
-%if ! 0%{?qemu_user_space_build}
-make %{?_smp_mflags} test
-%endif
+make test
 
 %install
 %perl_make_install
@@ -74,6 +59,6 @@
 
 %files -f %{name}.files
 %license LICENSE
-%doc Changes Credits QuickRef README examples
+%doc Changes Credits QuickRef README examples CONTRIBUTING.md
 
 %changelog

++++++ cpanspec.yml ++++++
----
#description_paragraphs: 3
#description: |-
#  override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#  foo.patch: -p1
#  bar.patch:
#  baz.patch: PATCH-FIX-OPENSUSE
#preamble: |-
 BuildRequires:  libopenssl-devel
 BuildRequires:  zlib-devel
 BuildRequires:  perl(Test::Exception)
 BuildRequires:  perl(Test::NoWarnings)
 BuildRequires:  perl(Test::Pod) >= 1.41
 BuildRequires:  perl(Test::Warn)
#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_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section

Reply via email to