Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nano for openSUSE:Factory checked in 
at 2022-08-01 21:28:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nano (Old)
 and      /work/SRC/openSUSE:Factory/.nano.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nano"

Mon Aug  1 21:28:08 2022 rev:103 rq:991321 version:6.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/nano/nano.changes        2022-05-01 
18:53:38.375165798 +0200
+++ /work/SRC/openSUSE:Factory/.nano.new.1533/nano.changes      2022-08-01 
21:28:15.061286729 +0200
@@ -1,0 +2,6 @@
+Mon Jul 25 09:03:56 UTC 2022 - Maurizio Galli <maurizio.ga...@suse.com>
+
+- Added obs-channel-and-patchinfo-syntax.patch to support syntax 
+  highlighting for _channel and _patchinfo files used by OBS
+  
+-------------------------------------------------------------------

New:
----
  obs-channel-and-patchinfo-syntax.patch

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

Other differences:
------------------
++++++ nano.spec ++++++
--- /var/tmp/diff_new_pack.5nTSmT/_old  2022-08-01 21:28:15.905289150 +0200
+++ /var/tmp/diff_new_pack.5nTSmT/_new  2022-08-01 21:28:15.913289173 +0200
@@ -28,6 +28,8 @@
 Source1:        
https://nano-editor.org/dist/v%{_version}/%{name}-%{version}.tar.xz.asc
 Source2:        
https://savannah.gnu.org/people/viewgpg.php?user_id=42085#/%{name}.keyring
 Source3:        nanorc
+# PATCH-FIX-OPENSUSE obs-channel-and-patchinfo-syntax.patch 
maurizio.ga...@suse.com -- enable syntax for _channel and _patchinfo files used 
by OBS
+Patch0:         obs-channel-and-patchinfo-syntax.patch
 BuildRequires:  file-devel
 BuildRequires:  groff-full
 BuildRequires:  makeinfo
@@ -42,7 +44,7 @@
 %lang_package
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %configure \



++++++ obs-channel-and-patchinfo-syntax.patch ++++++
diff -rub a/syntax/xml.nanorc b/syntax/xml.nanorc
--- a/syntax/xml.nanorc 2022-04-08 17:13:15.000000000 +0800
+++ b/syntax/xml.nanorc 2022-07-25 16:59:05.041959714 +0800
@@ -1,6 +1,6 @@
 ## Syntax highlighting for XML files.
 
-syntax xml 
"\.([jrsx]html?|jnlp|mml|pom|rng|sgml?|svg|w[as]dl|wsdd|xjb|xml|xs(d|lt?)|xul)$"
+syntax xml 
"(\.([jrsx]html?|jnlp|mml|pom|rng|sgml?|svg|w[as]dl|wsdd|xjb|xml|xs(d|lt?)|xul)$|_patchinfo|_channel)"
 header "<\?xml.*version=.*\?>"
 magic "(XML|SGML) (sub)?document"
 comment "<!--|-->"

Reply via email to