diff --git a/0001-fix-man-command.patch b/0001-fix-man-command.patch index 10616626f663c7006850b6198665ad4fce5ef4a8..61aa3abd22bc430b6b7ae0313cbec06ac320827f 100644 --- a/0001-fix-man-command.patch +++ b/0001-fix-man-command.patch @@ -1,39 +1,40 @@ -From ee1bce7374a982818041fe31a18148b6b3c972fe Mon Sep 17 00:00:00 2001 -From: yangzhao_kl -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 diff --git a/minimap2-2.24.tar.gz b/minimap2-2.24.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..7b4626ad52e68e42fc6d3cababcf8fe272d089e1 Binary files /dev/null and b/minimap2-2.24.tar.gz differ diff --git a/minimap2.spec b/minimap2.spec index 788d9e43c71efe2fb271cf0ebcf3ff05c054870a..269fefa32a00674145d0f5df198912b8390dda9e 100644 --- a/minimap2.spec +++ b/minimap2.spec @@ -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 - 2.17-2 - fix man command * Thu Mar 18 2021 yangzhao - 2.17-1 -- Package init \ No newline at end of file +- Package init diff --git a/v2.17.tar.bz2 b/v2.17.tar.bz2 deleted file mode 100644 index eb9aa0ff91b50eb057c9b15973d208ce91bf4b2d..0000000000000000000000000000000000000000 Binary files a/v2.17.tar.bz2 and /dev/null differ