Hello community,

here is the log from the commit of package pesign-obs-integration for 
openSUSE:Factory checked in at 2019-04-18 13:55:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pesign-obs-integration (Old)
 and      /work/SRC/openSUSE:Factory/.pesign-obs-integration.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pesign-obs-integration"

Thu Apr 18 13:55:05 2019 rev:31 rq:694663 version:10.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/pesign-obs-integration/pesign-obs-integration.changes
    2019-03-01 20:25:40.294065316 +0100
+++ 
/work/SRC/openSUSE:Factory/.pesign-obs-integration.new.5536/pesign-obs-integration.changes
  2019-04-18 13:55:10.443930934 +0200
@@ -1,0 +2,13 @@
+Tue Apr 16 03:53:05 UTC 2019 - Gary Ching-Pang Lin <[email protected]>
+
+- Drop 0002-Enable-find_provides-and-requires.patch due to the
+  build failure of virtualbox-guest-x11
+
+-------------------------------------------------------------------
+Thu Apr 11 03:45:03 UTC 2019 - Gary Ching-Pang Lin <[email protected]>
+
+- rpm: forward the missing rpm bits (bsc#1114605)
+  + 0001-Passthrough-license-tag.patch
+  + 0002-Enable-find_provides-and-requires.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Passthrough-license-tag.patch

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

Other differences:
------------------
++++++ pesign-obs-integration.spec ++++++
--- /var/tmp/diff_new_pack.WYY2pZ/_old  2019-04-18 13:55:11.475931269 +0200
+++ /var/tmp/diff_new_pack.WYY2pZ/_new  2019-04-18 13:55:11.483931271 +0200
@@ -32,6 +32,7 @@
 BuildRequires:  openssl
 Url:            http://en.opensuse.org/openSUSE:UEFI_Image_File_Sign_Tools
 Source:         %{name}_%{version}.tar.gz
+Patch1:         0001-Passthrough-license-tag.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # suse-module-tools <= 15.0.10 contains modsign-verify
 Requires:       suse-module-tools >= 15.0.10
@@ -42,6 +43,7 @@
 
 %prep
 %setup -D -n %{name}
+%patch1 -p1
 
 %build
 

++++++ 0001-Passthrough-license-tag.patch ++++++
>From 2bd2e52380ba9c568ceba2d8d92b9cd50a22c881 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <[email protected]>
Date: Tue, 2 Apr 2019 17:02:13 +0200
Subject: [PATCH 1/2] Passthrough %license tag

matters for fwupd package file /usr/share/licenses/fwupd/COPYING

and added 3 more bits from rpm/lib/rpmfiles.h
---
 pesign-gen-repackage-spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/pesign-gen-repackage-spec b/pesign-gen-repackage-spec
index 1856d9d..9cd374a 100755
--- a/pesign-gen-repackage-spec
+++ b/pesign-gen-repackage-spec
@@ -345,6 +345,10 @@ my %filetypes = (
        missingok => (1 << 3),
        noreplace => (1 << 4),
        ghost     => (1 << 6),
+       license   => (1 << 7),
+       readme    => (1 << 8),
+       pubkey    => (1 << 11),
+       artifact  => (1 << 12),
 );
 
 my %verifyflags = (
@@ -381,7 +385,9 @@ sub print_files {
                        }
                        $attrs .= "(" . join(",", @cfg_attrs) . ")" if 
@cfg_attrs;
                }
-               $attrs .= "%doc " if $f->{flags} & $filetypes{doc};
+               for my $filetype (qw(doc license readme pubkey artifact)) {
+                       $attrs .= "%$filetype " if $f->{flags} & 
$filetypes{$filetype};
+               }
                if ($f->{flags} & $filetypes{ghost}) {
                        $attrs .= "%ghost ";
                        if (S_ISREG($f->{mode})) {
-- 
2.21.0


Reply via email to