diff --git a/recipes/telosearchlr/meta.yaml b/recipes/telosearchlr/meta.yaml index b5d2c2c595f33..422b7b18605c8 100644 --- a/recipes/telosearchlr/meta.yaml +++ b/recipes/telosearchlr/meta.yaml @@ -8,6 +8,8 @@ package: source: url: "https://github.com/gchchung/TeloSearchLR/archive/refs/tags/v1.0.0.tar.gz" sha256: "37426e76cae03254a7746becd6b3174f9e0476ef13656998b93f036ec9468101" + patches: + - python.patch build: noarch: generic diff --git a/recipes/telosearchlr/python.patch b/recipes/telosearchlr/python.patch new file mode 100644 index 0000000000000..1ca973a0a48db --- /dev/null +++ b/recipes/telosearchlr/python.patch @@ -0,0 +1,11 @@ +--- TeloSearchLR.py-old 2024-10-17 23:03:55.738331016 +0400 ++++ TeloSearchLR.py 2024-10-17 23:04:03.533242382 +0400 +@@ -818,7 +818,7 @@ + for opt, arg in opts: + if opt in ("-h", "--help"): + print(arg_help) # print the help message +- sys.exit(2) ++ sys.exit(0) + elif opt in ("-v", "--version"): + print(version_number) + sys.exit(2)