Hello community,

here is the log from the commit of package ghc-protobuf-simple for 
openSUSE:Factory checked in at 2017-04-07 13:55:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-protobuf-simple (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-protobuf-simple.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-protobuf-simple"

Fri Apr  7 13:55:14 2017 rev:2 rq:483133 version:0.1.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-protobuf-simple/ghc-protobuf-simple.changes  
2017-03-28 15:19:55.233125002 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-protobuf-simple.new/ghc-protobuf-simple.changes 
    2017-04-07 13:55:19.898316354 +0200
@@ -1,0 +2,5 @@
+Sat Oct  1 17:18:13 UTC 2016 - [email protected]
+
+- Update to version 0.1.0.2 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  protobuf-simple-0.1.0.1.tar.gz

New:
----
  protobuf-simple-0.1.0.2.tar.gz

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

Other differences:
------------------
++++++ ghc-protobuf-simple.spec ++++++
--- /var/tmp/diff_new_pack.emniot/_old  2017-04-07 13:55:20.834184154 +0200
+++ /var/tmp/diff_new_pack.emniot/_new  2017-04-07 13:55:20.838183590 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-protobuf-simple
 #
-# Copyright (c) 2016 SUSE LINUX 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
@@ -19,7 +19,7 @@
 %global pkg_name protobuf-simple
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.1.0.1
+Version:        0.1.0.2
 Release:        0
 Summary:        Simple Protocol Buffers library (proto2)
 License:        MIT

++++++ protobuf-simple-0.1.0.1.tar.gz -> protobuf-simple-0.1.0.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-simple-0.1.0.1/README.md 
new/protobuf-simple-0.1.0.2/README.md
--- old/protobuf-simple-0.1.0.1/README.md       2016-05-04 22:44:30.000000000 
+0200
+++ new/protobuf-simple-0.1.0.2/README.md       2016-05-05 20:09:13.000000000 
+0200
@@ -65,7 +65,7 @@
 protobuf-net (C#).
 
 
-## Other implementations
+## Other Implementations
 
 There are currently multiple Protocol Buffers implementations available. This
 library was created for the following reasons. Firstly, I wanted to use
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-simple-0.1.0.1/protobuf-simple.cabal 
new/protobuf-simple-0.1.0.2/protobuf-simple.cabal
--- old/protobuf-simple-0.1.0.1/protobuf-simple.cabal   2016-05-05 
19:47:04.000000000 +0200
+++ new/protobuf-simple-0.1.0.2/protobuf-simple.cabal   2016-09-26 
10:41:50.000000000 +0200
@@ -3,7 +3,7 @@
 
 name:                protobuf-simple
 synopsis:            Simple Protocol Buffers library (proto2)
-version:             0.1.0.1
+version:             0.1.0.2
 homepage:            https://github.com/sru-systems/protobuf-simple
 license:             MIT
 license-file:        LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-simple-0.1.0.1/src/Parser/Generator.hs 
new/protobuf-simple-0.1.0.2/src/Parser/Generator.hs
--- old/protobuf-simple-0.1.0.1/src/Parser/Generator.hs 2016-05-05 
17:33:47.000000000 +0200
+++ new/protobuf-simple-0.1.0.2/src/Parser/Generator.hs 2016-09-26 
10:26:10.000000000 +0200
@@ -133,14 +133,9 @@
 
 
 getFullEnumName :: FileDesc -> EnumDesc -> String
-getFullEnumName fd ed = case FileDesc.getPackage fd of
-    Just val -> val ++ "." ++ name
-    Nothing  -> name
-  where name = EnumDesc.getName ed
+getFullEnumName fd ed = (getNamespace fd) ++ "." ++ (EnumDesc.getName ed)
 
 
 getFullMessageName :: FileDesc -> MessageDesc -> String
-getFullMessageName fd md = case FileDesc.getPackage fd of
-    Just val -> val ++ "." ++ name
-    Nothing  -> name
-  where name = MessageDesc.getName md
+getFullMessageName fd md = (getNamespace fd) ++ "." ++ (MessageDesc.getName md)
+


Reply via email to