public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grive2] rawhide: allow to build with CMake 4.0 (rhbz#2380629) - thanks to Cristian Le
@ 2026-07-02 2:45 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-07-02 2:45 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/grive2
Branch : rawhide
Commit : 769c7a0b9532aede0f137e0fb046bd596cc5e26d
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-07-01T23:24:46-03:00
Stats : +19/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/grive2/c/769c7a0b9532aede0f137e0fb046bd596cc5e26d?branch=rawhide
Log:
allow to build with CMake 4.0 (rhbz#2380629) - thanks to Cristian Le
spec cleanup for cmake, systemd-rpm-macros & scriptlets, enable tests
Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>
---
diff --git a/grive2.spec b/grive2.spec
index 42ad7f2..fadc1db 100644
--- a/grive2.spec
+++ b/grive2.spec
@@ -4,7 +4,7 @@
Name: grive2
Version: 0.5.3
-Release: 13%{?dist}
+Release: 14%{?dist}
#Release: 22.%%{commit_date}git%%{shortcommit}%%{?dist}
Summary: Google Drive client
@@ -27,8 +27,7 @@ BuildRequires: expat-devel
BuildRequires: libgcrypt-devel
BuildRequires: yajl-devel
BuildRequires: zlib-devel
-BuildRequires: systemd
-Requires(preun): systemd
+BuildRequires: systemd-rpm-macros
Requires: inotify-tools
%description
@@ -41,18 +40,29 @@ REST API to talk to Google Drive service.
%build
export CMAKE_POLICY_VERSION_MINIMUM=3.5
-%cmake3
+%cmake -DHAVE_SYSTEMD=ON
%cmake_build
%install
%cmake_install
+%check
+%_vpath_builddir/libgrive/btest
+
+%post
+%systemd_user_post grive-changes@.service
+%systemd_user_post grive-timer@.service
+%systemd_user_post grive-timer@.timer
+
%preun
%systemd_user_preun grive-changes@.service
%systemd_user_preun grive-timer@.service
%systemd_user_preun grive-timer@.timer
-
+%postun
+%systemd_user_postun_with_restart grive-changes@.service
+%systemd_user_postun_with_restart grive-timer@.service
+%systemd_user_postun_with_restart grive-timer@.timer
%files
%license COPYING
%doc README.md
@@ -62,6 +72,10 @@ export CMAKE_POLICY_VERSION_MINIMUM=3.5
%{_libexecdir}/grive
%changelog
+* Thu Jul 02 2026 Filipe Rosset <rosset.filipe@gmail.com> - 0.5.3-14
+- allow to build with CMake 4.0 (rhbz#2380629) - thanks to Cristian Le
+- spec cleanup for cmake, systemd-rpm-macros & scriptlets, enable tests
+
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-02 2:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 2:45 [rpms/grive2] rawhide: allow to build with CMake 4.0 (rhbz#2380629) - thanks to Cristian Le Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox