Compare commits

..

No commits in common. "c9-beta" and "c10s" have entirely different histories.

8 changed files with 103 additions and 84 deletions

11
.gitignore vendored
View File

@ -1 +1,10 @@
SOURCES/uresourced-v0.4.0.tar.bz2
/uresourced-v0.1.0.tar.bz2
/uresourced-v0.2.0.tar.bz2
/uresourced-v0.3.0.tar.bz2
/uresourced-v0.4.0.tar.bz2
/uresourced-v0.4.1.tar.bz2
/uresourced-v0.5.0.tar.bz2
/uresourced-v0.5.1.tar.bz2
/uresourced-v0.5.2.tar.bz2
/uresourced-v0.5.3.tar.bz2
/uresourced-v0.5.4.tar.bz2

View File

@ -1 +0,0 @@
89077d899197bc6cdb87d3e0dc4bcd74f4501231 SOURCES/uresourced-v0.4.0.tar.bz2

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# uresourced
The uresourced package

View File

@ -1,82 +0,0 @@
Name: uresourced
Version: 0.4.0
Release: 3%{?dist}
Summary: Dynamically allocate resources to the active user
License: LGPLv2+
URL: https://gitlab.freedesktop.org/benzea/uresourced
Source0: https://gitlab.freedesktop.org/benzea/uresourced/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
BuildRequires: git
BuildRequires: systemd-devel
BuildRequires: systemd-rpm-macros
BuildRequires: meson
BuildRequires: gcc
BuildRequires: pkgconfig(gio-2.0)
%description
This daemon dynamically assigns a resource allocation to the active
graphical user. If the user has an active graphical session managed
using systemd (e.g. GNOME), then the memory allocation will be used
to protect the sessions core processes (session.slice).
%prep
%autosetup -S git -n %{name}-v%{version}
%build
%meson
%meson_build
%install
%meson_install
%post
%systemd_post uresourced.service
%systemd_user_post uresourced.service
%preun
%systemd_preun uresourced.service
%systemd_user_preun uresourced.service
%postun
%systemd_postun uresourced.service
%systemd_user_postun uresourced.service
%files
%license COPYING
%doc README
%doc NEWS.md
%config(noreplace) %{_sysconfdir}/uresourced.conf
%{_datadir}/dbus-1/system.d/org.freedesktop.UResourced.conf
%{_libexecdir}/uresourced
%{_libexecdir}/cgroupify
%{_unitdir}/*
%{_userunitdir}/*
%changelog
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.4.0-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.4.0-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Mar 30 2021 Benjamin Berg <bberg@redhat.com> - 0.4.0-1
- New upstream release including cgroupify
Resolves: #1931938
Resolves: #1931934
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Sep 24 2020 Benjamin Berg <bberg@redhat.com> - 0.3.0-1
- New upstream release fixing various issues
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 22 2020 Benjamin Berg <bberg@redhat.com> - 0.2.0-1
- New upstream release enabling CPU/IO controllers for applications
* Wed Jul 08 2020 Benjamin Berg <bberg@redhat.com> - 0.1.0-1
- Initial package (rhbz#1854898)

25
changelog Normal file
View File

@ -0,0 +1,25 @@
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Mar 30 2021 Benjamin Berg <bberg@redhat.com> - 0.4.0-1
- New upstream release including cgroupify
Resolves: #1931938
Resolves: #1931934
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Sep 24 2020 Benjamin Berg <bberg@redhat.com> - 0.3.0-1
- New upstream release fixing various issues
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 22 2020 Benjamin Berg <bberg@redhat.com> - 0.2.0-1
- New upstream release enabling CPU/IO controllers for applications
* Wed Jul 08 2020 Benjamin Berg <bberg@redhat.com> - 0.1.0-1
- Initial package (rhbz#1854898)

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (uresourced-v0.5.4.tar.bz2) = c9c6499968aeeb4cb0e7a72d12b3778f4460d0f278e592feca1deb5d54c91dd19a27f8741c34b5e3d142e72b10a945e86b45c3ecd2864b45f1dd2acad319fb66

58
uresourced.spec Normal file
View File

@ -0,0 +1,58 @@
Name: uresourced
Version: 0.5.4
Release: %autorelease
Summary: Dynamically allocate resources to the active user
License: LGPL-2.1-or-later
URL: https://gitlab.freedesktop.org/benzea/uresourced
Source0: %{url}/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
BuildRequires: gcc
BuildRequires: meson
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(libpipewire-0.3)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(systemd)
BuildRequires: systemd-rpm-macros
%description
This daemon dynamically assigns a resource allocation to the active
graphical user. If the user has an active graphical session managed
using systemd (e.g. GNOME), then the memory allocation will be used
to protect the sessions core processes (session.slice).
%prep
%autosetup -n %{name}-v%{version} -p1
%build
%meson -Dappmanagement=true
%meson_build
%install
%meson_install
%post
%systemd_post uresourced.service
%systemd_user_post uresourced.service
%preun
%systemd_preun uresourced.service
%systemd_user_preun uresourced.service
%postun
%systemd_postun uresourced.service
%systemd_user_postun uresourced.service
%files
%license COPYING
%doc README
%doc NEWS.md
%config(noreplace) %{_sysconfdir}/uresourced.conf
%{_datadir}/dbus-1/system.d/org.freedesktop.UResourced.conf
%{_libexecdir}/uresourced
%{_libexecdir}/cgroupify
%{_unitdir}/*
%{_userunitdir}/*
%changelog
%autochangelog