public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/smem] epel10: Build smemcap
@ 2026-07-28 12:34 Igor Raits
0 siblings, 0 replies; only message in thread
From: Igor Raits @ 2026-07-28 12:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/smem
Branch : epel10
Commit : 11182dd34e33b4402fb0f8331ec158e6664d69f7
Author : Igor Raits <ignatenkobrain@fedoraproject.org>
Date : 2021-08-09T10:00:32+02:00
Stats : +14/-16 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/smem/c/11182dd34e33b4402fb0f8331ec158e6664d69f7?branch=epel10
Log:
Build smemcap
It is very useful utility…
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index 4a52389..c5ecf34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ smem-0.9.tar.gz
/smem-1.3.tar.gz
/smem-1.4.tar.gz
/smem-1.5.tar.xz
+/smem-1.5.tar.gz
diff --git a/smem.spec b/smem.spec
index e3c6f3e..9d2fb98 100644
--- a/smem.spec
+++ b/smem.spec
@@ -1,16 +1,13 @@
Name: smem
Version: 1.5
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Report application memory usage in a meaningful way
License: GPLv2+
URL: http://www.selenic.com/smem/
-# version 1.5 created from tag 1.5 at
-# https://selenic.com/repo/smem/rev/1.5
-Source0: http://www.selenic.com/smem/download/smem-%{version}.tar.xz
-BuildArch: noarch
-
+Source0: https://selenic.com/repo/smem/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: smem-1.5-python3path.patch
+BuildRequires: gcc
%description
smem is a tool that can give numerous reports on memory usage on Linux
@@ -25,25 +22,25 @@ instead measures each application's "fair share" of each shared area to give
a realistic measure.
%prep
-
-%setup -q
-
-%patch0 -p1 -b py3
+%autosetup -p1
%build
-
+gcc %{build_cflags} %{build_ldflags} -o smemcap smemcap.c
%install
-install -D -p -m 755 smem $RPM_BUILD_ROOT/%{_bindir}/smem
-install -D -p -m 644 smem.8 $RPM_BUILD_ROOT/%{_mandir}/man8/smem.8
-
+install -Dpm0755 -t %{buildroot}%{_bindir} smem smemcap
+install -Dpm0644 -t %{buildroot}%{_mandir}/man8 smem.8
%files
-%doc COPYING
+%license COPYING
%{_bindir}/smem
+%{_bindir}/smemcap
%{_mandir}/man8/smem.8*
%changelog
+* Mon Aug 09 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.5-8
+- Ship smemcap
+
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
diff --git a/sources b/sources
index 9fa52be..2afb906 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (smem-1.5.tar.xz) = 09822afd089d64effe06b9736c18a2e99b186dda63401e2eae7c0d237aa1d2f4667db345ba60f92562f210a04c63abf3df50ff7e0fa9a64dd2b7718e3dda1bba
+SHA512 (smem-1.5.tar.gz) = 62f2bd56f89ddef727a2c6ca4bec22c7c83bbec6e8482ad658d5ef12f16bc05eaeead137f595c2fd0f028a45dc858b72fe183597a6f7d6da68ade444938d4db7
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-28 12:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-28 12:34 [rpms/smem] epel10: Build smemcap Igor Raits
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox