On Fri, Aug 6, 2010 at 7:30 PM, Akshay Dua wrote: > Hi everyone, > > I was trying to package gnuplot 4.4 and hoping to get it reviewed. > This is my first time packaging. Current version of gnuplot in repo > for fc13 is 4.2.6. I wanted to upgrade it mainly for the pdfcairo > terminal support. > > However, I am getting an error while packaging with mock. Its failing > during an install step because it can't find the file "Gnuplot" in > /usr/share/X11/app-defaults. I am not sure how to get this file to the > right place before gnuplot is actually packaged. I didn't see it in > the sources at the package database either. I am not sure, but looking > at the code, it seems gnuplot actually creates the file "Gnuplot". The > full log can be found at > https://fedoraproject.org/wiki/File:Gnuplot_44_mock_build.log > > Here's the relevant part: > > ============ > + mv /builddir/build/BUILDROOT/gnuplot-4.4.0-1.fc13.i386/usr/lib/X11/app-default > s/Gnuplot /builddir/build/BUILDROOT/gnuplot-4.4.0-1.fc13.i386/usr/share/X11/app-defaults/Gnuplot > mv: cannot stat > `/builddir/build/BUILDROOT/gnuplot-4.4.0-1.fc13.i386/usr/lib/X11/app-defaults/Gnuplot': > No such file or directory About 20 lines before this error, you can see install -p -m 644 Gnuplot '/builddir/build/BUILDROOT/gnuplot-4.4.0-1.fc13.i386/usr/share/gnuplot/4.4/app-defaults' Apparently, the default installation path for Gnuplot has changed. I would leave it there if there is no other compelling reason. Make sure to update your modifications accordingly, e.g. the 'sed' you have in %prep. Orcan -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel