From fc87a4b8585ad994fdf41b60431bcc051750ae32 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 31 Aug 2014 21:22:22 +0300 Subject: [PATCH] clean (most of) vendors --- aegisub.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/aegisub.spec b/aegisub.spec index 357579f..a4f51ee 100644 --- a/aegisub.spec +++ b/aegisub.spec @@ -1,6 +1,7 @@ # TODO -# - needs wx-config to build with wxWidgets -# - system luajit +# - unvendor vendor/luabins +# - unvendor vendor/luajit +# - unvendor vendor/universalchardet # - our cxxflags # Conditional build: @@ -52,6 +53,10 @@ support using these advanced functions with ease. %prep %setup -q +mv vendor{,.keep} +mkdir vendor +mv vendor.keep/{luabins,luajit,universalchardet} vendor + %build %configure \ --with-player-audio=PulseAudio \ @@ -63,7 +68,8 @@ support using these advanced functions with ease. %install rm -rf $RPM_BUILD_ROOT -%make_install +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT %find_lang %{name}-32 -- 2.43.0