public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Matthew Miller <mattdm@mattdm.org>
To: git-commits@fedoraproject.org
Subject: [rpms/smem] epel10: Update to 1.5, and update shbang to python3
Date: Tue, 28 Jul 2026 12:34:07 GMT	[thread overview]
Message-ID: <178524204718.1.2666069924102473094.rpms-smem-8f8f209c63a0@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/smem
Branch : epel10
Commit : 8f8f209c63a0b667cf0bd01dcefd83a87c5c9ace
Author : Matthew Miller <mattdm@mattdm.org>
Date   : 2018-09-10T17:22:38-04:00
Stats  : +24/-4 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/smem/c/8f8f209c63a0b667cf0bd01dcefd83a87c5c9ace?branch=epel10

Log:
Update to 1.5, and update shbang to python3

---
diff --git a/.gitignore b/.gitignore
index 5447ccb..4a52389 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ smem-0.9.tar.gz
 /smem-1.2.tar.gz
 /smem-1.3.tar.gz
 /smem-1.4.tar.gz
+/smem-1.5.tar.xz

diff --git a/smem-1.5-python3path.patch b/smem-1.5-python3path.patch
new file mode 100644
index 0000000..f2e2437
--- /dev/null
+++ b/smem-1.5-python3path.patch
@@ -0,0 +1,9 @@
+diff -ur smem-1.5.orig/smem smem-1.5/smem
+--- smem-1.5.orig/smem	2015-05-15 13:54:48.000000000 -0400
++++ smem-1.5/smem	2018-09-10 17:14:39.713395371 -0400
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ #
+ # smem - a tool for meaningful memory reporting
+ #

diff --git a/smem.spec b/smem.spec
index d55c5b3..97fb42e 100644
--- a/smem.spec
+++ b/smem.spec
@@ -1,13 +1,17 @@
 Name:           smem
-Version:        1.4
-Release:        8%{?dist}
+Version:        1.5
+Release:        1%{?dist}
 Summary:        Report application memory usage in a meaningful way
 
 License:        GPLv2+
 URL:            http://www.selenic.com/smem/
-Source0:        http://www.selenic.com/smem/download/smem-%{version}.tar.gz
+# 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
 
+Patch0: 	smem-1.5-python3path.patch
+
 %description
 smem is a tool that can give numerous reports on memory usage on Linux
 systems. Unlike existing tools, smem can report proportional set size (PSS),
@@ -24,6 +28,8 @@ a realistic measure.
 
 %setup -q
 
+%patch0 -p1 -b py3
+
 %build
 
 
@@ -38,6 +44,10 @@ install -D -p -m 644 smem.8 $RPM_BUILD_ROOT/%{_mandir}/man8/smem.8
 %{_mandir}/man8/smem.8*
 
 %changelog
+* Mon Sep 10 2018 Matthew Miller <mattdm@fedoraproject.org> - 1.5-1
+- update to 1.5 tagged release (no new tarballs are forthcoming for this project)
+- hard-code python3 as per guidelines
+
 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
 

diff --git a/sources b/sources
index b513cf0..9fa52be 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fe79435c3930389bfdb560255c802162  smem-1.4.tar.gz
+SHA512 (smem-1.5.tar.xz) = 09822afd089d64effe06b9736c18a2e99b186dda63401e2eae7c0d237aa1d2f4667db345ba60f92562f210a04c63abf3df50ff7e0fa9a64dd2b7718e3dda1bba

                 reply	other threads:[~2026-07-28 12:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178524204718.1.2666069924102473094.rpms-smem-8f8f209c63a0@fedoraproject.org \
    --to=mattdm@mattdm.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox