diff --git a/minidlna.spec b/minidlna.spec index b26ce9f..9c6ba8b 100644 --- a/minidlna.spec +++ b/minidlna.spec @@ -49,7 +49,7 @@ and http://www.dlna.org/ for mode details on DLNA. CPPFLAGS="`pkg-config --cflags libavcodec libavformat libavutil`" export CPPFLAGS ./autogen.sh -%configure2_5x \ +%configure \ --with-log-path=%{_logdir} \ --with-db-path=%{_localstatedir}/cache \ --with-os-name="%{distribution}"\ @@ -59,7 +59,7 @@ export CPPFLAGS %make %install -%makeinstall_std +%make_install install -D -p -m 0644 %{SOURCE5} %{buildroot}%{_unitdir}/%{name}.service install -m 644 -D minidlna.conf %{buildroot}%{_sysconfdir}/minidlna.conf