Hello community,

here is the log from the commit of package gnome-sharp2 for openSUSE:Factory 
checked in at 2017-05-16 14:45:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-sharp2 (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-sharp2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-sharp2"

Tue May 16 14:45:02 2017 rev:27 rq:494742 version:2.24.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-sharp2/gnome-sharp2.changes        
2012-02-06 16:41:12.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.gnome-sharp2.new/gnome-sharp2.changes   
2017-05-16 14:46:06.823048444 +0200
@@ -1,0 +2,6 @@
+Tue May 2 00:00:00 UTC 2017 - [email protected]
+
+- Added fix-sample-mono-path.patch: fix incorrect MONO_PATH env when building 
samples in order to fix build for upcoming Mono 5.0
+- Added "post" and "postun" sections for gnome-sharp2 package with calls to 
ldconfig in order to fix build "library-without-ldconfig-postun" OBS error
+
+-------------------------------------------------------------------
@@ -95 +100,0 @@
-

New:
----
  fix-sample-mono-path.patch

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

Other differences:
------------------
++++++ gnome-sharp2.spec ++++++
--- /var/tmp/diff_new_pack.81Rdbh/_old  2017-05-16 14:46:07.558945041 +0200
+++ /var/tmp/diff_new_pack.81Rdbh/_new  2017-05-16 14:46:07.562944479 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gnome-sharp2
 #
-# Copyright (c) 2012 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
@@ -26,6 +26,10 @@
 Group:          System/GUI/GNOME
 Url:            http://www.mono-project.com/GtkSharp
 Source:         
http://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.24/%{_name}-%{version}.tar.bz2
+Patch0:         fix-sample-mono-path.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
 BuildRequires:  pkgconfig(gapi-2.0)
 BuildRequires:  pkgconfig(glade-sharp-2.0)
 BuildRequires:  pkgconfig(gmodule-2.0)
@@ -86,8 +90,10 @@
 
 %prep
 %setup -q -n %{_name}-%{version}
+%patch0 -p1
 
 %build
+autoreconf -fiv
 export CFLAGS="%{optflags} -fno-strict-aliasing"
 %configure \
     --libexecdir=%{_prefix}/lib \
@@ -102,6 +108,10 @@
 %clean
 rm -rf %{buildroot}
 
+%post -n gnome-sharp2 -p /sbin/ldconfig
+
+%postun -n gnome-sharp2 -p /sbin/ldconfig
+
 %files -n gnome-sharp2-complete
 %defattr(-, root, root)
 %dir %{_prefix}/lib/gtk-sharp-2.0

++++++ fix-sample-mono-path.patch ++++++
diff -uprN gnome-sharp-2.24.2.old/sample/gconf/Makefile.am 
gnome-sharp-2.24.2/sample/gconf/Makefile.am
--- gnome-sharp-2.24.2.old/sample/gconf/Makefile.am     2010-10-09 
22:01:29.000000000 +0400
+++ gnome-sharp-2.24.2/sample/gconf/Makefile.am 2017-05-03 18:37:33.003801885 
+0300
@@ -22,7 +22,7 @@ sample.exe: $(SCHEMA) $(srcdir)/sample.g
        $(CSC) /out:sample.exe $(FILES) $(REFERENCES) $(RESOURCES)
 
 Settings.cs: $(SCHEMA)
-       MONO_PATH=$(top_builddir)/gconf/GConf/gconf-sharp.dll:${MONO_PATH} 
$(RUNTIME) $(GCONFDIR)/tools/gconfsharp-schemagen.exe Sample $(SCHEMA) > 
Settings.cs
+       MONO_PATH=$(top_builddir)/gconf/GConf:${MONO_PATH} $(RUNTIME) 
$(GCONFDIR)/tools/gconfsharp-schemagen.exe Sample $(SCHEMA) > Settings.cs
 
 CLEANFILES = sample.exe Settings.cs
 

Reply via email to