Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package obs-service-download_files for 
openSUSE:Factory checked in at 2025-12-09 12:50:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obs-service-download_files (Old)
 and      /work/SRC/openSUSE:Factory/.obs-service-download_files.new.1939 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "obs-service-download_files"

Tue Dec  9 12:50:28 2025 rev:32 rq:1321559 version:0.9.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/obs-service-download_files/obs-service-download_files.changes
    2022-12-08 16:52:41.315945154 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-download_files.new.1939/obs-service-download_files.changes
  2025-12-09 12:56:53.816454735 +0100
@@ -1,0 +2,11 @@
+Tue Dec  2 14:26:01 UTC 2025 - Antonio Teixeira <[email protected]>
+
+- PKGBUILD improvements and fixes:
+  * Bump pkgver to 0.9.2
+  * Update dependencies to match RPM package
+  * Add backup array with the config file so that it doesn't get
+    replaced on update, matching the behavior of the RPM package
+  * Add check() and checkdepends
+  * Use make install instead of installing manually
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ obs-service-download_files.spec ++++++
--- /var/tmp/diff_new_pack.4B5mVE/_old  2025-12-09 12:56:54.680491156 +0100
+++ /var/tmp/diff_new_pack.4B5mVE/_new  2025-12-09 12:56:54.680491156 +0100
@@ -1,7 +1,7 @@
 #
-# spec file
+# spec file for package obs-service-download_files
 #
-# Copyright (c) 2022 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

++++++ PKGBUILD ++++++
--- /var/tmp/diff_new_pack.4B5mVE/_old  2025-12-09 12:56:54.724493011 +0100
+++ /var/tmp/diff_new_pack.4B5mVE/_new  2025-12-09 12:56:54.732493348 +0100
@@ -1,5 +1,5 @@
 pkgname=obs-service-download_files
-pkgver=0.9.1
+pkgver=0.9.2
 pkgrel=0
 pkgdesc="An OBS source service: download files"
 arch=(any)
@@ -7,15 +7,18 @@
 url=https://github.com/openSUSE/$pkgname
 source=($pkgname-$pkgver.tar.gz)
 sha256sums=('SKIP')
-depends=('build>=2012.08.24' diffutils wget)
+depends=('build>=2012.08.24' 'curl' 'diffutils' 'perl-yaml-libyaml')
+checkdepends=('perl-file-type' 'perl-http-server-simple' 'perl-path-class')
+backup=('etc/obs/services/download_files')
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  mkdir -p $pkgdir/usr/lib/obs/service
-  install -m 0755 download_files $pkgdir/usr/lib/obs/service
-  install -m 0644 download_files.service $pkgdir/usr/lib/obs/service
-  mkdir -p $pkgdir/etc/obs/services
-  install -m 0644 download_files.rc $pkgdir/etc/obs/services/download_files
-  mkdir -p $pkgdir/var/cache/obs/download_files/file{,name}
+    cd "$pkgname-$pkgver"
+    make DESTDIR=$pkgdir install
+    mkdir -p $pkgdir/var/cache/obs/download_files/file{,name}
+}
+
+check() {
+    cd "$pkgname-$pkgver"
+    make VERBOSE=1 test
 }
 

Reply via email to