public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - Clean up old, no longer needed cruft from spec
Date: Mon, 23 Nov 2026 09:28:54 GMT	[thread overview]
Message-ID: <179542613484.1.2462378494731088222.rpms-rpm-365a62b95766@fedoraproject.org> (raw)

          A new commit has been pushed.

          Repo   : rpms/rpm
          Branch : pmatilai-v6
          Commit : 365a62b95766c132ad33527bca732511d46c1c0e
          Author : Panu Matilainen <pmatilai@redhat.com>
          Date   : 2014-06-26T16:26:31+03:00
          Stats  : +4/-10 in 1 file(s)
          URL    : https://src.fedoraproject.org/rpms/rpm/c/365a62b95766c132ad33527bca732511d46c1c0e?branch=pmatilai-v6

          Log:
          - Clean up old, no longer needed cruft from spec
- BuildRoot and %clean haven't been needed in ages
- Dont bother compressing ChangeLog which is not even packaged anymore
- Remove old ocaml-conflict from pre-4.8.0 era

---
diff --git a/rpm.spec b/rpm.spec
index 6a25407..93c4038 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -24,7 +24,7 @@
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}16%{?dist}
+Release: %{?snapver:0.%{snapver}.}17%{?dist}
 Group: System Environment/Base
 Url: http://www.rpm.org/
 Source0: http://rpm.org/releases/rpm-4.11.x/%{name}-%{srcver}.tar.bz2
@@ -136,8 +136,6 @@ BuildRequires: libubsan
 %global sanitizer_flags -fsanitize=address -fsanitize=undefined
 %endif
 
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 %description
 The RPM Package Manager (RPM) is a powerful command line driven
 package management system capable of installing, uninstalling,
@@ -203,7 +201,6 @@ Requires: /usr/bin/gdb-add-index
 # provide, typically coming from redhat-rpm-config.
 Requires: system-rpm-config
 Requires: perl-generators
-Conflicts: ocaml-runtime < 3.11.1-7
 
 %description build
 The rpm-build package contains the scripts and executable programs
@@ -389,12 +386,6 @@ find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
 rm -f $RPM_BUILD_ROOT/%{rpmhome}/{perldeps.pl,perl.*}
 rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/perl*
 
-# compress our ChangeLog, it's fairly big...
-bzip2 -9 ChangeLog
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %if %{with check}
 %check
 make check
@@ -537,6 +528,9 @@ exit 0
 %doc doc/librpm/html/*
 
 %changelog
+* Thu Jun 26 2014 Panu Matilainen <pmatilai@redhat.com> - 4.11.2-17
+- Clean up old, no longer needed cruft from spec
+
 * Thu Jun 26 2014 Panu Matilainen <pmatilai@redhat.com> - 4.11.2-16
 - Mark licenses as such, not documentation
 

                 reply	other threads:[~2026-11-23  9:28 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=179542613484.1.2462378494731088222.rpms-rpm-365a62b95766@fedoraproject.org \
    --to=pmatilai@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