public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: - Clean up old, no longer needed cruft from spec
@ 2026-11-23  9:28 Panu Matilainen
  0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23  9:28 UTC (permalink / raw)
  To: git-commits

          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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23  9:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:28 [rpms/rpm] pmatilai-v6: - Clean up old, no longer needed cruft from spec Panu Matilainen

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