Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ineffassign for openSUSE:Factory 
checked in at 2021-05-19 17:48:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ineffassign (Old)
 and      /work/SRC/openSUSE:Factory/.ineffassign.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ineffassign"

Wed May 19 17:48:42 2021 rev:2 rq:879532 version:0.0.0+git20210225.2e10b26

Changes:
--------
--- /work/SRC/openSUSE:Factory/ineffassign/ineffassign.changes  2019-01-21 
10:51:18.735949510 +0100
+++ /work/SRC/openSUSE:Factory/.ineffassign.new.2988/ineffassign.changes        
2021-05-19 17:48:44.305696093 +0200
@@ -1,0 +2,26 @@
+Tue Mar 16 01:17:11 UTC 2021 - Jeff Kowalczyk <[email protected]>
+
+- Update to version 0.0.0+git20210225.2e10b26:
+  * Don't disregard operations that occur prior to a variable escaping.
+  * Move library code of the analyzer into pkg/ineffassign
+  * Extra "is this file generated" logic into func
+  * Ignore generated files.
+  * Adjust testdata comments to match what analysistest expects.
+  * Fix testdata compilation errors.
+  * Re-add support for -n flag (and run go fmt)
+  * Use analysis.Analyzer to implement ineffassign
+  * Update "Usage" in README
+  * Deprecate "-n" flag
+  * Add support for ... syntax for recursive analysis
+  * Ignore generated files
+  * Add docs on tool install and usage
+  * Terminate a block upon reaching a return statement.
+  * avoid repeating type assertions by switching on `x := x.(type)`
+  * Account for the pathological case where some clown redfined 'false'
+  * Don't treat initialization to 'false' as assignment.
+  * Packaging use go modules and vendor dependencies
+  * Packaging add obs-service-go_modules disabled
+  * Packaging drop BuildRequires: golang-packaging macros no longer used
+  * Packaging add rpmlintrc
+
+-------------------------------------------------------------------

Old:
----
  ineffassign-0.0.0+git20180909.1003c8b.tar.xz

New:
----
  ineffassign-0.0.0+git20210225.2e10b26.tar.gz
  ineffassign-rpmlintrc
  vendor.tar.gz

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

Other differences:
------------------
++++++ ineffassign.spec ++++++
--- /var/tmp/diff_new_pack.yF2f8X/_old  2021-05-19 17:48:44.869693728 +0200
+++ /var/tmp/diff_new_pack.yF2f8X/_new  2021-05-19 17:48:44.873693712 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ineffassign
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,29 +12,22 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%global provider        github
-%global provider_tld    com
-%global project         gordonklaus
-%global repo            ineffassign
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path     %{provider_prefix}
-
-%define commit      7bae11eba15a3285c75e388f77eb6357a2d73ee2
+%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
 
 Name:           ineffassign
-Version:        0.0.0+git20180909.1003c8b
+Version:        0.0.0+git20210225.2e10b26
 Release:        0
 Summary:        Tool to detect ineffectual assignments in Go code
 License:        MIT
-Group:          Development/Languages/Golang
-Url:            https://%{provider_prefix}
-Source:         ineffassign-%{version}.tar.xz
-BuildRequires:  golang-packaging
-%{go_provides}
+URL:            https://github.com/gordonklaus/ineffassign
+Source:         %{name}-%{version}.tar.gz
+Source1:        vendor.tar.gz
+Source99:       %{name}-rpmlintrc
+BuildRequires:  golang(API) >= 1.14
 
 %description
 This tool misses some cases because does not consider any type information in
@@ -42,18 +35,25 @@
 ineffectual.) It should, however, never give any false positives.
 
 %prep
-%setup -q -n %{repo}-%{version}
+%setup -q
+%setup -q -T -D -a 1
 
 %build
-%goprep %{provider_prefix}
-%gobuild ...
+go build \
+   -buildmode=pie ;
 
 %install
-%goinstall
+# Install the binary.
+install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}"
 
 %files
-%license LICENSE
+%defattr(-,root,root)
 %doc README.md
+%if 0%{?suse_version} < 1500
+%doc LICENSE
+%else
+%license LICENSE
+%endif
 %{_bindir}/%{name}
 
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.yF2f8X/_old  2021-05-19 17:48:44.901693594 +0200
+++ /var/tmp/diff_new_pack.yF2f8X/_new  2021-05-19 17:48:44.905693577 +0200
@@ -9,9 +9,11 @@
   </service>
   <service name="recompress" mode="disabled">
     <param name="file">ineffassign-*.tar</param>
-    <param name="compression">xz</param>
+    <param name="compression">gz</param>
   </service>
   <service name="set_version" mode="disabled">
     <param name="basename">ineffassign</param>
   </service>
+  <service name="go_modules" mode="disabled">
+  </service>
 </services>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.yF2f8X/_old  2021-05-19 17:48:44.921693511 +0200
+++ /var/tmp/diff_new_pack.yF2f8X/_new  2021-05-19 17:48:44.921693511 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/gordonklaus/ineffassign</param>
-              <param 
name="changesrevision">1003c8bd00dc2869cb5ca5282e6ce33834fed514</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">2e10b26642541670df2672e035b2de19fcb04cab</param></service></servicedata>
\ No newline at end of file

++++++ ineffassign-rpmlintrc ++++++
# Go binaries are not currently understood by GNU strip
addFilter("unstripped-binary-or-object")

# Go binaries are statically linked
addFilter("statically-linked-binary")

# Go binaries are ELF objects but do not have DT_NEEDED entries
addFilter("shared-lib-without-dependency-information")

Reply via email to