Hello community,

here is the log from the commit of package golang-packaging for 
openSUSE:Factory checked in at 2016-01-26 10:15:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-packaging (Old)
 and      /work/SRC/openSUSE:Factory/.golang-packaging.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "golang-packaging"

Changes:
--------
--- /work/SRC/openSUSE:Factory/golang-packaging/golang-packaging.changes        
2016-01-20 09:55:17.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.golang-packaging.new/golang-packaging.changes   
2016-01-26 10:15:01.000000000 +0100
@@ -1,0 +2,12 @@
+Fri Jan 22 16:15:14 UTC 2016 - [email protected]
+
+- update version 14.5
+  * fix a typo that prevent golang.req from running (fix #10)
+
+-------------------------------------------------------------------
+Fri Jan 22 07:23:07 UTC 2016 - [email protected]
+
+- update version 14.4
+  * fix #5 on golang.req
+
+-------------------------------------------------------------------

Old:
----
  golang-packaging-14.3.tar.gz

New:
----
  golang-packaging-14.5.tar.gz

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

Other differences:
------------------
++++++ golang-packaging.spec ++++++
--- /var/tmp/diff_new_pack.s0Y2Vi/_old  2016-01-26 10:15:02.000000000 +0100
+++ /var/tmp/diff_new_pack.s0Y2Vi/_new  2016-01-26 10:15:02.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           golang-packaging
-Version:        14.3
+Version:        14.5
 Release:        0
 Summary:        A toolchain to help packaging golang
 License:        GPL-3.0

++++++ golang-packaging-14.3.tar.gz -> golang-packaging-14.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/golang-packaging-14.3/golang.attr 
new/golang-packaging-14.5/golang.attr
--- old/golang-packaging-14.3/golang.attr       2016-01-19 11:33:28.000000000 
+0100
+++ new/golang-packaging-14.5/golang.attr       2016-01-22 17:12:34.000000000 
+0100
@@ -1,3 +1,3 @@
-%__golang_requires  %{_perfix}/lib/rpm/golang.req
+%__golang_requires  %{_prefix}/lib/rpm/golang.req
 %__golang_provides  %{_prefix}/lib/rpm/golang.prov
 %__golang_path  
^(%{_prefix}/lib(64)?/go/contrib/pkg/linux_(386|amd64|ppc.*|arm.*)/.*\\.a|%{_bindir}/.*)$
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/golang-packaging-14.3/golang.req 
new/golang-packaging-14.5/golang.req
--- old/golang-packaging-14.3/golang.req        2016-01-19 11:33:28.000000000 
+0100
+++ new/golang-packaging-14.5/golang.req        2016-01-22 17:12:34.000000000 
+0100
@@ -2,14 +2,20 @@
 
 require '/usr/lib/rpm/golang/rpmsysinfo.rb'
 include RpmSysinfo
+buildroot = RpmSysinfo.get_buildroot
+contribdir = RpmSysinfo.get_go_contribdir
 importpath = RpmSysinfo.get_go_importpath
 
 # read stdin for filelist rpm feeds us for a (sub) package
 filelist = []
 ARGF.each do |l|
        # if line has "*.a"
-       # buildroot + go_contribdir + golang.org/x/text/collate/colltab.a
-       filelist << l.strip! if ( l.index(/\.a\n$/) && ! 
l.index(/test|example/) )
+       # buildroot + go_contribdir + github.com/stretchr/testify/assert.a
+       if l.index(".a\n")
+               unless l.gsub(buildroot + contribdir + '/' + 
importpath,'').index(/test|example/)
+                       filelist << l.strip!
+               end
+       end
 end
 
 requires = []


Reply via email to