Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package hyfetch for openSUSE:Factory checked 
in at 2025-09-12 21:09:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hyfetch (Old)
 and      /work/SRC/openSUSE:Factory/.hyfetch.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hyfetch"

Fri Sep 12 21:09:49 2025 rev:6 rq:1304123 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/hyfetch/hyfetch.changes  2024-11-08 
12:05:41.553276188 +0100
+++ /work/SRC/openSUSE:Factory/.hyfetch.new.1977/hyfetch.changes        
2025-09-12 21:10:05.176634385 +0200
@@ -1,0 +2,23 @@
+Wed Sep 10 11:10:34 UTC 2025 - Ana Guerrero <[email protected]>
+
+- Replace obsolete python modules.
+
+-------------------------------------------------------------------
+Tue Sep 09 19:00:58 UTC 2025 - [email protected]
+
+- Update to version 2.0.2:
+  * [U] Release 2.0.2 (Rust rewrite)
+  * [O] Better warning message (#419)
+  * [+] Adipophilia flag (#424)
+  * [+] Nullflux flag (#397)
+  * [F] Hypergender flags Fixes (#422)
+  * [M] Move flag order
+  * [+] Fictosexual flag (#394)
+  * Remove 362.patch due to being merged upstream
+
+-------------------------------------------------------------------
+Fri Jun  6 11:12:59 UTC 2025 - Max Lin <[email protected]>
+
+- Fix Leap 16.0 build
+
+-------------------------------------------------------------------
@@ -74,0 +98 @@
+

Old:
----
  362.patch
  HyFetch-1.99.0.tar.gz

New:
----
  _service
  hyfetch-2.0.2.tar.gz
  vendor.tar.xz

----------(Old B)----------
  Old:  * [+] Fictosexual flag (#394)
  * Remove 362.patch due to being merged upstream
----------(Old E)----------

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

Other differences:
------------------
++++++ hyfetch.spec ++++++
--- /var/tmp/diff_new_pack.5yoycV/_old  2025-09-12 21:10:06.164676047 +0200
+++ /var/tmp/diff_new_pack.5yoycV/_new  2025-09-12 21:10:06.164676047 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hyfetch
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,30 +16,29 @@
 #
 
 
-%define skip_python2 1
+%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
 Name:           hyfetch
-Version:        1.99.0
+Version:        2.0.2
 Release:        0
 Summary:        Customizable Linux System Information Script
 License:        MIT
 Group:          Productivity/Text/Utilities
 URL:            https://github.com/hykilpikonna/HyFetch
-Source:         
https://files.pythonhosted.org/packages/source/H/HyFetch/HyFetch-%{version}.tar.gz
+Source0:        %{name}-%{version}.tar.gz
+Source1:        vendor.tar.xz
 # PATCH-FIX-SUSE Fix E: env-script-interpreter
 Patch0:         fix-shebang.patch
-# PATCH-FIX-UPSTREAM
-Patch1:         
https://patch-diff.githubusercontent.com/raw/hykilpikonna/hyfetch/pull/362.patch
-BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module wheel}
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
+BuildRequires:  cargo
+BuildRequires:  cargo-packaging
 Recommends:     maim
 Recommends:     w3m-inline-image
-BuildArch:      noarch
-%python_subpackages
+# Replaces Python packages that used to provide /usr/bin/hyfetch
+Obsoletes:      python311-hyfetch  < %{version}
+Obsoletes:      python312-hyfetch  < %{version}
+Obsoletes:      python313-hyfetch  < %{version}
+Conflicts:      python311-hyfetch
+Conflicts:      python312-hyfetch
+Conflicts:      python313-hyfetch
 
 %description
 HyFetch is a command line script to display information about your
@@ -49,7 +48,7 @@
 
 %package -n neowofetch
 # version as reported by neowofetch --version
-Version:        7.98.0
+Version:        8.0.2
 Summary:        CLI system information tool written in BASH
 Provides:       neofetch = %{version}
 Obsoletes:      neofetch < %{version}
@@ -67,38 +66,26 @@
 This is the forked version that is maintained together with hyfetch
 
 %prep
-%autosetup -p1 -n HyFetch-%{VERSION}
-# copy the patched neofetch to scripts/ - in git, this is a symlink, but the 
tarball has it as a regular file
-cp neofetch hyfetch/scripts/neowofetch
+%autosetup -a1 -p1
 
 %build
-sed -i 's/packages=find_namespace_packages(exclude=("tools", 
"tools.*")),/packages=find_namespace_packages(exclude=("tools", "tools.*", 
"docs")),/' setup.py
-%pyproject_wheel
+%{cargo_build}
 
 %install
-%pyproject_install
-%python_clone -a %{buildroot}/%{_bindir}/hyfetch
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%{cargo_install -p crates/hyfetch}
+install -m 0755 %{_builddir}/%{name}-%{VERSION}/neofetch 
%{buildroot}%{_bindir}/neowofetch
 ln -s %{_bindir}/neowofetch %{buildroot}%{_bindir}/neofetch
 
-%post
-%{python_install_alternative hyfetch}
-
-%postun
-%python_uninstall_alternative hyfetch
-
 %check
 [ "$(%{buildroot}%{_bindir}/neofetch --version)" == "Neofetch %{version}" ] || 
(
     echo "Neofetch version does not match the RPM version - please update"
     exit 1
 )
 
-%files %{python_files}
+%files
+%{_bindir}/%{name}
 %doc README.md
 %license LICENSE.md
-%python_alternative %{_bindir}/hyfetch
-%{python_sitelib}/hyfetch
-%{python_sitelib}/HyFetch-%{VERSION}.dist-info
 
 %files -n neowofetch
 %{_bindir}/neofetch

++++++ _service ++++++
<services>
  <service mode="manual" name="obs_scm">
    <param name="url">https://github.com/hykilpikonna/hyfetch</param>
    <param name="versionformat">@PARENT_TAG@</param>
    <param name="scm">git</param>
    <param name="revision">2.0.2</param>
    <param name="match-tag">*</param>
    <param name="changesgenerate">enable</param>
    <param name="changesauthor">[email protected]</param>
  </service>
  <service mode="manual" name="tar"/>
  <service mode="manual" name="recompress">
    <param name="file">*.tar</param>
    <param name="compression">gz</param>
  </service>
  <service mode="manual" name="set_version"/>
  <service name="cargo_vendor" mode="manual">
     <param name="src">hyfetch</param>
     <param name="compression">xz</param>
     <param name="update">true</param>
  </service>
</services>

++++++ fix-shebang.patch ++++++
--- /var/tmp/diff_new_pack.5yoycV/_old  2025-09-12 21:10:06.204677735 +0200
+++ /var/tmp/diff_new_pack.5yoycV/_new  2025-09-12 21:10:06.208677903 +0200
@@ -1,5 +1,5 @@
---- a/hyfetch/scripts/neowofetch
-+++ b/hyfetch/scripts/neowofetch
+--- a/neofetch
++++ b/neofetch
 @@ -1,4 +1,4 @@
 -#!/usr/bin/env bash
 +#!/bin/bash
@@ -7,20 +7,4 @@
  # shellcheck source=/dev/null
  # shellcheck disable=2009 disable=2153 disable=2154 disable=2243 disable=2244 
disable=2317
 
---- a/hyfetch/scripts/install-autocomplete.sh
-+++ a/hyfetch/scripts/install-autocomplete.sh
-@@ -1,4 +1,4 @@
--#!/usr/bin/env bash
-+#!/bin/bash
- 
- # Usage: ./install-autocomplete.sh [Uninstall]
- if [[ "$1" == "uninstall" ]]; then
-
---- a/hyfetch/main.py
-+++ b/hyfetch/main.py
-@@ -1,4 +1,3 @@
--#!/usr/bin/env python3
- from __future__ import annotations
- 
- import argparse
 

Reply via email to