From 25da9815a78e979f6cc2ddd0e17205d0ded8f305 Mon Sep 17 00:00:00 2001 From: Petr Sabata Date: Feb 17 2011 14:42:26 +0000 Subject: Get rid of ugly chmod's. --- diff --git a/tintin.spec b/tintin.spec index 12d0b8d..449f07c 100644 --- a/tintin.spec +++ b/tintin.spec @@ -1,6 +1,6 @@ Name: tintin Version: 2.00.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: TinTin++, aka tt++, is a free MUD client Group: Applications/Internet License: GPLv2+ @@ -38,26 +38,27 @@ make %{?_smp_mflags} %install cd src make install DESTDIR=%{buildroot} -cd .. -chmod 644 COPYING CREDITS FAQ INSTALL README -chmod 644 SCRIPTS -chmod 644 docs/* && mv -v docs/* . -chmod 644 mods/*.mods && mv -v mods/*.mods . +cd ../mods iconv -f latin1 -t utf8 igr.mods > igr.mods.utf8 && mv igr.mods.utf8 igr.mods %files -%defattr(-,root,root,-) -%doc COPYING CREDITS FAQ INSTALL README *.mods +%defattr(-,root,root,755) +%doc %attr(644,root,root) COPYING +%doc %attr(644,root,root) CREDITS FAQ INSTALL README +%doc %attr(755,root,root) mods %{_bindir}/tt++ %files doc -%defattr(-,root,root,-) -%doc COPYING -%doc chat_protocol.txt -%doc tintin19.txt -%doc SCRIPTS +%defattr(-,root,root,755) +%doc %attr(644,root,root) COPYING +%doc %attr(644,root,root) SCRIPTS +%doc %attr(644,root,root) docs/* %changelog +* Wed Feb 16 2011 Petr Sabata - 2.00.5-4 +- Changed documentation files structure, removed chmod's in favor of attr's +- Thanks to William Lima + * Tue Feb 15 2011 Petr Sabata - 2.00.5-3 - igr.mods now gets converted to proper utf8