From f019137be96cf86f49a81001fef47a0c7ab6aa35 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Jan 18 2018 22:51:55 +0000 Subject: Update sitelib macro for Fedora 28 Signed-off-by: Stephen Gallagher --- diff --git a/python-django-pipeline.spec b/python-django-pipeline.spec index 8be79f1..788b7bd 100644 --- a/python-django-pipeline.spec +++ b/python-django-pipeline.spec @@ -1,8 +1,10 @@ +%{!?python2_sitelib: %global python2_sitelib %{python_sitelib}} + %global srcname django-pipeline Name: python-%{srcname} Version: 1.3.27 -Release: 10%{?dist} +Release: 11%{?dist} Summary: An asset packaging library for Django Group: Applications/Internet @@ -47,17 +49,20 @@ rm -Rf django_pipeline*.egg-info # Remove the "tests" subdirectory to avoid it polluting the main python # namespace: -rm -rf $RPM_BUILD_ROOT%{python_sitelib}/tests +rm -rf $RPM_BUILD_ROOT%{python2_sitelib}/tests %files -n python2-%{srcname} %doc LICENSE -%{python_sitelib}/django_pipeline*.egg-info/ -%{python_sitelib}/pipeline/ +%{python2_sitelib}/django_pipeline*.egg-info/ +%{python2_sitelib}/pipeline/ %changelog +* Thu Jan 18 2018 Stephen Gallagher - 1.3.27-11 +- Update sitelib macro for Fedora 28 + * Thu Jan 18 2018 Stephen Gallagher - 1.3.27-10 - Rebuild for modules.