public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/onedrive] rawhide: Update to 2.5.12 (rhbz#2560260)
@ 2026-12-01  7:11 Thomas Drake-Brockman
  0 siblings, 0 replies; only message in thread
From: Thomas Drake-Brockman @ 2026-12-01  7:11 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/onedrive
            Branch : rawhide
            Commit : 1e51533b6792cf81c4e3cabcf8698ef8fb15586a
            Author : Thomas Drake-Brockman <thomas@drake-brockman.id.au>
            Date   : 2026-11-21T22:36:48+08:00
            Stats  : +16/-5 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/onedrive/c/1e51533b6792cf81c4e3cabcf8698ef8fb15586a?branch=rawhide

            Log:
            Update to 2.5.12 (rhbz#2560260)

On EL, keep installing onedrive.service as a system unit too.

---
diff --git a/.gitignore b/.gitignore
index 312cc73..e32304b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,4 @@
 /onedrive-v2.5.9.tar.gz
 /onedrive-v2.5.10.tar.gz
 /onedrive-v2.5.11.tar.gz
+/onedrive-v2.5.12.tar.gz

diff --git a/onedrive.spec b/onedrive.spec
index 09174e9..8edf217 100644
--- a/onedrive.spec
+++ b/onedrive.spec
@@ -2,8 +2,8 @@
 %global repo onedrive
 
 Name:           onedrive
-Version:        2.5.11
-Release:        2%{?dist}
+Version:        2.5.12
+Release:        1%{?dist}
 Summary:        OneDrive Free Client written in D
 # Automatically converted from old format: GPLv3 - review is highly recommended.
 License:        GPL-3.0-only
@@ -42,19 +42,25 @@ make DC=ldmd2 %{?_smp_mflags}
 %make_install \
     PREFIX="%{_prefix}"
 chmod a-x %{buildroot}/%{_mandir}/man1/%{name}*
+%if 0%{?el8} || 0%{?el9} || 0%{?el10}
+# EL used to install onedrive.service as a system unit; keep a copy there.
+install -Dpm 0644 %{buildroot}%{_userunitdir}/%{name}.service %{buildroot}%{_unitdir}/%{name}.service
+%endif
 
 %preun
 %systemd_user_preun %{name}.service
 %systemd_preun %{name}@.service
+%if 0%{?el8} || 0%{?el9} || 0%{?el10}
+%systemd_preun %{name}.service
+%endif
 
 %files
 %{_bindir}/%{name}
 %if 0%{?el8} || 0%{?el9} || 0%{?el10}
 %doc readme.md LICENSE changelog.md
 %{_unitdir}/%{name}.service
-%else
-%{_userunitdir}/%{name}.service
 %endif
+%{_userunitdir}/%{name}.service
 %{_unitdir}/%{name}@.service
 %{_mandir}/man1/%{name}.1.gz
 %{_datadir}/icons/hicolor/scalable/places/onedrive.svg
@@ -63,6 +69,10 @@ chmod a-x %{buildroot}/%{_mandir}/man1/%{name}*
 %config %{_sysconfdir}/logrotate.d/onedrive
 
 %changelog
+* Sat Nov 21 2026 Thomas Drake-Brockman <thomas@drake-brockman.id.au> - 2.5.12-1
+- Update to 2.5.12 (#2560260)
+- On EL, keep installing onedrive.service as a system unit too
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.11-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index cdbe91c..c0c6570 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (onedrive-v2.5.11.tar.gz) = a377be65e438b20e19fefce0116db6d120c3ad50b959566747d02d13c95aa30f018b82659c8099a71b635fbdc3bf0151db10973b4945e51840ad0d8d9db36009
+SHA512 (onedrive-v2.5.12.tar.gz) = dcf5d0d2010e459f4a687805064675a096e6bd1c703e6ebc0f88ce85680a286f55ddfa8438e23078b9de24a7ee4a0253ea051b87c775ee52fdd8f0b1c934e67e

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-01  7:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01  7:11 [rpms/onedrive] rawhide: Update to 2.5.12 (rhbz#2560260) Thomas Drake-Brockman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox