[Bug 585719] Review Request: wxformbuilder - The OpenSource wxWidgets Designer, GUI Builder, and RAD Tool

bugzilla at redhat.com bugzilla at redhat.com
Mon Apr 26 20:11:57 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


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

Terje Røsten <terjeros at phys.ntnu.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |terjeros at phys.ntnu.no

--- Comment #3 from Terje Røsten <terjeros at phys.ntnu.no> 2010-04-26 16:11:52 EDT ---
> > - You could do %{__mkdir} -p
> > %{buildroot}%{_datadir}/icons/hicolor/48x48/mimetypes
> >   Instead all the mkdirs above
> 
> Done

Or add -D to install, which will create dirs as needed e.g.

%{__mkdir} -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
install -p install/linux/data/gnome/usr/share/pixmaps/%{name}.png \
           %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png

could be done as:

install -D -p install/linux/data/gnome/usr/share/pixmaps/%{name}.png \
           %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png

you might add -m as well, to set correct mode:

install -m 0644 -D -p  install/linux/data/gnome/usr/share/pixmaps/%{name}.png \
           %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the package-review mailing list