mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Avoid using %{_prefix} where more specialized macros are available.
This commit is contained in:
parent
9b774d1b7d
commit
f394a912ce
55
mc.spec.in
55
mc.spec.in
@ -58,9 +58,9 @@ make
|
||||
echo $RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
install -d $RPM_BUILD_ROOT/etc/profile.d
|
||||
cp -f $RPM_BUILD_ROOT%{_prefix}/share/mc/bin/mc.{csh,sh} \
|
||||
$RPM_BUILD_ROOT/etc/profile.d
|
||||
install -d $RPM_BUILD_ROOT/%{_sysconfdir}/profile.d
|
||||
cp -f $RPM_BUILD_ROOT/%{_datadir}/mc/bin/mc.{csh,sh} \
|
||||
$RPM_BUILD_ROOT/%{_sysconfdir}/profile.d
|
||||
|
||||
|
||||
%clean
|
||||
@ -70,36 +70,39 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-, root, root)
|
||||
|
||||
%doc FAQ COPYING NEWS README
|
||||
%{_prefix}/bin/mc
|
||||
%{_prefix}/bin/mcedit
|
||||
%{_prefix}/bin/mcview
|
||||
%{_prefix}/bin/mcmfmt
|
||||
%{_prefix}/lib/mc/cons.saver
|
||||
%{_bindir}/mc
|
||||
%{_bindir}/mcedit
|
||||
%{_bindir}/mcview
|
||||
%{_bindir}/mcmfmt
|
||||
%{_libexecdir}/mc/cons.saver
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/*/man1/*
|
||||
|
||||
%config /etc/profile.d/*
|
||||
%{_prefix}/share/mc/cedit.menu
|
||||
%{_prefix}/share/mc/edit.indent.rc
|
||||
%{_prefix}/share/mc/edit.spell.rc
|
||||
%{_prefix}/share/mc/bin/*
|
||||
%{_prefix}/share/mc/extfs/*
|
||||
%{_prefix}/share/mc/mc.ext
|
||||
%{_prefix}/share/mc/mc.lib
|
||||
%{_prefix}/share/mc/mc.menu*
|
||||
%{?_with_charset:%config %{_prefix}/share/mc/mc.charsets}
|
||||
%config %{_sysconfdir}/profile.d/*
|
||||
%{_datadir}/mc/cedit.menu
|
||||
%{_datadir}/mc/edit.indent.rc
|
||||
%{_datadir}/mc/edit.spell.rc
|
||||
%{_datadir}/mc/bin/*
|
||||
%{_datadir}/mc/extfs/*
|
||||
%{_datadir}/mc/mc.ext
|
||||
%{_datadir}/mc/mc.lib
|
||||
%{_datadir}/mc/mc.menu*
|
||||
%{?_with_charset:%config %{_datadir}/mc/mc.charsets}
|
||||
|
||||
%{_prefix}/share/mc/mc.hint*
|
||||
%{_prefix}/share/mc/mc.hlp*
|
||||
%{_prefix}/share/mc/syntax/*
|
||||
%{_prefix}/share/locale/*/LC_MESSAGES/*
|
||||
%{_datadir}/mc/mc.hint*
|
||||
%{_datadir}/mc/mc.hlp*
|
||||
%{_datadir}/mc/syntax/*
|
||||
%{_datadir}/locale/*/LC_MESSAGES/*
|
||||
|
||||
%dir %{_prefix}/lib/mc
|
||||
%dir %{_prefix}/share/mc
|
||||
%dir %{_prefix}/share/mc/extfs
|
||||
%dir %{_prefix}/share/mc/syntax
|
||||
%dir %{_libexecdir}/mc
|
||||
%dir %{_datadir}/mc
|
||||
%dir %{_datadir}/mc/extfs
|
||||
%dir %{_datadir}/mc/syntax
|
||||
|
||||
%changelog
|
||||
* Mon Jan 30 2006 Pavel Roskin <proski@gnu.org>
|
||||
- Avoid using %{_prefix} where more specialized macros are available.
|
||||
|
||||
* Tue Aug 02 2005 Pavel Roskin <proski@gnu.org>
|
||||
- Replace obsolete "Copyright" with "License".
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user