diff --git a/python-css-parser.changes b/python-css-parser.changes index d1e35d7..ae8085d 100644 --- a/python-css-parser.changes +++ b/python-css-parser.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 4 14:06:32 UTC 2019 - Tomáš Chvátal + +- Fix fdupes call + ------------------------------------------------------------------- Mon Jan 7 10:31:43 UTC 2019 - Tomáš Chvátal diff --git a/python-css-parser.spec b/python-css-parser.spec index a2c58f9..6e9789c 100644 --- a/python-css-parser.spec +++ b/python-css-parser.spec @@ -51,8 +51,7 @@ sed -i "1d" src/css_parser/{parse,codec,sac,serialize,scripts/csscapture,_codec2 %install %python_install -# replace duplicate .pyo/.pyc with hardlinks -%fdupes %{buildroot}/%{python_sitelib}/css_parser/ +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py test