import scl-utils-2.0.2-16.el8
This commit is contained in:
parent
361578212a
commit
9de7aa1120
21
SOURCES/BZ-2091000-remove-tmp-file.patch
Normal file
21
SOURCES/BZ-2091000-remove-tmp-file.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
From 864844ecc11f8cf65cd97bcffdb803211f7edaa4 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Piotr Wilkosz <piotr.wilkosz@gmail.com>
|
||||||
|
Date: Mon, 23 May 2022 16:14:13 +0200
|
||||||
|
Subject: [PATCH] remove tmp file at exit
|
||||||
|
|
||||||
|
---
|
||||||
|
src/fallback.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/fallback.c b/src/fallback.c
|
||||||
|
index c907a34..e67654a 100644
|
||||||
|
--- a/src/fallback.c
|
||||||
|
+++ b/src/fallback.c
|
||||||
|
@@ -246,6 +246,7 @@ scl_rc fallback_run_command(char * const colnames[], const char *cmd, bool exec)
|
||||||
|
enable_path = _free(enable_path);
|
||||||
|
colpath = _free(colpath);
|
||||||
|
bash_cmd = _free(bash_cmd);
|
||||||
|
+ unlink(tmp);
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
@ -3,7 +3,7 @@
|
|||||||
Name: scl-utils
|
Name: scl-utils
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 2.0.2
|
Version: 2.0.2
|
||||||
Release: 15%{?dist}
|
Release: 16%{?dist}
|
||||||
Summary: Utilities for alternative packaging
|
Summary: Utilities for alternative packaging
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -22,6 +22,7 @@ Patch3: BZ-1618803-adapt-env-parser-to-new-module-output.patch
|
|||||||
Patch4: BZ-1927971-let-scl_source-behave-with-errexit.patch
|
Patch4: BZ-1927971-let-scl_source-behave-with-errexit.patch
|
||||||
Patch5: BZ-1867135-print-scl_source-errors-to-stderr.patch
|
Patch5: BZ-1867135-print-scl_source-errors-to-stderr.patch
|
||||||
Patch6: BZ-1967686-do-not-error-out-on-SIGINT.patch
|
Patch6: BZ-1967686-do-not-error-out-on-SIGINT.patch
|
||||||
|
Patch7: BZ-2091000-remove-tmp-file.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Run-time utility for alternative packaging.
|
Run-time utility for alternative packaging.
|
||||||
@ -84,6 +85,9 @@ ln -s prefixes conf
|
|||||||
%{_rpmconfigdir}/brp-scl-python-bytecompile
|
%{_rpmconfigdir}/brp-scl-python-bytecompile
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 13 2022 Florian Festi <ffesti@redhat.com> - 1:2.0.2-16
|
||||||
|
- Remove tmp file (#2091000)
|
||||||
|
|
||||||
* Thu Feb 17 2022 Michal Domonkos <mdomonko@redhat.com> - 1:2.0.2-15
|
* Thu Feb 17 2022 Michal Domonkos <mdomonko@redhat.com> - 1:2.0.2-15
|
||||||
- Don't error out when command receives SIGINT (#1967686)
|
- Don't error out when command receives SIGINT (#1967686)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user