Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package diff-so-fancy for openSUSE:Factory 
checked in at 2026-04-12 18:47:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/diff-so-fancy (Old)
 and      /work/SRC/openSUSE:Factory/.diff-so-fancy.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "diff-so-fancy"

Sun Apr 12 18:47:52 2026 rev:3 rq:1346197 version:1.4.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/diff-so-fancy/diff-so-fancy.changes      
2023-06-11 19:58:15.796239027 +0200
+++ /work/SRC/openSUSE:Factory/.diff-so-fancy.new.21863/diff-so-fancy.changes   
2026-04-12 18:47:59.203392999 +0200
@@ -1,0 +2,18 @@
+Sun Apr 12 13:37:43 UTC 2026 - Jan-Luca Kiok <[email protected]>
+
+- Update to version 1.4.10
+  * d-s-f is much smarter and --patch mode should work in more
+    (all?) scenarios
+    * Added support for enabling patch mode via DSF_PATCH_MODE
+      environment variable
+  * Added a new CLI option --rulerWidth
+  * Support ANSI reset without the 0. \e[0m vs \e[m
+  * Upstream DiffHighlight.pm fixes. Allow "italic" in colors
+  * Add some debug logging when started with --debug to help
+    troubleshooting
+  * Support git file copies better if diff.renames copies is
+    enabled in .gitconfig
+  * Better support for recursive diff like: diff -u -r /dir/a
+    /dir/b
+
+-------------------------------------------------------------------

Old:
----
  v1.4.4.tar.gz

New:
----
  bats-assert-2.2.0.tar.gz
  bats-core-1.13.0.tar.gz
  bats-support-0.3.0.tar.gz
  diff-so-fancy-1.4.10.tar.gz

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

Other differences:
------------------
++++++ diff-so-fancy.spec ++++++
--- /var/tmp/diff_new_pack.7osqcS/_old  2026-04-12 18:48:00.135430934 +0200
+++ /var/tmp/diff_new_pack.7osqcS/_new  2026-04-12 18:48:00.135430934 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package diff-so-fancy
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 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,28 +16,40 @@
 #
 
 
+%define bats_core_version    1.13.0
+%define bats_support_version 0.3.0
+%define bats_assert_version  2.2.0
+
 Name:           diff-so-fancy
-Version:        1.4.4
+Version:        1.4.10
 Release:        0
 Summary:        Strives to make your diffs human readable
 License:        MIT
 BuildArch:      noarch
 Group:          Productivity/Text/Utilities
 URL:            https://github.com/so-fancy/diff-so-fancy
-Source0:        
https://github.com/so-fancy/diff-so-fancy/archive/v%{version}.tar.gz
+Source0:        
https://github.com/so-fancy/diff-so-fancy/archive/v%{version}.tar.gz#/diff-so-fancy-%{version}.tar.gz
+Source1:        
https://github.com/bats-core/bats-core/archive/refs/tags/v%{bats_core_version}.tar.gz#/bats-core-%{bats_core_version}.tar.gz
+Source2:        
https://github.com/bats-core/bats-support/archive/refs/tags/v%{bats_support_version}.tar.gz#/bats-support-%{bats_support_version}.tar.gz
+Source3:        
https://github.com/bats-core/bats-assert/archive/refs/tags/v%{bats_assert_version}.tar.gz#/bats-assert-%{bats_assert_version}.tar.gz
+BuildRequires:  git-core
 Requires:       perl
 
 %description
 diff-so-fancy strives to make your diffs human readable instead of machine 
readable. This helps improve code quality and helps you spot defects faster.
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q -a 1 -a 2 -a 3 -n %{name}-%{version}
+rm -rf test/bats test/test_helper/bats-support test/test_helper/bats-assert
+mv bats-core-%{bats_core_version} test/bats
+mv bats-support-%{bats_support_version} test/test_helper/bats-support
+mv bats-assert-%{bats_assert_version} test/test_helper/bats-assert
 
 %build
 
 %install
 mkdir -p %{buildroot}%{_datadir}/diff-so-fancy
-mv lib/* third_party %{buildroot}%{_datadir}/diff-so-fancy/
+cp -a lib third_party %{buildroot}%{_datadir}/diff-so-fancy/
 chmod -x %{buildroot}%{_datadir}/diff-so-fancy/third_party/*/*.pl
 sed -i '#!\/usr\/bin/d' 
%{buildroot}%{_datadir}/diff-so-fancy/third_party/*/*.pl
 sed -i '0 , /^$/ d' %{buildroot}%{_datadir}/diff-so-fancy/third_party/*/*.pl
@@ -45,9 +57,13 @@
 sed -i 's|^use lib .*$|use lib "/usr/share/diff-so-fancy";|' diff-so-fancy
 install -Dm 0755 -t %{buildroot}%{_bindir}/ diff-so-fancy
 
+%check
+export PERL5LIB="%{_builddir}/%{name}-%{version}/lib${PERL5LIB:+:${PERL5LIB}}"
+./test/bats/bin/bats test
+
 %files
 %license LICENSE
-%doc README.md history.md
+%doc README.md
 %{_bindir}/diff-so-fancy
-%{_datadir}/*
+%{_datadir}/diff-so-fancy
 

Reply via email to