Re: turn a tarball into RPM

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

 



thanks Tim,
and to all that responded.

I read up on the buildroot, stuff. Makes sense now.

steve

Tim Mooney wrote:

In regard to: Re: turn a tarball into RPM, Stephen Mah said (at 3:04pm on...:

thanks for the tip:

Now, I'm getting a weird error:


You're bypassing the buildroot.  Modern RPM really really wants you to
do buildroot packaging -- instead of dumping files into their final
location in the %install section, you install them into a temporary spot
for packaging (/var/tmp/<your-package-name-here> is common).

Read up on BuildRoot installs in Maximum RPM and elsewhere.

Checking for unpackaged file(s): /usr/lib/rpm/check-files %{buildroot}
getOutputFrom(): Broken pipe

It only happens when I have these 2 lines: install -m 644 %{SOURCE1} /usr/share/icons/foobar_enhancer.png, & /usr/share/icons/foobar_enhancer.png (under %files)

%install
cp -r ${RPM_BUILD_DIR}/foobar-enhancer /opt
install -m 644 %{SOURCE1} /usr/share/icons/foobar_enhancer.png

%files
%defattr(-,root,desktop, 0775)
/opt/foobar-enhancer/*
/usr/share/icons/foobar_enhancer.png


Tim


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux