[Bug 895541] Review Request: ptbl - Periodic Table

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

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=895541

--- Comment #36 from Michael Schwendt <mschwendt@xxxxxxxxx> ---
Hmmm, treat it a bit more like homework. ;-)  You currently do this:

| %install
| make install DESTDIR=%{buildroot}
| %find_lang ptbl-manual --with-gnome
| find %{buildroot} -type f

You've added the "find" command there probably because you want to examine the
%buildroot contents. Examine the rpmbuild output to see what files get
installed into there by the "make install …" invocation". Adjust the %files
section accordingly. Repeat that step for every file/dir you install manually
in the %install section.

If you like to learn about an advanced packaging technique, note that you can
save yourself the rebuilding/compiling of the program (which can be helpful for
much larger programs). You can run "rpmbuild --short-circuit -bi ptbl.spec" to
process only the %install section. Repeatedly and till the %files section will
be correct and rpmbuild will be happy.

> install -p -m 0755 images/* %{buildroot}%{_datadir}/%{name}/images/%{name}.png
> But it is not working.

Sure it is! You neglect the fact that ptbl's "make install …" installs the
image file to a different location. That's the place rpmbuild complains about,
because there is no matching entry in %files anymore.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=qGDglGmVDT&a=cc_unsubscribe
_______________________________________________
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]