Upgrade version to 2.24

Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
cherry530 2023-09-14 20:18:18 +08:00
parent d28d10cf6f
commit 2a7cbe3326
4 changed files with 21 additions and 17 deletions

View File

@ -1,39 +1,40 @@
From ee1bce7374a982818041fe31a18148b6b3c972fe Mon Sep 17 00:00:00 2001
From: yangzhao_kl <yangzhao1@kylinos.cn>
Date: Sat, 28 Aug 2021 15:38:43 +0800
From 41fe0c106c557048b7fbf7164e53aea9bdb8747a Mon Sep 17 00:00:00 2001
From: cherry530 <707078654@qq.com>
Date: Thu, 14 Sep 2023 18:54:55 +0800
Subject: [PATCH] fix man command
Signed-off-by: cherry530 <707078654@qq.com>
---
README.md | 2 +-
main.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 5e39daf..e1c6878 100644
index 13c4938..529f010 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ cd minimap2 && make
@@ -25,7 +25,7 @@ cd minimap2 && make
./minimap2 -x ava-pb reads.fa reads.fa > overlaps.paf # PacBio read overlap
./minimap2 -x ava-ont reads.fa reads.fa > overlaps.paf # Nanopore read overlap
# man page for detailed command line options
-man ./minimap2.1
+man minimap2.1
```
## Table of Contents
## Table of Contents
diff --git a/main.c b/main.c
index 5bf0fc8..90638bc 100644
index 0be9933..9385075 100644
--- a/main.c
+++ b/main.c
@@ -327,7 +327,7 @@ int main(int argc, char *argv[])
fprintf(fp_help, " - asm5/asm10/asm20: asm-to-ref mapping, for ~0.1/1/5%% sequence divergence\n");
fprintf(fp_help, " - splice: long-read spliced alignment\n");
fprintf(fp_help, " - sr: genomic short-read mapping\n");
@@ -366,7 +366,7 @@ int main(int argc, char *argv[])
fprintf(fp_help, " - asm5/asm10/asm20 - asm-to-ref mapping, for ~0.1/1/5%% sequence divergence\n");
fprintf(fp_help, " - splice/splice:hq - long-read/Pacbio-CCS spliced alignment\n");
fprintf(fp_help, " - sr - genomic short-read mapping\n");
- fprintf(fp_help, "\nSee `man ./minimap2.1' for detailed description of these and other advanced command-line options.\n");
+ fprintf(fp_help, "\nSee `man minimap2.1' for detailed description of these and other advanced command-line options.\n");
return fp_help == stdout? 0 : 1;
}
--
2.31.1.windows.1
2.27.0

BIN
minimap2-2.24.tar.gz Normal file

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: minimap2
Version: 2.17
Release: 2
Version: 2.24
Release: 1
Summary: A versatile pairwise aligner for genomic and spliced nucleotide sequences
License: MIT
URL: https://lh3.github.io/minimap2/
Source0: https://github.com/lh3/minimap2/archive/refs/tags/v2.17.tar.bz2
Source0: https://github.com/lh3/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: 0001-fix-man-command.patch
BuildRequires: gcc make zlib-devel
@ -21,7 +21,7 @@ Minimap2 is a versatile sequence alignment program that aligns DNA or mRNA seque
%prep
%setup -q -n %{name}-%{version}/
%patch0 -p 1
%patch0 -p1
%build
%{ENV} make extra
@ -41,8 +41,11 @@ cp ./minimap2.1 %{buildroot}%{_mandir}/man1/
%{_mandir}/*
%changelog
* Thu Sep 14 2023 xu_ping <707078654@qq.com> - 2.24-1
- Upgrade version to 2.24
* Sat Aug 28 2021 yangzhao <yangzhao1@kylinos.cn> - 2.17-2
- fix man command
* Thu Mar 18 2021 yangzhao <yangzhao1@kylinos.cn> - 2.17-1
- Package init
- Package init

Binary file not shown.