Hello community,

here is the log from the commit of package tinyca2 for openSUSE:Factory checked 
in at 2018-10-08 17:44:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tinyca2 (Old)
 and      /work/SRC/openSUSE:Factory/.tinyca2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tinyca2"

Mon Oct  8 17:44:33 2018 rev:21 rq:640068 version:0.7.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/tinyca2/tinyca2.changes  2013-11-29 
21:25:02.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.tinyca2.new/tinyca2.changes     2018-10-08 
17:46:41.606386855 +0200
@@ -1,0 +2,11 @@
+Fri Oct  5 12:09:34 UTC 2018 - lnus...@suse.de
+
+- run spec-cleaner
+
+-------------------------------------------------------------------
+Fri Oct  5 12:02:33 UTC 2018 - gathe...@rursee.net
+
+- fix perl decprecation defined on hash/array types (boo#1072060,
+  0004-fix-perl-deprecation-defined.diff)
+
+-------------------------------------------------------------------

New:
----
  0004-fix-perl-deprecation-defined.diff

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

Other differences:
------------------
++++++ tinyca2.spec ++++++
--- /var/tmp/diff_new_pack.xD3uUj/_old  2018-10-08 17:46:42.162386147 +0200
+++ /var/tmp/diff_new_pack.xD3uUj/_new  2018-10-08 17:46:42.162386147 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package tinyca2
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -16,29 +16,29 @@
 #
 
 
-Name:           tinyca2
-BuildRequires:  update-desktop-files
-Url:            http://tinyca.sm-zone.net/
 %define        libdir          %{_datadir}/TinyCA2/lib
 %define        templatesdir    %{_datadir}/TinyCA2/templates
 %define        localedir       %{_datadir}/locale/
-Requires:       perl
-Requires:       perl-Gtk2
-Requires:       perl-MIME-Base64
+Name:           tinyca2
 Version:        0.7.5
 Release:        0
+Summary:        A Graphical Tool for Managing a Certification Authority
+License:        GPL-2.0-or-later
+Group:          Productivity/Networking/Security
+URL:            http://tinyca.sm-zone.net/
 Source0:        %{name}-%{version}.tar.bz2
 Patch0:         0001-fix-combobox-strings-for-extended-key-usage.diff
 Patch1:         0002-add-support-for-Microsoft-extendedKeyUsage-attributes.diff
 Patch2:         0001-fix-paranthesis-use.diff
 Patch3:         0002-fix-deprecation-warning.diff
 Patch4:         0003-fix-compatibility-with-openssl-1.0.1.diff
-Summary:        A Graphical Tool for Managing a Certification Authority
-License:        GPL-2.0+
-Group:          Productivity/Networking/Security
+Patch5:         0004-fix-perl-deprecation-defined.diff
+BuildRequires:  update-desktop-files
+Requires:       perl
+Requires:       perl-Gtk2
+Requires:       perl-MIME-Base64
+Provides:       tinyca:%{_bindir}/tinyca
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Provides:       tinyca:/usr/bin/tinyca
 
 %description 
 TinyCA is a graphical tool to manage a small Certification Authority
@@ -57,32 +57,21 @@
 - client certificates for use in web browsers, email clients, IPsec,
 and more.
 
-
-
-Authors:
---------
-    Stephan Martin <s...@sm-zone.net>
-
 %prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
+%autosetup -p1
 
 %build
 # Configure pristine source
 sed -i -e 's:./lib:%{libdir}:g;s:./templates:%{templatesdir}:g' tinyca2
 sed -i -e '/bindtextdomain/d' tinyca2
-make -C po
+make %{?_smp_mflags} -C po
 
 %install
 install -d -m 755 %{buildroot}%{_bindir}
 install -d -m 755 %{buildroot}%{libdir}
 install -d -m 755 %{buildroot}%{libdir}/GUI
 install -d -m 755 %{buildroot}%{templatesdir}
-install -d -m 755 %{buildroot}/usr/share/applications
+install -d -m 755 %{buildroot}%{_datadir}/applications
 install -m 644 lib/*.pm %{buildroot}%{libdir}
 install -m 644 lib/GUI/*.pm %{buildroot}%{libdir}/GUI
 install -m 644 templates/openssl.cnf %{buildroot}%{templatesdir}
@@ -93,7 +82,7 @@
        install -m 644 $i/LC_MESSAGES/tinyca2.mo 
%{buildroot}%{localedir}/$i/LC_MESSAGES/
 done
 popd
-cat > %buildroot/usr/share/applications/tinyca2.desktop <<EOF
+cat > %{buildroot}%{_datadir}/applications/tinyca2.desktop <<EOF
 [Desktop Entry]
 Encoding=UTF-8
 Type=Application
@@ -104,11 +93,7 @@
 %suse_update_desktop_file tinyca2 Security Utility
 %find_lang %{name}
 
-%clean
-rm -rf %{buildroot}
-
 %files -f %{name}.lang
-%defattr(-,root,root)
 %doc CHANGES
 %dir %{_datadir}/TinyCA2
 %dir %{_datadir}/TinyCA2/lib

++++++ 0004-fix-perl-deprecation-defined.diff ++++++
diff -uNr tinyca2-0.7.5/lib/GUI.pm new_tinyca2-0.7.5/lib/GUI.pm
--- tinyca2-0.7.5/lib/GUI.pm    2018-09-27 16:30:17.177356172 +0200
+++ new_tinyca2-0.7.5/lib/GUI.pm        2018-09-27 16:27:03.351066267 +0200
@@ -1249,7 +1249,7 @@
    # table for request data
    my $cc=0;
    my $ous = 1;
-   if(defined($opts->{'OU'}) and defined @{$opts->{'OU'}}) {
+   if(defined($opts->{'OU'}) and (@{$opts->{'OU'}})) {
       $ous = @{$opts->{'OU'}} - 1;
    }
    $reqtable = Gtk2::Table->new(1, 13 + $ous, 0);
@@ -1297,7 +1297,7 @@
          _("Organization Name (eg. company):"),
          \$opts->{'O'}, $reqtable, 10, 1);
 
-   if(defined($opts->{'OU'}) and defined @{$opts->{'OU'}}) {
+   if(defined($opts->{'OU'}) and (@{$opts->{'OU'}})) {
       foreach my $ou (@{$opts->{'OU'}}) {
          $entry = GUI::HELPERS::entry_to_table(
                _("Organizational Unit Name (eg. section):"),

Reply via email to