X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython-webcolors.git;a=blobdiff_plain;f=python-webcolors.spec;h=e1962cc9f6195e65687e4d08469719a2d4f1aca9;hp=d468438edb458f91b646e7ac1b99d387e56f0b66;hb=6599c9ad443c9c5f98f0908d7932d867a8207cfd;hpb=7cbd3e6aef50bba878e7d3828cf301ced9d9d495 diff --git a/python-webcolors.spec b/python-webcolors.spec index d468438..e1962cc 100644 --- a/python-webcolors.spec +++ b/python-webcolors.spec @@ -1,8 +1,8 @@ %define module webcolors -Summary: A library for working with color names and color value formats defined by the HTML and CSS specifications for use in documents on the Web -Name: python-%module +Summary: Library for working with sRGB color specifications as used in HTML and CSS +Name: python-%{module} Version: 1.3.1 -Release: 0.2 +Release: 2 License: BSD License Group: Development/Languages URL: http://www.bitbucket.org/ubernostrum/webcolors/overview/ @@ -32,13 +32,11 @@ Python standard library): %{__sed} -i -e 's/^use_setuptools()/#use_setuptools()/' setup.py %build -%{__python} setup.py build +%py_build %install rm -rf $RPM_BUILD_ROOT -%{__python} setup.py install \ - --optimize=2 \ - --skip-build \ +%py_install \ --root $RPM_BUILD_ROOT %py_postclean