Do not require nodejs-emojione-json anymore, that package has been orphaned

This commit is contained in:
Mike FABIAN 2017-05-29 07:57:53 +02:00
parent 36ed560982
commit 4a7a483702

View File

@ -1,6 +1,6 @@
Name: ibus-typing-booster Name: ibus-typing-booster
Version: 1.5.32 Version: 1.5.32
Release: 1%{?dist} Release: 2%{?dist}
Summary: A completion input method Summary: A completion input method
License: GPLv3+ License: GPLv3+
Group: System Environment/Libraries Group: System Environment/Libraries
@ -21,7 +21,6 @@ Recommends: gdouros-symbola-fonts
# Save some space in the binary rpm by requiring the Fedora # Save some space in the binary rpm by requiring the Fedora
# packages which contain the emoji data files: # packages which contain the emoji data files:
Requires: cldr-emoji-annotation Requires: cldr-emoji-annotation
Requires: nodejs-emojione-json
Requires: unicode-ucd Requires: unicode-ucd
%endif %endif
BuildRequires: ibus-devel BuildRequires: ibus-devel
@ -72,13 +71,14 @@ make install DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true INSTALL="install -p" pkg
# These files are in the required package “cldr-emoji-annotation” # These files are in the required package “cldr-emoji-annotation”
rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/annotations/*.xml rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/annotations/*.xml
rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/annotationsDerived/*.xml rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/annotationsDerived/*.xml
# These files are in the required package “nodejs-emojione-json”
rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/*.json
# This file is in the required package “unicode-ucd”: # This file is in the required package “unicode-ucd”:
rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/UnicodeData.txt rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/UnicodeData.txt
# At least emoji-data.txt emoji-sequences.txt emoji-zwj-sequences.txt # At least emoji-data.txt emoji-sequences.txt emoji-zwj-sequences.txt
# are still there even on Fedora >= 26 they are not available in any packages: # are still there even on Fedora >= 26 they are not available in any packages:
gzip --force --best $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/*.txt gzip --force --best $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/*.txt
# The json file from emojione is not deleted anymore because
# the package nodejs-emojione-json has been orphaned:
gzip --force --best $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/*.json
%else %else
gzip --force --best $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/*.{txt,json} gzip --force --best $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/*.{txt,json}
gzip --force --best $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/annotations/*.xml gzip --force --best $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/annotations/*.xml
@ -140,6 +140,9 @@ make check || cat ./tests/test-suite.log
%changelog %changelog
* Mon Apr 24 2017 Mike FABIAN <mfabian@redhat.com> - 1.5.32-2
- Do not require nodejs-emojione-json anymore, that package has been orphaned
* Mon Apr 24 2017 Mike FABIAN <mfabian@redhat.com> - 1.5.32-1 * Mon Apr 24 2017 Mike FABIAN <mfabian@redhat.com> - 1.5.32-1
- update to 1.5.32 - update to 1.5.32
- Fix error when starting emoji-picker when the “recently-used” does not yet exist - Fix error when starting emoji-picker when the “recently-used” does not yet exist