From 3de8fe56ce1a25841d742fbd00dfdd314c21c3087674ede1dd61160e87cbcc00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 4 Jun 2019 14:06:43 +0000 Subject: [PATCH] - Fix fdupes call OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-css-parser?expand=0&rev=4 --- python-css-parser.changes | 5 +++++ python-css-parser.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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