public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/smem] epel10: spec modernization
@ 2026-07-28 12:34 Michal Schmidt
  0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-07-28 12:34 UTC (permalink / raw)
  To: git-commits

            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

^ 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: spec modernization Michal Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox