From e15cc781721384cd70954b0a07796609a8d175fe Mon Sep 17 00:00:00 2001 From: Jorge Gallegos Date: Wed, 30 Dec 2015 22:38:10 -0800 Subject: [PATCH] Using _mono macros instead of hardcoded paths --- uwsgi.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/uwsgi.spec b/uwsgi.spec index eef3446..da0cda4 100644 --- a/uwsgi.spec +++ b/uwsgi.spec @@ -1172,7 +1172,7 @@ mkdir -p %{buildroot}%{_javadir} mkdir -p %{buildroot}/run/%{name} mkdir -p %{buildroot}%{_httpd_moddir} %if %{with mono} -mkdir -p %{buildroot}/usr/lib/mono/gac/ +mkdir -p %{buildroot}%{_monogacdir} %endif mkdir docs tar -C docs/ --strip-components=1 -xvzf uwsgi-docs.tar.gz @@ -1480,11 +1480,9 @@ fi %if %{with mono} %files -n %{name}-plugin-mono -%dir /usr/lib/mono/%{name}/ -%dir /usr/lib/mono/gac/%{name}/ %{_libdir}/%{name}/mono_plugin.so -/usr/lib/mono/%{name}/*.dll -/usr/lib/mono/gac/%{name}/*/*.dll +%{_monodir}/%{name}/ +%{_monogacdir}/%{name}/ %endif %files -n %{name}-plugin-nagios