Hello community,

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

Package is "flickrnet"

Tue May 16 14:45:06 2017 rev:15 rq:494744 version:3.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/flickrnet/flickrnet.changes      2012-10-03 
07:12:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.flickrnet.new/flickrnet.changes 2017-05-16 
14:46:10.034597183 +0200
@@ -1,0 +2,7 @@
+Tue May 2 00:00:00 UTC 2017 - [email protected]
+
+- Change pkgconfig-file generation logic - protect it from being broken by OBS 
source_validators
+- Add verification for assembly signature presence, and manually sign it 
before adding assembly to GAC, this should fix build with Mono 5.0.
+- Alter %setup macro to create toplevel directory
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ flickrnet.spec ++++++
--- /var/tmp/diff_new_pack.7bT26A/_old  2017-05-16 14:46:10.882478047 +0200
+++ /var/tmp/diff_new_pack.7bT26A/_new  2017-05-16 14:46:10.886477485 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package flickrnet
 #
-# 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
@@ -44,24 +44,29 @@
 The %{name}-devel package contains development files for %{name}.
 
 %prep
-%setup -n FlickrNet -q
+%setup -q -c -n FlickrNet
 
 %build
+pushd FlickrNet
 xbuild FlickrNet.csproj
-cat << EOF > flickrnet.pc
-prefix=%{_prefix}
-assemblies_dir=\${prefix}/lib/mono/flickrnet
-Libraries=\${assemblies_dir}/FlickrNet.dll
-Name: FlickrNet
-Description: Flickr.Net API Library
-Version: %{version}
-Libs: -r:\${assemblies_dir}/FlickrNet.dll
-EOF
+echo "prefix=%{_prefix}" > flickrnet.pc
+echo "assemblies_dir=\${prefix}/lib/mono/flickrnet" >> flickrnet.pc
+echo "Libraries=\${assemblies_dir}/FlickrNet.dll" >> flickrnet.pc
+echo "Name: FlickrNet" >> flickrnet.pc
+echo "Description: Flickr.Net API Library" >> flickrnet.pc
+echo "Version: %{version}" >> flickrnet.pc
+echo "Libs: -r:\${assemblies_dir}/FlickrNet.dll" >> flickrnet.pc
+popd
 
 %install
+pushd FlickrNet
+sn -v bin/Debug/FlickrNet.dll || if [[ $? = 1 ]]; then
+  sn -R bin/Debug/FlickrNet.dll FlickrNet.snk
+fi
 gacutil -i bin/Debug/FlickrNet.dll -package flickrnet -root 
%{buildroot}%{_prefix}/lib
 mkdir -p %{buildroot}%{_datadir}/pkgconfig
 cp flickrnet.pc %{buildroot}%{_datadir}/pkgconfig/
+popd
 
 %files
 %defattr(-,root,root)



Reply via email to