Commit 38d2d7eb authored by Vitaly Lipatov's avatar Vitaly Lipatov

eepm.spec: add rpmbasefix

parent 5c6956d1
...@@ -25,6 +25,8 @@ Provides: epm = %EVR ...@@ -25,6 +25,8 @@ Provides: epm = %EVR
# FIXHERE: Replace with target platform package manager # FIXHERE: Replace with target platform package manager
Requires: apt rpm Requires: apt rpm
Conflicts: rpmbasefix
%endif %endif
%if_disabled sepplay %if_disabled sepplay
...@@ -94,6 +96,11 @@ make -C po ...@@ -94,6 +96,11 @@ make -C po
%make_install -C po install DESTDIR=%buildroot \ %make_install -C po install DESTDIR=%buildroot \
datadir=%_datadir datadir=%_datadir
%find_lang %name %find_lang %name
cat >%buildroot/%_bindir/rpmbasefix <<EOF
#!/bin/sh -x
exec epm --verbose fix
EOF
chmod 0755 %buildroot/%_bindir/rpmbasefix
%files -f %name.lang %files -f %name.lang
%doc README.md TODO LICENSE %doc README.md TODO LICENSE
...@@ -115,6 +122,9 @@ make -C po ...@@ -115,6 +122,9 @@ make -C po
%_bindir/serv %_bindir/serv
%_bindir/distr_info %_bindir/distr_info
%_bindir/esu %_bindir/esu
%if "%_vendor" == "alt"
%_bindir/rpmbasefix
%endif
%dir /var/lib/eepm/ %dir /var/lib/eepm/
%dir /var/cache/eepm/ %dir /var/cache/eepm/
%_man1dir/* %_man1dir/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment