commit
728745ada9
23
opencc-stop-copy.patch
Normal file
23
opencc-stop-copy.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
From 6a1e149b643d07b465b348e23a696f8df800cdc4 Mon Sep 17 00:00:00 2001
|
||||||
|
Subject: [PATCH] opencc stop copy
|
||||||
|
|
||||||
|
---
|
||||||
|
data/CMakeLists.txt | 2 --
|
||||||
|
1 file changed, 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
|
||||||
|
index 3989bad..c9b20c1 100644
|
||||||
|
--- a/data/CMakeLists.txt
|
||||||
|
+++ b/data/CMakeLists.txt
|
||||||
|
@@ -109,8 +109,6 @@ foreach(DICT ${DICTS})
|
||||||
|
${DICT}.ocd
|
||||||
|
COMMENT
|
||||||
|
"Building ${DICT}.ocd"
|
||||||
|
- COMMAND
|
||||||
|
- ${CMAKE_COMMAND} -E copy "$<TARGET_FILE:libopencc>" "$<TARGET_FILE_DIR:${OPENCC_DICT_BIN}>"
|
||||||
|
COMMAND
|
||||||
|
${OPENCC_DICT_BIN}
|
||||||
|
--input ${DICT_${DICT}_INPUT}
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
||||||
@ -1,12 +1,13 @@
|
|||||||
Name: opencc
|
Name: opencc
|
||||||
Version: 1.0.5
|
Version: 1.0.5
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Simplified Chinese Traditional Conversion Library
|
Summary: Simplified Chinese Traditional Conversion Library
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/BYVoid/OpenCC
|
URL: https://github.com/BYVoid/OpenCC
|
||||||
Source0: https://github.com/BYVoid/OpenCC/archive/ver.%{version}.tar.gz#/OpenCC-ver.%{version}.tar.gz
|
Source0: https://github.com/BYVoid/OpenCC/archive/ver.%{version}.tar.gz#/OpenCC-ver.%{version}.tar.gz
|
||||||
Patch0001: opencc-fixes-cmake.patch
|
Patch0001: opencc-fixes-cmake.patch
|
||||||
Patch0002: opencc-check-bounds.patch
|
Patch0002: opencc-check-bounds.patch
|
||||||
|
Patch0003: opencc-stop-copy.patch
|
||||||
|
|
||||||
Provides: %{name}-tools = %{version}-%{release}
|
Provides: %{name}-tools = %{version}-%{release}
|
||||||
Obsoletes: %{name}-tools < %{version}-%{release}
|
Obsoletes: %{name}-tools < %{version}-%{release}
|
||||||
@ -67,5 +68,8 @@ ctest
|
|||||||
%{_datadir}/opencc/doc
|
%{_datadir}/opencc/doc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 29 2020 huanghaitao <huanghaitao8@huawei.com> - 1.0.5-5
|
||||||
|
- Fix build error
|
||||||
|
|
||||||
* Thu Dec 12 2019 fengbing <fengbing7@huawei.com> - 1.0.5-4
|
* Thu Dec 12 2019 fengbing <fengbing7@huawei.com> - 1.0.5-4
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user