Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report. Summary: Review Request: pypar2 - graphical frontend to par2cmdline https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=229490 ------- Additional Comments From paul@xxxxxxxxxxxx 2007-03-01 10:06 EST ------- (In reply to comment #7) > I tried this way: > ls -s ../..%{_datadir}/%{name}/src/main.py %{buildroot}%{_bindir}/%{name} > > it's work but symlink point like that : > > /usr/bin/pypar2 -> ../../usr/share/pypar2/src/main.py This method assumes that %{_bindir} is two directory levels down from the root directory, which is OK for Fedora but might cause issues for people wanting to use the package elsewhere (e.g. with %{_bindir} = /usr/site/bin etc.) A simple way to avoid the problem is to create the symlink as absolute within the buildroot and then use the symlinks utility to convert it to an optimized relative link: ln -s %{buildroot}%{_datadir}/%{name}/src/main.py %{buildroot}%{_bindir}/%{name} symlinks -cs %{buildroot}%{_bindir} Result on Fedora: /usr/bin/pypar2 -> ../share/pypar2/src/main.py If you take this approach, you'll need to add symlinks as a buildrequire. -- Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. _______________________________________________ Fedora-package-review mailing list Fedora-package-review@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-package-review