- Remove/replace obsolete macros

OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/iosevka-fonts?expand=0&rev=7
This commit is contained in:
Lukas Kucharczyk 2020-11-22 21:21:52 +00:00 committed by Git OBS Bridge
parent 5c12fa635c
commit f394fd90e5
2 changed files with 13 additions and 9 deletions

View File

@ -1,7 +1,12 @@
-------------------------------------------------------------------
Sun Nov 22 21:20:14 UTC 2020 - Lukas Kucharczyk <lukas.kucharczyk@suse.com>
- Remove/replace obsolete macros
-------------------------------------------------------------------
Sun Nov 22 20:28:41 UTC 2020 - Lukas Kucharczyk <lukas.kucharczyk@suse.com>
- Update do v4.0.0-beta.3
- Update to v4.0.0-beta.3
-------------------------------------------------------------------
Thu Nov 19 09:45:00 UTC 2020 - Lukas Kucharczyk <lukas.kucharczyk@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package iosevka-fonts
#
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -21,7 +21,7 @@
Name: iosevka-fonts
Version: %{gh_v}_%{gh_r}
Release: 1
Release: 2
License: OFL-1.1
Summary: Slender typeface for code, from code
Url: https://typeof.net/Iosevka/
@ -43,7 +43,6 @@ Source21: https://raw.githubusercontent.com/be5invis/Iosevka/master/README.md
BuildRequires: unzip
BuildRequires: fontpackages-devel
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%reconfigure_fonts_prereq
%description
@ -54,9 +53,9 @@ technical documents.
%prep
for s in %{S:1} %{S:2} %{S:3} %{S:4} %{S:5} %{S:6} %{S:7} %{S:8} %{S:9} %{S:10} %{S:11} %{S:12};
do
%{__unzip} $s '*.ttf';
unzip $s '*.ttf';
done
%{__cp} %{S:20} %{S:21} .
cp %{S:20} %{S:21} .
%build
declare -A family=( \
@ -140,12 +139,12 @@ do
done
%install
%{__install} -d %{buildroot}%{_ttfontsdir}
%{__install} -m0644 *.ttf %{buildroot}%{_ttfontsdir}
install -d %{buildroot}%{_ttfontsdir}
install -m0644 *.ttf %{buildroot}%{_ttfontsdir}
%reconfigure_fonts_scriptlets
%clean
%{__rm} -rf %{buildroot}
rm -rf %{buildroot}
%files
%defattr(-,root,root)