Hello community,

here is the log from the commit of package perl-Device-Yeelight for 
openSUSE:Factory checked in at 2020-06-29 21:17:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Device-Yeelight (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Device-Yeelight.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Device-Yeelight"

Mon Jun 29 21:17:45 2020 rev:2 rq:817649 version:0.12

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Device-Yeelight/perl-Device-Yeelight.changes    
    2019-09-02 13:25:06.565315143 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Device-Yeelight.new.3060/perl-Device-Yeelight.changes
      2020-06-29 21:18:16.949768618 +0200
@@ -1,0 +2,6 @@
+Sun Jun 28 03:07:41 UTC 2020 - Tina Müller <timueller+p...@suse.de>
+
+- updated to 0.12
+   see /usr/share/doc/packages/perl-Device-Yeelight/Changes
+
+-------------------------------------------------------------------

Old:
----
  Device-Yeelight-0.11.tar.gz

New:
----
  Device-Yeelight-0.12.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-Device-Yeelight.spec ++++++
--- /var/tmp/diff_new_pack.W0yvbw/_old  2020-06-29 21:18:17.749771093 +0200
+++ /var/tmp/diff_new_pack.W0yvbw/_new  2020-06-29 21:18:17.753771106 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Device-Yeelight
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,18 @@
 #
 
 
-%define cpan_name Device-Yeelight
 Name:           perl-Device-Yeelight
-Version:        0.11
+Version:        0.12
 Release:        0
+%define cpan_name Device-Yeelight
 Summary:        Controller for Yeelight smart devices
 License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
 URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/J/JB/JBAIER/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
+BuildArch:      noarch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(IO) >= 1.38
@@ -33,7 +36,6 @@
 Requires:       perl(IO) >= 1.38
 Requires:       perl(IO::Socket::Multicast) >= 1.12
 Requires:       perl(JSON) >= 2.97
-BuildArch:      noarch
 %{perl_requires}
 
 %description
@@ -47,7 +49,7 @@
 make %{?_smp_mflags}
 
 %check
-make %{?_smp_mflags} test
+make test
 
 %install
 %perl_make_install

++++++ Device-Yeelight-0.11.tar.gz -> Device-Yeelight-0.12.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Device-Yeelight-0.11/Changes 
new/Device-Yeelight-0.12/Changes
--- old/Device-Yeelight-0.11/Changes    2019-06-19 18:10:52.000000000 +0200
+++ new/Device-Yeelight-0.12/Changes    2020-06-28 00:53:32.010966338 +0200
@@ -1,4 +1,7 @@
-0.11   2019/06/19
+0.12    2020/06/28
+- fixed multicast problem
+
+0.11    2019/06/19
 - fixed discovery of multiple devices
 
 0.10    2019/03/06
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Device-Yeelight-0.11/META.json 
new/Device-Yeelight-0.12/META.json
--- old/Device-Yeelight-0.11/META.json  2019-06-19 18:11:59.000000000 +0200
+++ new/Device-Yeelight-0.12/META.json  2020-06-28 00:57:50.826181532 +0200
@@ -4,7 +4,7 @@
       "Jan Baier <jan.ba...@amagical.net>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "perl_5"
    ],
@@ -40,6 +40,6 @@
       }
    },
    "release_status" : "stable",
-   "version" : "0.11",
-   "x_serialization_backend" : "JSON::PP version 2.97001"
+   "version" : "0.12",
+   "x_serialization_backend" : "JSON::PP version 4.02"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Device-Yeelight-0.11/META.yml 
new/Device-Yeelight-0.12/META.yml
--- old/Device-Yeelight-0.11/META.yml   2019-06-19 18:11:59.000000000 +0200
+++ new/Device-Yeelight-0.12/META.yml   2020-06-28 00:57:50.714181865 +0200
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -22,5 +22,5 @@
   IO::Socket::Multicast: '1.12'
   JSON: '2.97'
   perl: '5.026'
-version: '0.11'
+version: '0.12'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Device-Yeelight-0.11/README 
new/Device-Yeelight-0.12/README
--- old/Device-Yeelight-0.11/README     2019-03-06 18:44:32.000000000 +0100
+++ new/Device-Yeelight-0.12/README     2020-06-28 00:56:35.698405255 +0200
@@ -32,11 +32,10 @@
 
 LICENSE AND COPYRIGHT
 
-Copyright (C) 2019 Jan Baier
+Copyright (C) 2020 Jan Baier
 
 This program is free software; you can redistribute it and/or modify it
 under the terms of either: the GNU General Public License as published
 by the Free Software Foundation; or the Artistic License.
 
 See L<http://dev.perl.org/licenses/> for more information.
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Device-Yeelight-0.11/lib/Device/Yeelight/Light.pm 
new/Device-Yeelight-0.12/lib/Device/Yeelight/Light.pm
--- old/Device-Yeelight-0.11/lib/Device/Yeelight/Light.pm       2019-03-06 
18:44:32.000000000 +0100
+++ new/Device-Yeelight-0.12/lib/Device/Yeelight/Light.pm       2020-06-28 
00:55:00.694692688 +0200
@@ -14,14 +14,6 @@
 
 Device::Yeelight::Light - WiFi Smart LED Light
 
-=head1 VERSION
-
-Version 0.10
-
-=cut
-
-our $VERSION = '0.10';
-
 =head1 SYNOPSIS
 
 This module provides base class for Yeelight smart device
@@ -64,7 +56,6 @@
 
     unless ( grep { $method =~ m/::$_$/ } @{ $self->{support} } ) {
         carp "$method is not supported by this device";
-        return;
     }
 
     return 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Device-Yeelight-0.11/lib/Device/Yeelight.pm 
new/Device-Yeelight-0.12/lib/Device/Yeelight.pm
--- old/Device-Yeelight-0.11/lib/Device/Yeelight.pm     2019-06-19 
18:10:52.000000000 +0200
+++ new/Device-Yeelight-0.12/lib/Device/Yeelight.pm     2020-06-28 
00:54:37.626763329 +0200
@@ -17,11 +17,11 @@
 
 =head1 VERSION
 
-Version 0.11
+Version 0.12
 
 =cut
 
-our $VERSION = '0.11';
+our $VERSION = '0.12';
 
 =head1 SYNOPSIS
 
@@ -90,7 +90,10 @@
 MAN: "ssdp:discover"\r
 ST: wifi_bulb\r
 EOQ
-    $socket->mcast_send( $query, "$self->{address}:$self->{port}" ) or croak 
$!;
+
+    ${*$socket}{'io_socket_mcast_dest'} = 
sockaddr_in(int($self->{port}),inet_aton($self->{address}));
+
+    $socket->mcast_send( $query ) or croak $!;
     $socket->close;
 
     my @ready;
@@ -121,7 +124,7 @@
       foreach (
         qw/location id model fw_ver support power bright color_mode ct rgb hue 
sat name/
       );
-    $device->{support} = [ split( ' ', $device->{support} ) ]
+    $device->{support} = [ sort split( ' ', $device->{support} ) ]
       if defined $device->{support};
 
     push @{ $self->{devices} }, Device::Yeelight::Light->new(%$device)

++++++ 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:
#preamble: |-
# BuildRequires:  gcc-c++
#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

Reply via email to