diff --git a/.gitignore b/.gitignore index 5a1d220..3dab2c9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /marshmallow-enum-a023565.tar.gz +/marshmallow-enum-1.0.tar.gz diff --git a/python-marshmallow-enum.spec b/python-marshmallow-enum.spec index bf9e5c5..d538df4 100644 --- a/python-marshmallow-enum.spec +++ b/python-marshmallow-enum.spec @@ -2,18 +2,13 @@ %global srcname marshmallow-enum %global _docdir_fmt %{name} -# Actually this should be tagged (as this version uploaded to PyPI) -# https://github.com/justanr/marshmallow_enum/issues/3 -%global commit a023565774d9c052eac2e7c2d00c210a48f823f1 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - Name: python-%{srcname} Version: 1.0 Release: 1%{?dist} Summary: Enum serializer/deserializer for use with Marshmallow License: MIT URL: https://github.com/justanr/%{modname} -Source0: %{url}/archive/%{commit}/%{srcname}-%{shortcommit}.tar.gz +Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch @@ -53,7 +48,7 @@ Requires: python3-marshmallow Python 3 version. %prep -%autosetup -n %{modname}-%{commit} +%autosetup -n %{modname}-%{version} %build %py2_build diff --git a/sources b/sources index 9a44b05..e538c3a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -64fc486a7a53cad30467c1985f11e619 marshmallow-enum-a023565.tar.gz +257170ab37dba4edd47cb344d0db8dac marshmallow-enum-1.0.tar.gz