!51 Remove generated output/ directory when 'make clean' is called
From: @linker99 Reviewed-by: @Charlie_li Signed-off-by: @Charlie_li
This commit is contained in:
commit
f4eb2634ae
@ -0,0 +1,26 @@
|
|||||||
|
From dac176fdef4d5f9c16a5ec8ecadb605cd78e6335 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?St=C3=A9phane=20Blondon?= <stephane.blondon@gmail.com>
|
||||||
|
Date: Fri, 29 Nov 2019 16:15:47 +0100
|
||||||
|
Subject: [PATCH] Remove generated output/ directory when 'make clean' is
|
||||||
|
called
|
||||||
|
|
||||||
|
---
|
||||||
|
Makefile | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/Makefile b/Makefile
|
||||||
|
index 61ee393e..13813adc 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -24,7 +24,7 @@ check:
|
||||||
|
-i docs/build -i pygments/formatters/_mapping.py -i pygments/unistring.py
|
||||||
|
|
||||||
|
clean: clean-pyc
|
||||||
|
- -rm -rf build
|
||||||
|
+ -rm -rf build tests/examplefiles/output
|
||||||
|
-rm -f codetags.html
|
||||||
|
|
||||||
|
clean-pyc:
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ need to prettify source code. Highlights are: \
|
|||||||
Name: python-pygments
|
Name: python-pygments
|
||||||
Summary: Syntax highlighting engine written in Python
|
Summary: Syntax highlighting engine written in Python
|
||||||
Version: 2.5.2
|
Version: 2.5.2
|
||||||
Release: 4
|
Release: 5
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://pygments.org/
|
URL: http://pygments.org/
|
||||||
Source0: https://pypi.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
|
Source0: https://pypi.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
|
||||||
@ -25,6 +25,7 @@ BuildArch: noarch
|
|||||||
Patch6000: backport-CVE-2021-20270.patch
|
Patch6000: backport-CVE-2021-20270.patch
|
||||||
Patch6001: backport-CVE-2021-27291.patch
|
Patch6001: backport-CVE-2021-27291.patch
|
||||||
Patch6002: backport-weed-out-more-backtracking-string-regexes.patch
|
Patch6002: backport-weed-out-more-backtracking-string-regexes.patch
|
||||||
|
Patch6003: backport-Remove-generated-output-directory-when-make-clean-is.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{_description}
|
%{_description}
|
||||||
@ -85,6 +86,9 @@ cp -r doc/docs doc/reST
|
|||||||
%lang(en) %{_mandir}/man1/pygmentize.1*
|
%lang(en) %{_mandir}/man1/pygmentize.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 3 2021 huangduirong<huangduirong@huawei.com> - 2.5.2-5
|
||||||
|
- Remove generated output/ directory when 'make clean' is called
|
||||||
|
|
||||||
* Sun Sep 26 2021 huangduirong<huangduirong@huawei.com> - 2.5.2-4
|
* Sun Sep 26 2021 huangduirong<huangduirong@huawei.com> - 2.5.2-4
|
||||||
- Infinite loop in get_tokens_unprocessed
|
- Infinite loop in get_tokens_unprocessed
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user