From f394fd90e54ea7d270f605b9e78fef206df8bd579d2c0d5bca1618f56e4457a9 Mon Sep 17 00:00:00 2001
From: Lukas Kucharczyk <lukas.kucharczyk@suse.com>
Date: Sun, 22 Nov 2020 21:21:52 +0000
Subject: [PATCH] - Remove/replace obsolete macros

OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/iosevka-fonts?expand=0&rev=7
---
 iosevka-fonts.changes |  7 ++++++-
 iosevka-fonts.spec    | 15 +++++++--------
 2 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/iosevka-fonts.changes b/iosevka-fonts.changes
index a37eea7..461890f 100644
--- a/iosevka-fonts.changes
+++ b/iosevka-fonts.changes
@@ -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>
diff --git a/iosevka-fonts.spec b/iosevka-fonts.spec
index fa8b7c3..169ab85 100644
--- a/iosevka-fonts.spec
+++ b/iosevka-fonts.spec
@@ -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)