diff --git a/python-opentype-sanitizer.spec b/python-opentype-sanitizer.spec index dd73b13..e1655fb 100644 --- a/python-opentype-sanitizer.spec +++ b/python-opentype-sanitizer.spec @@ -1,5 +1,3 @@ -%global forgeurl https://github.com/googlefonts/ots-python/ - Name: python-opentype-sanitizer # Upstream version is kept in sync with opentype-sanitizer # (https://github.com/khaledhosny/ots), which is normally built and bundled as @@ -11,13 +9,12 @@ Name: python-opentype-sanitizer # update the source for a new opentype-sanitizer release; send upstream a PR if # they are lagging. Version: 8.2.1 -%forgemeta Release: %autorelease -b 9 Summary: Python wrapper for the OpenType Sanitizer License: BSD -URL: %{forgeurl} -Source0: %{forgesource} +URL: https://github.com/googlefonts/ots-python +Source0: %{url}/archive/v%{version}/ots-python-%{version}.tar.gz BuildArch: noarch @@ -51,7 +48,7 @@ Provides: python3-ots = %{version}-%{release} %prep -%forgeautosetup -p1 +%autosetup -n ots-python-%{version} -p1 %generate_buildrequires