Browse Source

icu-60.3-1

Tomohiro "Tomo-p" KATO 4 years ago
parent
commit
86c9e9a01d
1 changed files with 13 additions and 5 deletions
  1. 13 5
      i/icu/icu-vl.spec

+ 13 - 5
i/icu/icu-vl.spec

@@ -1,18 +1,19 @@
 %define sover 60
+%define minorver 3
 
 %define _unpackaged_files_terminate_build 1
 
 Summary: International Components for Unicode
 Summary(ja): ユニコード用国際化コンポーネント
 Name: icu
-Version: 60.2
+Version: %{sover}.%{minorver}
 Release: 1%{?_dist_release}
 Group:   Development/Tools
 License: MIT
 URL:     http://icu-project.org/
 
-Source0: http://download.icu-project.org/files/icu4c/56.1/icu4c-60_2-src.tgz
-Source1: http://download.icu-project.org/files/icu4c/56.1/icu4c-60_2-docs.zip
+Source0: https://github.com/unicode-org/icu/releases/download/release-%{sover}-%{minorver}/icu4c-%{sover}_%{minorver}-src.tgz
+Source1: https://github.com/unicode-org/icu/releases/download/release-%{sover}-%{minorver}/icu4c-%{sover}_%{minorver}-docs.zip
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: gcc-c++
@@ -62,6 +63,7 @@ This package contains the development documentation for %{name}.
 
 %prep
 %setup -q -n %{name}
+
 find . -name CVS -o -name .cvsignore | xargs -r rm -rf
 perl -pi -e 's/^(HAVE_DOT\b.*=).*$/$1 YES/' source/Doxyfile.in
 
@@ -75,7 +77,7 @@ cd source
 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 %configure --disable-static --with-data-packaging=library --disable-samples 
-make
+make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -83,8 +85,10 @@ make -C source install DESTDIR=$RPM_BUILD_ROOT
 cp -pR ./source/tools/ctestfw/libicutest.so* $RPM_BUILD_ROOT/%{_libdir}
 chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.*
 
+%ifarch x86_64
 %check || :
-make -C source check
+make %{?_smp_mflags} -C source check
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -133,6 +137,10 @@ rm -rf $RPM_BUILD_ROOT
 %doc docs/*
 
 %changelog
+* Fri Aug 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 60.3-1
+- updated to 60.3.
+- disables test on i686.
+
 * Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 60.2-1
 - updated to 60.2.