Hello community,
here is the log from the commit of package gnome-keyring-sharp for
openSUSE:Factory checked in at 2017-05-16 14:45:04
Comparing /work/SRC/openSUSE:Factory/gnome-keyring-sharp (Old)
and /work/SRC/openSUSE:Factory/.gnome-keyring-sharp.new (New)
Package is "gnome-keyring-sharp"
Tue May 16 14:45:04 2017 rev:16 rq:494743 version:1.0.2
Changes:
--- /work/SRC/openSUSE:Factory/gnome-keyring-sharp/gnome-keyring-sharp.changes
2011-10-21 16:29:31.0 +0200
+++
/work/SRC/openSUSE:Factory/.gnome-keyring-sharp.new/gnome-keyring-sharp.changes
2017-05-16 14:46:08.050875919 +0200
@@ -1,0 +2,6 @@
+Tue May 2 00:00:00 UTC 2017 - fwdsbs.to.1...@xoxy.net
+
+- Added add-delay-sign-attribute.patch: do not perform full sign of
Gnome.Keyring assembly, use delay-sign. This should fix build for Mono 5.0
+- Added sign-delay-signed-assembly.patch: sign delay-signed Gnome.Keyring
assembly manually before installing it to GAC
+
+---
@@ -44 +49,0 @@
-
New:
add-delay-sign-attribute.patch
sign-delay-signed-assembly.patch
Other differences:
--
++ gnome-keyring-sharp.spec ++
--- /var/tmp/diff_new_pack.L3oICj/_old 2017-05-16 14:46:09.774633710 +0200
+++ /var/tmp/diff_new_pack.L3oICj/_new 2017-05-16 14:46:09.774633710 +0200
@@ -1,7 +1,7 @@
#
# spec file for package gnome-keyring-sharp
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -15,23 +15,24 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
Name: gnome-keyring-sharp
-Group: Development/Libraries/Other
Summary:Managed Implementation of libgnome-keyring
-Version:1.0.2
-Release:1
License:MIT
+Group: Development/Libraries/Other
+Version:1.0.2
+Release:0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: glib-sharp2 gnome-keyring-devel >= 2.30 mono-devel
+BuildRequires: glib-sharp2
+BuildRequires: gnome-keyring-devel >= 2.30
BuildRequires: libtool
+BuildRequires: mono-devel
Requires: gnome-keyring >= 2.30
Source: %{name}-%{version}.tar.bz2
Source99: %{name}-rpmlintrc
Patch0: pkgconfigdir.patch
-AutoReqProv:on
+Patch1: add-delay-sign-attribute.patch
+Patch2: sign-delay-signed-assembly.patch
%description
When the gnome-keyring-daemon is running, you can use this to
@@ -41,11 +42,9 @@
%package devel
-License:MIT
Requires: %{name} = %{version} pkg-config
Summary:Managed implementation of libgnome-keyring
Group: Development/Libraries/Other
-AutoReqProv:on
%description devel
When the gnome-keyring-daemon is running, you can use this to retrieve
@@ -57,6 +56,8 @@
%prep
%setup
%patch0
+%patch1 -p1
+%patch2 -p1
%build
autoreconf -f -i
@@ -66,6 +67,8 @@
%install
make install DESTDIR="$RPM_BUILD_ROOT"
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
+# mono 5.0 may create this stuff, we do not package it for now
+rm -rf %{buildroot}%{_prefix}/%{_lib}/monodoc
%clean
rm -rf "$RPM_BUILD_ROOT"
++ add-delay-sign-attribute.patch ++
diff -uprN gnome-keyring-sharp-1.0.2.old/src/Gnome.Keyring/AssemblyInfo.cs.in
gnome-keyring-sharp-1.0.2/src/Gnome.Keyring/AssemblyInfo.cs.in
--- gnome-keyring-sharp-1.0.2.old/src/Gnome.Keyring/AssemblyInfo.cs.in
2010-07-01 03:06:58.0 +0400
+++ gnome-keyring-sharp-1.0.2/src/Gnome.Keyring/AssemblyInfo.cs.in
2017-05-03 19:38:50.255801885 +0300
@@ -36,4 +36,4 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyCopyright ("(c) 2006 Novell, Inc.")]
[assembly: AssemblyCompany ("Novell, Inc.")]
[assembly: AssemblyKeyFile ("Gnome.Keyring.snk")]
-
+[assembly: AssemblyDelaySignAttribute(true)]
++ sign-delay-signed-assembly.patch ++
diff -uprN gnome-keyring-sharp-1.0.2.old/src/Makefile.am
gnome-keyring-sharp-1.0.2/src/Makefile.am
--- gnome-keyring-sharp-1.0.2.old/src/Makefile.am 2010-07-01
03:06:58.0 +0400
+++ gnome-keyring-sharp-1.0.2/src/Makefile.am 2017-05-03 19:44:22.935801885
+0300
@@ -40,6 +40,9 @@ $(SNK): $(top_srcdir)/$(SNK)
### GAC install rules ###
install-data-local:
+ sn -v '$(ASSEMBLY)' || if [[ $$? = 1 ]]; then \
+ sn -R '$(ASSEMBLY)' Gnome.Keyring.snk; \
+ fi
echo "$(GACUTIL) /i $(ASSEMBLY) $(GACUTIL_FLAGS)"; \
$(GACUTIL) /i $(ASSEMBLY) /package $(PACKAGE)-$(API_VERSION)
$(GACUTIL_FLAGS) ||