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

Re: Help with build failure (updating mercurial)



On Sun, Jun 15, 2008 at 09:58:53AM -0400, Neal Becker wrote:
> gmane.linux.network.networkmanager.devel
> http://koji.fedoraproject.org/koji/taskinfo?taskID=662698
> ...
> error: File must begin with "/": unset
> error: File must begin with "/": DISPLAY
> Checking for unpackaged
> file(s): /usr/lib/rpm/check-files /var/tmp/mercurial-1.0.1-3.fc10-root
> RPM build errors:
>     File must begin with "/": unset
>     File must begin with "/": DISPLAY
> 
> What's causing this?


My guess is the commented out %check.  This section generally would
come before %files, after %build.  Delete those lines, and it builds
fine.


--- mercurial.spec.orig	  2008-06-16 00:02:53.000000000 -0500
+++ mercurial.spec	  2008-06-16 00:04:37.000000000 -0500
@@ -162,9 +162,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libexecdir}/mercurial/
 %{_sysconfdir}/mercurial/hgrc.d/hgk.rc
 
-#%%check
-#cd tests && python run-tests.py
-
 %changelog
 * Sun Jun 15 2008 Neal Becker <ndbecker2 gmail com> - 1.0.1-4
 - Bitten by expansion of commented out macro (again)


-- 
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux


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