]> git.pld-linux.org Git - packages/python-webcolors.git/blobdiff - python-webcolors.spec
- release 2 (by relup.sh)
[packages/python-webcolors.git] / python-webcolors.spec
index eb87966d7e038691f91c02e9f26ea1739a469de3..e1962cc9f6195e65687e4d08469719a2d4f1aca9 100644 (file)
@@ -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:       1
+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
This page took 0.145219 seconds and 4 git commands to generate.