[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: turn a tarball into RPM
- From: Tim Mooney <mooney dogbert cc ndsu NoDak edu>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: turn a tarball into RPM
- Date: Tue, 31 Aug 2004 17:13:28 -0500 (CDT)
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
--
Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]