[Bug 828544] Review Request: megaglest-data - Mega Glest data files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=828544

--- Comment #10 from Simone Caronni <negativo17@xxxxxxxxx> ---
In addition to the above comments, please change the spec file as this to avoid
confusion and data directory ownership problems with megaglest:

%install
make install DESTDIR=${RPM_BUILD_ROOT} -C build
rm -fr ${RPM_BUILD_ROOT}%{_datadir}/megaglest/docs

%files
%doc docs/*
%{_datadir}/megaglest/configuration.xml
%{_datadir}/megaglest/data/
%{_datadir}/megaglest/glest*
%{_datadir}/megaglest/maps/
%{_datadir}/megaglest/megaglest.bmp
%{_datadir}/megaglest/scenarios/
%{_datadir}/megaglest/techs/
%{_datadir}/megaglest/tilesets/
%{_datadir}/megaglest/tutorials/

This way "%{_datadir}/megaglest" will be owned by "megaglest", the docs will be
in the proper place in "%{_docdir}/%{name}-%{version}/*" and we don't get the
chance of installing "megaglest-data" without the actual
"%{_datadir}/megaglest/" data folder already in place in the filesystem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]