Strange patch problem (not being fully applied)

Mamoru Tasaka mtasaka at ioa.s.u-tokyo.ac.jp
Sat Nov 29 15:06:34 UTC 2008


Paul wrote, at 11/29/2008 11:09 PM +9:00:
> Hi,
> 
> I'm trying to get mono-tools-2.2 pre1 into rawhide but have hit a snag
> with a patch which is not getting correctly applied. The daft thing is
> that the second part it, but the first thing isn't!
> 
> Below is that patch (in part). The uninstall hook patch is applied, but
> not the install hook part. This is happening on both my home box and on
> koji. Nothing else is hitting this particular makefile.in. Any ideas?
>
> --- mono-tools-2.2/gendarme/rules/Makefile.in	2008-11-17
> 17:01:20.000000000 +0000
> +++ mono-tools-2.2/gendarme/rules/Makefile-new.in	2008-11-29
> 13:22:55.000000000 +0000
> @@ -526,10 +526,10 @@
>  
>  
>  install-data-hook:
> -	$(INSTALL) -c -m 0644 $(addprefix $(srcdir)/, rules.xml)
> $(DESTDIR)$(prefix)/lib/gendarme;
> +	$(INSTALL) -c -m 0644 $(addprefix $(srcdir)/, rules.xml)
> $(DESTDIR)$(libdir)/gendarme;
>  
>  uninstall-hook:
> -	rm -f $(DESTDIR)$(prefix)/lib/gendarme/`basename rules.xml`;
> +	rm -f $(DESTDIR)$(libdir)/gendarme/`basename rules.xml`;
>  
>  test:
>  	for ASM in $(SUBDIRS); do \
> 
> TTFN
> 
> Paul

This patch modifies Makefile.in, however mono-tools.spec says
after this patch is applied autoreconf is called, which 
perhaps regenerates Makefile.in from (unmodified) Makefile.am, 
which I guess is the reason.

Regards,
Mamoru




More information about the fedora-devel-list mailing list