Drop changes for regenerating src/*data.c

Let's go with what upstream provides.
epel10
Sandro 1 year ago
parent 5442745c09
commit 09b37def81
No known key found for this signature in database
GPG Key ID: 68D0FF74FE9F382A

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -18,11 +18,6 @@ Source0: %forgesource
Source1: LineBreakTest.txt
Source2: WordBreakTest.txt
Source3: GraphemeBreakTest.txt
# For regenerating src/*data.c
Source4: LineBreak.txt
Source5: WordBreakProperty.txt
Source6: GraphemeBreakProperty.txt
Source7: emoji-data.txt
# don't download test data
Patch: offline_files.patch
@ -34,7 +29,6 @@ Patch: remove_unused_var.patch
BuildRequires: gcc
BuildRequires: make
BuildRequires: automake, autoconf, libtool
BuildRequires: python3
Provides: liblinebreak = %{version}-%{release}
Obsoletes: liblinebreak < %{obsEVR}
@ -59,7 +53,7 @@ developing applications that use %{name}.
%prep
%forgeautosetup -p1
cp -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} src/
cp -p %{SOURCE1} %{SOURCE2} %{SOURCE3} src/
sed -r -i 's|^(#!/usr/bin/)env (python)|\1\23|' src/generate_linebreakdata.py
sed -r -i 's|^(#!/usr/bin/)env (python)|\1\23|' src/sort_numeric_hex.py
@ -67,12 +61,6 @@ sed -r -i 's|^(#!/usr/bin/)env (python)|\1\23|' src/sort_numeric_hex.py
%build
./autogen.sh
%configure --disable-static
# Regenerate src/*data.c
# Build fails with the updated files
#make linebreakdata
#make wordbreakdata
#make graphemebreakdata
#make emojidata
%make_build

Loading…
Cancel
Save