public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/smem] epel10: spec modernization
Date: Tue, 28 Jul 2026 12:34:01 GMT	[thread overview]
Message-ID: <178524204177.1.9865897991916876807.rpms-smem-4eb2decb0a5a@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/smem
            Branch : epel10
            Commit : 4eb2decb0a5ad4ac78ace457730e1488683e5f18
            Author : Michal Schmidt <mschmidt@redhat.com>
            Date   : 2013-02-15T14:33:23+01:00
            Stats  : +2/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/smem/c/4eb2decb0a5ad4ac78ace457730e1488683e5f18?branch=epel10

            Log:
            spec modernization

Remove spec file elements no longer required by current packaging
guidelines (Group, BuildRoot, explicit buildroot cleaning, defattr).

---
diff --git a/smem.spec b/smem.spec
index da45312..613d631 100644
--- a/smem.spec
+++ b/smem.spec
@@ -3,11 +3,9 @@ Version:        1.2
 Release:        4%{?dist}
 Summary:        Report application memory usage in a meaningful way
 
-Group:          Applications/System
 License:        GPLv2+
 URL:            http://www.selenic.com/smem/
 Source0:        http://www.selenic.com/smem/download/smem-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
 %description
@@ -30,16 +28,11 @@ a realistic measure.
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 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
  
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 
 %files
-%defattr(-,root,root,-)
 %doc COPYING
 %{_bindir}/smem
 %{_mandir}/man8/smem.8*
@@ -48,6 +41,8 @@ rm -rf $RPM_BUILD_ROOT
 * Fri Feb 15 2013 Michal Schmidt <mschmidt@redhat.com> - 1.2-4
 - Drop the kernel Requires. Using Conflicts would have been acceptable,
   but 2.6.27 is ancient history anyway.
+- Remove spec file elements no longer required by current packaging guidelines
+  (Group, BuildRoot, explicit buildroot cleaning, defattr).
 
 * Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

                 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=178524204177.1.9865897991916876807.rpms-smem-4eb2decb0a5a@fedoraproject.org \
    --to=mschmidt@redhat.com \
    --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