Re: FYI: rpmbuild gets slightly stricter, files listed twice now terminates build
Jeffrey Johnson <[email protected]> Tue, 24 Jan 2012 16:10:30 -0500
| Newsgroups | gmane.linux.mandrake.cooker.devel |
|---|---|
| Message-ID | <[email protected]> |
On Jan 24, 2012, at 1:06 PM, Per Øyvind Karlsen wrote: > Den 18:02 24. januar 2012 skrev Jeffrey Johnson <[email protected]> følgende: >> >> On Jan 24, 2012, at 11:36 AM, Matthew Dawkins wrote: >> >>> >>> >>> So POK just curious how do I properly do this? >>> >>> the following in a spec: >>> %dir %{_datadir}/unity >>> %{_datadir}/unity/ >>> >> >> Remove the %dir is the packaging fix here. > Or add a '*' at the end of the second line... ;p > "works" yes But lets get the trash out of *.spec please: deleting %dir is KISS, no fuss, no muss Note that you are almost certain to hit a real "brain fart" in that code soon. I've gotten burned with implementations not meeting expectations every time I've touched the code. I'm sure you will *ahem* step in something shortly. And proper engineering with explicit regression tests under buildbots before rebuilding RPM is the best fix there: nice and quiet, not disruptive to anyone else. Try-and-see please … or learn the hard way, that "works" too ;-) 73 de Jeff