diff --git a/python-pyjavaproperties.spec b/python-pyjavaproperties.spec index 02b4a47..e3b58f6 100644 --- a/python-pyjavaproperties.spec +++ b/python-pyjavaproperties.spec @@ -17,8 +17,7 @@ # -%define pyname pyjavaproperties -Name: python-%{pyname} +Name: python-pyjavaproperties Version: 0.7 Release: 0 Summary: A python library for parsing Java properties @@ -28,6 +27,7 @@ URL: https://github.com/toofishes/python-pyjavaproperties Source0: https://files.pythonhosted.org/packages/source/p/pyjavaproperties/pyjavaproperties-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-base BuildArch: noarch %python_subpackages @@ -36,7 +36,7 @@ BuildArch: noarch A python library for parsing Java properties files. %prep -%setup -q -n %{pyname}-%{version} +%setup -q -n pyjavaproperties-%{version} sed -i '/^#!/d' pyjavaproperties.py pyjavaproperties_test.py %build