Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package obs-service-format_spec_file for 
openSUSE:Factory checked in at 2025-09-29 16:33:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obs-service-format_spec_file (Old)
 and      /work/SRC/openSUSE:Factory/.obs-service-format_spec_file.new.11973 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "obs-service-format_spec_file"

Mon Sep 29 16:33:47 2025 rev:91 rq:1307669 version:20250923

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/obs-service-format_spec_file/obs-service-format_spec_file.changes
        2025-09-25 18:47:26.035541763 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-format_spec_file.new.11973/obs-service-format_spec_file.changes
     2025-09-29 16:36:11.664413734 +0200
@@ -1,0 +2,9 @@
+Mon Sep 29 07:37:56 UTC 2025 - [email protected]
+
+- Update to version 20250923:
+  * Update test case for changes in 1ccd56d0
+  * Empty section may contain empty lines instead of setting 'after_lines'
+  * Update test case for changes in 51da0388
+  * Fix _split_final_comments hack
+
+-------------------------------------------------------------------

Old:
----
  obs-service-format_spec_file-20250918.obscpio

New:
----
  obs-service-format_spec_file-20250923.obscpio

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

Other differences:
------------------
++++++ obs-service-format_spec_file.spec ++++++
--- /var/tmp/diff_new_pack.jeDbJc/_old  2025-09-29 16:36:12.228437365 +0200
+++ /var/tmp/diff_new_pack.jeDbJc/_new  2025-09-29 16:36:12.228437365 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           obs-service-format_spec_file
-Version:        20250918
+Version:        20250923
 Release:        0
 Summary:        An OBS source service: reformats a spec file to SUSE standard
 License:        GPL-2.0-only

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.jeDbJc/_old  2025-09-29 16:36:12.276439376 +0200
+++ /var/tmp/diff_new_pack.jeDbJc/_new  2025-09-29 16:36:12.280439545 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/openSUSE/obs-service-format_spec_file.git</param>
-              <param 
name="changesrevision">b4258383c51b88c51b1162dfaac7d1fddb231cfa</param></service></servicedata>
+              <param 
name="changesrevision">80f69b6cdb83190259c3c1e2ede5b10e8e4e2613</param></service></servicedata>
 (No newline at EOF)
 

++++++ debian.dsc ++++++
--- /var/tmp/diff_new_pack.jeDbJc/_old  2025-09-29 16:36:12.312440885 +0200
+++ /var/tmp/diff_new_pack.jeDbJc/_new  2025-09-29 16:36:12.316441053 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: obs-service-format-spec-file
-Version: 20250918
+Version: 20250923
 Binary: obs-service-format-spec-file
 Maintainer: Adrian Schroeter <[email protected]>
 Architecture: all

++++++ obs-service-format_spec_file-20250918.obscpio -> 
obs-service-format_spec_file-20250923.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/obs-service-format_spec_file-20250918/prepare_spec 
new/obs-service-format_spec_file-20250923/prepare_spec
--- old/obs-service-format_spec_file-20250918/prepare_spec      2025-09-18 
08:49:02.000000000 +0200
+++ new/obs-service-format_spec_file-20250923/prepare_spec      2025-09-23 
19:06:33.000000000 +0200
@@ -607,7 +607,16 @@
     my @lines;
     while ($section->{lines}->[-1] =~ m/^#/) {
       my $line = pop @{$section->{lines}};
-      unshift @{$comment->{lines}}, $line;
+      unshift @lines, $line;
+    }
+    foreach (@lines) {
+      $comment->add_line($_)
+    }
+    $comment->{after_lines} = $section->{after_lines};
+    $section->{after_lines} = 0;
+    while ($section->{lines}->[-1] =~ m/^$/) {
+      pop @{$section->{lines}};
+      $section->{after_lines}++;
     }
     push(@{$self->{sections}}, $comment);
   }
@@ -1327,12 +1336,16 @@
 $parser->delete_section($section) if $section;
 my $lastsection = $parser->current();
 $section = $parser->create_section("changelog-section", "%changelog");
-if ($lastsection->{after_lines} == 0) {
-  $section->set_before_lines(1);
-}
-else {
+if ($lastsection->{name} ne "empty") {
+  if ($lastsection->{after_lines} == 0) {
+    $section->set_before_lines(1);
+  }
+  else {
   # one is enough
   $lastsection->set_after_lines(1);
+  }
+} else {
+    $lastsection->set_after_lines(0);
 }
 
 $parser->print_all();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-format_spec_file-20250918/testing/pcp.spec.out 
new/obs-service-format_spec_file-20250923/testing/pcp.spec.out
--- old/obs-service-format_spec_file-20250918/testing/pcp.spec.out      
2025-09-18 08:49:02.000000000 +0200
+++ new/obs-service-format_spec_file-20250923/testing/pcp.spec.out      
2025-09-23 19:06:33.000000000 +0200
@@ -560,10 +560,10 @@
 %description conf
 Performance Co-Pilot (PCP) run-time configuration
 
-
 #
 # pcp-libs
 #
+
 %package -n %{lib_pkg}
 Summary:        Performance Co-Pilot run-time libraries
 License:        %{license_lgplv21plus}
@@ -1149,8 +1149,8 @@
 %description pmda-redis
 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
 collecting metrics from Redis servers (redis.io).
-
 #end pcp-pmda-redis
+
 %if !%{disable_nutcracker}
 #
 # pcp-pmda-nutcracker
@@ -1543,8 +1543,8 @@
 %description pmda-slurm
 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
 collecting metrics from the SLURM Workload Manager.
-
 #end pcp-pmda-slurm
+
 %if !%{disable_snmp}
 #
 # pcp-pmda-snmp
@@ -1616,9 +1616,9 @@
 %description pmda-dm
 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
 collecting metrics about the Device Mapper Cache and Thin Client.
+# end pcp-pmda-dm
 
 
-# end pcp-pmda-dm
 %if !%{disable_python3}
 #
 # pcp-pmda-gluster
@@ -1649,8 +1649,8 @@
 %description pmda-nfsclient
 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
 collecting metrics for NFS Clients.
-
 #end pcp-pmda-nfsclient
+
 %if !%{disable_postgresql}
 #
 # pcp-pmda-postgresql
@@ -1731,8 +1731,8 @@
 %description pmda-haproxy
 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
 extracting performance metrics from HAProxy over the HAProxy stats socket.
-
 # end pcp-pmda-haproxy
+
 %if !%{disable_libvirt}
 #
 # pcp-pmda-libvirt
@@ -1805,8 +1805,8 @@
 %description pmda-rabbitmq
 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
 collecting metrics about RabbitMQ message queues.
-
 #end pcp-pmda-rabbitmq
+
 %if !%{disable_lio}
 #
 # pcp-pmda-lio
@@ -1888,8 +1888,8 @@
 %description pmda-netcheck
 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
 collecting metrics from simple network checks.
-
 # end pcp-pmda-netcheck
+
 %endif # !%{disable_python3}
 
 %if !%{disable_mssql}
@@ -2120,8 +2120,8 @@
 %description pmda-roomtemp
 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
 collecting metrics about the room temperature.
-
 # end pcp-pmda-roomtemp
+
 %if !%{disable_rpm}
 #
 # pcp-pmda-rpm
@@ -2216,8 +2216,8 @@
 %description pmda-summary
 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
 collecting metrics about other installed pmdas.
-
 # end pcp-pmda-summary
+
 %if !%{disable_systemd}
 #
 # pcp-pmda-systemd
@@ -2273,9 +2273,9 @@
 %description pmda-weblog
 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
 collecting metrics about web server logs.
-
 # end pcp-pmda-weblog
 # end C pmdas
+
 %package zeroconf
 Summary:        Performance Co-Pilot (PCP) Zeroconf Package
 License:        %{license_gplv2plus}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-format_spec_file-20250918/testing/release.spec.out 
new/obs-service-format_spec_file-20250923/testing/release.spec.out
--- old/obs-service-format_spec_file-20250918/testing/release.spec.out  
2025-09-18 08:49:02.000000000 +0200
+++ new/obs-service-format_spec_file-20250923/testing/release.spec.out  
2025-09-23 19:06:33.000000000 +0200
@@ -24,5 +24,4 @@
 %package stringrelease
 Release:        2.2donotclean
 
-
 %changelog

++++++ obs-service-format_spec_file.obsinfo ++++++
--- /var/tmp/diff_new_pack.jeDbJc/_old  2025-09-29 16:36:12.764459823 +0200
+++ /var/tmp/diff_new_pack.jeDbJc/_new  2025-09-29 16:36:12.776460326 +0200
@@ -1,5 +1,5 @@
 name: obs-service-format_spec_file
-version: 20250918
-mtime: 1758178142
-commit: b4258383c51b88c51b1162dfaac7d1fddb231cfa
+version: 20250923
+mtime: 1758647193
+commit: 80f69b6cdb83190259c3c1e2ede5b10e8e4e2613
 

Reply via email to