Package update problem (perl-X11-Protocol)

Duncan J Ferguson duncan_j_ferguson at yahoo.co.uk
Sat Apr 1 11:13:26 UTC 2006


I am trying to update a package I maintain, where I basically updated
one spec file, and copied that into each branch (since there should be
no other differences apart from a version update of the perl package).
The build has worked for FC-4 and devel (waiting on FC-5 being created),
but FC-3 build fails with this in the build log:

===
error: Unterminated {: {!?_with_X:\ 

  0< (empty)
error: line 31:
===
This is a diff on the spec file showing I havnt changed anything near that line:
===
$ cvs diff -r 1.1 perl-X11-Protocol.spec
For more information on using the Fedora source code repositories,
please visit http://fedoraproject.org/wiki/UsingCvs
Index: perl-X11-Protocol.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-X11-Protocol/FC-3/perl-X11-Protocol.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
2,3c2,3
< Version:        0.54
< Release:        2%{?dist}
---
> Version:        0.55
> Release:        1%{?dist}
9c9
< Source0:        http://search.cpan.org/CPAN/authors/id/S/SM/SMCCAM/X11-Protoco l-0.54.tar.gz
---
> Source0:        http://search.cpan.org/CPAN/authors/id/S/SM/SMCCAM/X11-Protoco l-0.55.tar.gz
71a72,74
> * Fri Mar 31 2006 Duncan Ferguson <duncan_j_ferguson at yahoo.co.uk> 0.55-1
> - Update to new version of X11::Protocol
>
===
and the offending line itself:
===
# Testing requires X - use "rpmbuild --with X"
%{!?_with_X:\
%{__perl} -pi -e 'print "print \"Remaining tests require X\n\"; exit 0;"
                        if /Insert your test code below/;' test.pl \
}
===

I did spot the missing '\' at the end of the %{__perl} line and have corrected it, but that has made no difference (build still fails)

The build web page is (for the latest spec file):

http://buildsys.fedoraproject.org/logs/fedora-3-extras/7098-perl-X11-Protocol-0.55-2.fc3/

What has happened such that this will no longer build (when it did originally for FC-3), and such that FC-4 and devel (FC-6?) still build fine.
What do I need to do to fix this?

Thanks

  Duncs


	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com




More information about the fedora-extras-list mailing list