diff options
author | Daouda Lo <daouda@mandriva.com> | 2003-04-24 12:24:32 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2003-04-24 12:24:32 +0000 |
commit | f711e5a5fb9d671f049a0ba9b9ffbfd7b1e0e569 (patch) | |
tree | da2c100dae24d1d1d24f3b80a625da6d90210c4c | |
parent | 3afc72b02efc5de082930ce1c982b334b1501a26 (diff) | |
download | userdrake-f711e5a5fb9d671f049a0ba9b9ffbfd7b1e0e569.tar userdrake-f711e5a5fb9d671f049a0ba9b9ffbfd7b1e0e569.tar.gz userdrake-f711e5a5fb9d671f049a0ba9b9ffbfd7b1e0e569.tar.bz2 userdrake-f711e5a5fb9d671f049a0ba9b9ffbfd7b1e0e569.tar.xz userdrake-f711e5a5fb9d671f049a0ba9b9ffbfd7b1e0e569.zip |
change prefix to _prefix
-rw-r--r-- | userdrake.spec | 13 |
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 |