Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nova for openSUSE:Factory checked in 
at 2023-04-05 21:27:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nova (Old)
 and      /work/SRC/openSUSE:Factory/.nova.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nova"

Wed Apr  5 21:27:35 2023 rev:16 rq:1077418 version:3.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/nova/nova.changes        2023-02-12 
19:14:38.477158334 +0100
+++ /work/SRC/openSUSE:Factory/.nova.new.19717/nova.changes     2023-04-05 
21:35:25.622490376 +0200
@@ -1,0 +2,13 @@
+Wed Apr 05 04:39:53 UTC 2023 - ka...@b1-systems.de
+
+- Update to version 3.6.2:
+  * update alpine and go mod (#210)
+  * Update documentation from template (#209)
+  * Update documentation from template (#202)
+- add shell completion subpackages
+- fix broken version display
+- BuildRequire go1.19
+- revert change to _service file, as releases are made without the
+  leading "v" again...
+
+-------------------------------------------------------------------

Old:
----
  nova-3.6.2.tar.gz

New:
----
  nova-3.6.2.obscpio
  nova.obsinfo

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

Other differences:
------------------
++++++ nova.spec ++++++
--- /var/tmp/diff_new_pack.rCyJtI/_old  2023-04-05 21:35:26.370494646 +0200
+++ /var/tmp/diff_new_pack.rCyJtI/_new  2023-04-05 21:35:26.378494691 +0200
@@ -26,7 +26,7 @@
 URL:            https://github.com/FairwindsOps/nova
 Source:         nova-%{version}.tar.gz
 Source1:        vendor.tar.gz
-BuildRequires:  go >= 1.17
+BuildRequires:  go >= 1.19
 
 # found conflict of nova-3.4.0-1.1.x86_64 with 
python3-novaclient-17.6.0-1.2.noarch
 #   /usr/bin/nova
@@ -35,6 +35,37 @@
 %description
 Nova scans your cluster for installed Helm charts, then cross-checks them 
against all known Helm repositories. If it finds an updated version of the 
chart you're using, or notices your current version is deprecated, it will let 
you know.
 
+%package -n %{name}-bash-completion
+Summary:        Bash Completion for %{name}
+Group:          System/Shells
+Requires:       %{name} = %{version}
+Requires:       bash-completion
+Supplements:    (%{name} and bash-completion)
+BuildArch:      noarch
+
+%description -n %{name}-bash-completion
+Bash command line completion support for %{name}.
+
+%package -n %{name}-fish-completion
+Summary:        Fish Completion for %{name}
+Group:          System/Shells
+Requires:       %{name} = %{version}
+Supplements:    (%{name} and fish)
+BuildArch:      noarch
+
+%description -n %{name}-fish-completion
+Fish command line completion support for %{name}.
+
+%package -n %{name}-zsh-completion
+Summary:        Zsh Completion for %{name}
+Group:          System/Shells
+Requires:       %{name} = %{version}
+Supplements:    (%{name} and zsh)
+BuildArch:      noarch
+
+%description -n %{name}-zsh-completion
+zsh command line completion support for %{name}.
+
 %prep
 %setup -q
 %setup -q -T -D -a 1
@@ -42,15 +73,42 @@
 %build
 go build \
    -mod=vendor \
-   -ldflags="-X main.Version=%{version}"
+   -buildmode=pie \
+   -ldflags="-X main.version=%{version} -X main.commit=v%{version}"
 
 %install
 # Install the binary.
 install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}"
 
+# create the bash completion file
+mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions/
+%{buildroot}/%{_bindir}/%{name} completion bash > 
%{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
+
+# create the fish completion file
+mkdir -p %{buildroot}%{_datarootdir}/fish/vendor_completions.d/
+%{buildroot}/%{_bindir}/%{name} completion fish > 
%{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
+
+# create the zsh completion file
+mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d/
+%{buildroot}/%{_bindir}/%{name} completion zsh > 
%{buildroot}%{_datarootdir}/zsh_completion.d/_%{name}
+
 %files
 %doc README.md
 %license LICENSE
 %{_bindir}/%{name}
 
+%files -n %{name}-bash-completion
+%dir %{_datarootdir}/bash-completion/completions/
+%{_datarootdir}/bash-completion/completions/%{name}
+
+%files -n %{name}-fish-completion
+%dir %{_datarootdir}/fish
+%dir %{_datarootdir}/fish/vendor_completions.d
+%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
+
+%files -n %{name}-zsh-completion
+%defattr(-,root,root)
+%dir %{_datarootdir}/zsh_completion.d/
+%{_datarootdir}/zsh_completion.d/_%{name}
+
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.rCyJtI/_old  2023-04-05 21:35:26.422494942 +0200
+++ /var/tmp/diff_new_pack.rCyJtI/_new  2023-04-05 21:35:26.426494965 +0200
@@ -1,22 +1,21 @@
 <services>
-  <service name="tar_scm" mode="disabled">
+  <service name="obs_scm" mode="disabled">
     <param name="url">https://github.com/FairwindsOps/nova</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">v3.6.2</param>
+    <param name="revision">3.6.2</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>
-    <param name="versionrewrite-pattern">v(.*)</param>
   </service>
   <service name="set_version" mode="disabled">
     <param name="basename">nova</param>
   </service>
-  <service name="recompress" mode="disabled">
+  <service name="tar" mode="buildtime"/>
+  <service name="recompress" mode="buildtime">
     <param name="file">*.tar</param>
     <param name="compression">gz</param>
   </service>
   <service name="go_modules" mode="disabled">
-    <param name="archive">nova-3.6.2.tar.gz</param>
   </service>
 </services>
 

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.rCyJtI/_old  2023-04-05 21:35:26.466495193 +0200
+++ /var/tmp/diff_new_pack.rCyJtI/_new  2023-04-05 21:35:26.470495217 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/FairwindsOps/nova</param>
-              <param 
name="changesrevision">a55e37fa76fe9012585dd896a25a1883cf1247c6</param></service></servicedata>
+              <param 
name="changesrevision">5c066ef0faf253efd761fd179db1a8846b1bb736</param></service></servicedata>
 (No newline at EOF)
 

++++++ nova.obsinfo ++++++
name: nova
version: 3.6.2
mtime: 1680619105
commit: 5c066ef0faf253efd761fd179db1a8846b1bb736

++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/nova/vendor.tar.gz 
/work/SRC/openSUSE:Factory/.nova.new.19717/vendor.tar.gz differ: char 5, line 1

Reply via email to