Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package direnv for openSUSE:Factory checked 
in at 2021-12-09 19:45:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/direnv (Old)
 and      /work/SRC/openSUSE:Factory/.direnv.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "direnv"

Thu Dec  9 19:45:55 2021 rev:10 rq:938149 version:2.28.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/direnv/direnv.changes    2020-11-24 
22:15:13.987648658 +0100
+++ /work/SRC/openSUSE:Factory/.direnv.new.2520/direnv.changes  2021-12-09 
19:46:39.625163615 +0100
@@ -1,0 +2,12 @@
+Tue Jun  8 13:31:53 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de>
+
+- Update to version 2.28.0
+  * Update to go 1.16
+  * tcsh: fix variable escaping
+  * docs: improve the documentation
+  * Fixed fish shell hook to work with eval
+  * Fixed layout anaconda <env_name_or_prefix>
+- Build with pie enabled if available
+- Add _service for vendor package
+
+-------------------------------------------------------------------

Old:
----
  direnv-2.24.0.tar.gz

New:
----
  _service
  direnv-2.28.0.tar.gz
  vendor.tar.gz

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

Other differences:
------------------
++++++ direnv.spec ++++++
--- /var/tmp/diff_new_pack.exlB9h/_old  2021-12-09 19:46:40.333163956 +0100
+++ /var/tmp/diff_new_pack.exlB9h/_new  2021-12-09 19:46:40.337163958 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package direnv
 #
-# Copyright (c) 2020 SUSE LLC
+# 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
@@ -18,14 +18,16 @@
 
 %define gopackagepath github.com/direnv/direnv
 Name:           direnv
-Version:        2.24.0
+Version:        2.28.0
 Release:        0
 Summary:        Environment switcher for shells
 License:        MIT
 Group:          Productivity/File utilities
 URL:            http://direnv.net/
-Source:         
https://github.com/direnv/direnv/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-BuildRequires:  go >= 1.5
+Source0:        
https://github.com/direnv/direnv/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source1:        vendor.tar.gz
+BuildRequires:  fish
+BuildRequires:  go >= 1.6
 BuildRequires:  make
 
 %description
@@ -35,18 +37,16 @@
 clutter the "~/.profile" file.
 
 %prep
-%setup -q
-mkdir -p "$HOME/go/src/$(dirname "%{gopackagepath}")"
-cd ..
-ln -sf `pwd`/%{name}-%{version} "$HOME/go/src/%{gopackagepath}"
+%setup -q -a 1
 
 %build
-cd "$HOME/go/src/%{gopackagepath}"
-make %{?_smp_mflags}
+%make_build PREFIX=%{_prefix} \
+%ifnarch ppc64
+  GO_BUILD_FLAGS="-buildmode=pie"
+%endif
 
 %install
-cd "$HOME/go/src/%{gopackagepath}"
-%make_install DESTDIR=%{buildroot}%{_prefix}
+%make_install PREFIX=%{_prefix}
 
 %files
 %{_bindir}/%{name}
@@ -54,5 +54,7 @@
 %{_mandir}/man1/%{name}-stdlib.1%{ext_man}
 %{_mandir}/man1/%{name}.toml.1%{ext_man}
 %{_mandir}/man1/%{name}-fetchurl.1%{ext_man}
+# Fish environment config
+%{_datadir}/fish/vendor_conf.d/direnv.fish
 
 %changelog

++++++ _service ++++++
<services>
        <service name="download_files" mode="disabled" />
        <service name="go_modules" mode="disabled" />
</services>
++++++ direnv-2.24.0.tar.gz -> direnv-2.28.0.tar.gz ++++++
++++ 241350 lines of diff (skipped)

Reply via email to