aboutsummaryrefslogtreecommitdiffstats
path: root/userdrake.spec
diff options
context:
space:
mode:
Diffstat (limited to 'userdrake.spec')
-rw-r--r--userdrake.spec13
1 files changed, 7 insertions, 6 deletions
diff --git a/userdrake.spec b/userdrake.spec
index 1a3f3ed..d699304 100644
--- a/userdrake.spec
+++ b/userdrake.spec
@@ -31,15 +31,15 @@ rm -rf %{buildroot}
%build
cd USER
-%{__perl} Makefile.PL INSTALLDIRS=vendor PREFIX=%{prefix}
-make OPTIMIZE="$RPM_OPT_FLAGS" PREFIX=%{prefix}
+%{__perl} Makefile.PL INSTALLDIRS=vendor PREFIX=%{_prefix}
+make OPTIMIZE="$RPM_OPT_FLAGS" PREFIX=%{_prefix}
%install
rm -rf %{buildroot}
make prefix=%{buildroot} install
cd USER
-%makeinstall PREFIX=$RPM_BUILD_ROOT%{prefix}
+%makeinstall PREFIX=$RPM_BUILD_ROOT%{_prefix}
mkdir -p $RPM_BUILD_ROOT%{_menudir}
cat > $RPM_BUILD_ROOT%{_menudir}/%{name} << EOF
@@ -53,7 +53,7 @@ command="/usr/sbin/userdrake2"
EOF
#install lang
-%{find_lang} userdrake
+#%{find_lang} userdrake
%post
%{update_menus}
@@ -64,12 +64,13 @@ EOF
%clean
rm -rf %{buildroot}
-%files -f userdrake.lang
+%files
+#-f userdrake.lang
%defattr(-,root,root)
%doc README COPYING
%{_prefix}/sbin/*
%{_datadir}/userdrake
-%{_libdir}/libDrakX/userdrake
+#%{_libdir}/libDrakX/userdrake
%{_menudir}/%{name}
%{perl_vendorarch}/USER.pm
%{perl_vendorarch}/USER