public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rmlint] f45: Update to v2.11.0
@ 2026-11-02 10:34 Artur Frenszek-Iwicki
0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-11-02 10:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rmlint
Branch : f45
Commit : 7d28d331699b0532fbbf667cfff4b214a15bbf34
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date : 2026-11-02T10:10:10+01:00
Stats : +38/-39 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rmlint/c/7d28d331699b0532fbbf667cfff4b214a15bbf34?branch=f45
Log:
Update to v2.11.0
---
diff --git a/.gitignore b/.gitignore
index 71995a0..82cf077 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/rmlint-2.10.1.tar.gz
/rmlint-2.10.2.tar.gz
/rmlint-2.10.3.tar.gz
+/rmlint-2.11.0.tar.gz
diff --git a/0001-Add-RPM_BUILD_ROOT-to-env.patch b/0001-Add-RPM_BUILD_ROOT-to-env.patch
index d6aaaf5..b6d05bd 100644
--- a/0001-Add-RPM_BUILD_ROOT-to-env.patch
+++ b/0001-Add-RPM_BUILD_ROOT-to-env.patch
@@ -1,25 +1,13 @@
-From fcf83b479620d5bea6b7c81bc1255ecc5b12daac Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m@gmail.com>
-Date: Tue, 21 Jun 2022 17:28:40 +0200
-Subject: [PATCH] Add RPM_BUILD_ROOT to env
-
----
- SConstruct | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/SConstruct b/SConstruct
-index 7e12d413..4a4f1497 100755
---- a/SConstruct
-+++ b/SConstruct
-@@ -538,7 +538,7 @@ options = dict(
- PREFIX=GetOption('prefix'),
- ENV = dict([ (key, os.environ[key])
- for key in os.environ
-- if key in ['PATH', 'TERM', 'HOME', 'PKG_CONFIG_PATH']
-+ if key in ['PATH', 'TERM', 'HOME', 'PKG_CONFIG_PATH', 'RPM_BUILD_ROOT']
- ])
- )
+--- rmlint-2.11.0/SConstruct.orig 2026-11-02 00:30:58.000000000 +0100
++++ rmlint-2.11.0/SConstruct 2026-11-02 09:37:09.385109043 +0100
+@@ -190,9 +190,9 @@
+ key: os.environ[key]
+ for key in ('PATH', 'TERM', 'HOME',
+ 'PKG_CONFIG_PATH', 'PKG_CONFIG_LIBDIR', 'PKG_CONFIG_SYSROOT_DIR',
+ 'CPATH', 'C_INCLUDE_PATH', 'LIBRARY_PATH',
+- 'SOURCE_DATE_EPOCH')
++ 'SOURCE_DATE_EPOCH', 'RPM_BUILD_ROOT')
+ if key in os.environ
+ } | {'TZ': 'UTC', 'LANG': 'C.UTF-8', 'LC_ALL': 'C.UTF-8'},
+ }
---
-2.36.1
-
diff --git a/rmlint.spec b/rmlint.spec
index f12aff4..eada180 100644
--- a/rmlint.spec
+++ b/rmlint.spec
@@ -1,7 +1,7 @@
%undefine _package_note_file
Name: rmlint
-Version: 2.10.3
+Version: 2.11.0
Release: %autorelease
Summary: Find space waste and other broken things on your filesystem
@@ -28,20 +28,29 @@ BuildRequires: json-glib-devel
BuildRequires: libblkid-devel
BuildRequires: sqlite-devel
+BuildRequires: python3-build
BuildRequires: python3-devel
+BuildRequires: python3-installer
BuildRequires: python3-setuptools
BuildRequires: python3-sphinx
+%global with_pytest 0
+%if 0%{?with_pytest}
+BuildRequires: python3dist(blake3)
+BuildRequires: python3dist(py-cpuinfo)
+BuildRequires: python3dist(psutil)
+BuildRequires: python3dist(pytest-xdist)
+BuildRequires: python3dist(xattr)
+BuildRequires: python3dist(xxhash)
+BuildRequires: python3-pytest
+%endif
+
Provides: bundled(blake2)
Provides: bundled(sha3)
Provides: bundled(xxhash)
Provides: bundled(metrohash)
Provides: bundled(murmurhash3)
-# Split into two sub-packages since v2.10.3.
-# Can be removed in F44+.
-Obsoletes: %{name} < 2.10.3
-
%package gui
Summary: %{summary}
BuildArch: noarch
@@ -50,8 +59,7 @@ Requires: %{name} = %{version}-%{release}
Requires: hicolor-icon-theme
Requires: gtksourceview4
-# Can be removed in F44+.
-Obsoletes: %{name} < 2.10.3
+%global shredder_rtld io.github.sahib.rmlint.Shredder
%description gui
rmlint-gui (a.k.a. Shredder) is a graphical user interface to rmlint.
@@ -63,7 +71,7 @@ and offers to remove them.
rmlint finds space waste and other broken things and offers to remove it.
It is an extremely fast tool to remove duplicates from your filesystem.
-%global rmlint_scons_flags --prefix="%{buildroot}%{_prefix}" --actual-prefix="%{_prefix}" --libdir="%{_lib}" --without-compile-glib-schemas DEBUG=1 SYMBOLS=1 VERBOSE=1
+%global rmlint_scons_flags --without-compile-glib-schemas DEBUG=0 SYMBOLS=1 VERBOSE=1 PREFIX=%{_prefix} LIBDIR=%{_lib} DESTDIR=%{buildroot}
%prep
%autosetup -p1
@@ -80,8 +88,7 @@ desktop-file-edit \
%build
-scons config %{?_smp_mflags} %{rmlint_scons_flags}
-scons
+scons --show-config %{?_smp_mflags} %{rmlint_scons_flags}
%install
@@ -90,7 +97,10 @@ scons install %{rmlint_scons_flags}
%check
-desktop-file-validate %{buildroot}/%{_datadir}/applications/shredder.desktop
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{shredder_rtld}.desktop
+%if 0%{?with_pytest}
+%pytest
+%endif
%files -f %{name}.lang
@@ -101,11 +111,11 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/shredder.desktop
%files gui
%{_bindir}/shredder
-%{_datadir}/applications/shredder.desktop
-%{_datadir}/glib-2.0/schemas/org.gnome.Shredder.gschema.xml
+%{_datadir}/applications/%{shredder_rtld}.desktop
+%{_datadir}/glib-2.0/schemas/%{shredder_rtld}.gschema.xml
%{_datadir}/icons/hicolor/scalable/apps/shredder.svg
%{python3_sitelib}/shredder/
-%{python3_sitelib}/shredder-%{version}-py*.egg-info
+%{python3_sitelib}/shredder-%{version}.dist-info/
%changelog
%autochangelog
diff --git a/sources b/sources
index 6360bbc..28618c3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rmlint-2.10.3.tar.gz) = b6b6522cf6bd98e9bd69134395f8088e620142cb99c88b5be0bfec5aeb0adbb4474f26a9f7c3a3c3ac4c909f362af7d77ea80e3e7495b07ccce5e38956a92bf4
+SHA512 (rmlint-2.11.0.tar.gz) = 09efdf22660c6b0e300b552f1730df59a2123f778bc02d45262f1c61f92df2845b36657a4b13ce04222a4e3aaf8c9c77d22c11838b3c647d238fc73ab176c387
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-02 10:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 10:34 [rpms/rmlint] f45: Update to v2.11.0 Artur Frenszek-Iwicki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox