SOURCES: cogito-share_common_scripts.patch (NEW) - fix noarch erro...

pluto pluto at pld-linux.org
Sun Apr 16 17:29:45 CEST 2006


Author: pluto                        Date: Sun Apr 16 15:29:45 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix noarch error: cogito-0.17.2-1.noarch.rpm files differ among builders

---- Files affected:
SOURCES:
   cogito-share_common_scripts.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/cogito-share_common_scripts.patch
diff -u /dev/null SOURCES/cogito-share_common_scripts.patch:1.1
--- /dev/null	Sun Apr 16 17:29:45 2006
+++ SOURCES/cogito-share_common_scripts.patch	Sun Apr 16 17:29:40 2006
@@ -0,0 +1,40 @@
+--- cogito-0.17.2/Makefile.orig	2006-04-08 03:02:49.000000000 +0200
++++ cogito-0.17.2/Makefile	2006-04-16 17:16:49.000000000 +0200
+@@ -85,22 +85,22 @@
+ 		ln -s $$new $(DESTDIR)$(bindir)/$$old; \
+ 	done
+ 	$(INSTALL) -m755 -d $(DESTDIR)$(libdir)
+-	$(INSTALL) $(LIB_SCRIPT) $(DESTDIR)$(libdir)
+ 	cd $(DESTDIR)$(bindir); \
+ 	for file in $(SCRIPT) $(GEN_SCRIPT); do \
+-		sed -e 's/\$${COGITO_LIB}/\$${COGITO_LIB:-$(sedlibdir)\/}/g' \
+-		    -e 's/\$${COGITO_SHARE}/\$${COGITO_SHARE:-$(sedsharedir)\/}/g' \
++		sed -e 's/\$${COGITO_LIB}/$(sedsharedir)/g' \
++		    -e 's/\$${COGITO_SHARE}/$(sedsharedir)/g' \
+ 		       $$file > $$file.new; \
+ 		cat $$file.new > $$file; rm $$file.new; \
+ 	done
+-	cd $(DESTDIR)$(libdir); \
++	cd $(DESTDIR)$(sharedir); \
+ 	for file in $(LIB_SCRIPT); do \
+-		sed -e 's/\$${COGITO_LIB}/\$${COGITO_LIB:-$(sedlibdir)\/}/g' \
+-		    -e 's/\$${COGITO_SHARE}/\$${COGITO_SHARE:-$(sedsharedir)\/}/g' \
++		sed -e 's/\$${COGITO_LIB}/$(sedsharedir)/g' \
++		    -e 's/\$${COGITO_SHARE}/$(sedsharedir)/g' \
+ 		       $$file > $$file.new; \
+ 		cat $$file.new > $$file; rm $$file.new; \
+ 	done
+ 	$(INSTALL) -m755 -d $(DESTDIR)$(sharedir)
++	$(INSTALL) $(LIB_SCRIPT) $(DESTDIR)$(sharedir)
+ 	$(INSTALL) -m644 $(SHARE_FILES) $(DESTDIR)$(sharedir)
+ 
+ install-doc:
+@@ -108,7 +108,7 @@
+ 
+ uninstall:
+ 	cd $(DESTDIR)$(bindir) && rm -f $(SCRIPT) $(GEN_SCRIPT)
+-	cd $(DESTDIR)$(libdir) && rm -f $(LIB_SCRIPT)
++	cd $(DESTDIR)$(sharedir) && rm -f $(LIB_SCRIPT)
+ 	cd $(DESTDIR)$(sharedir) && rm -f $(SHARE_FILES)
+ 
+ 
================================================================


More information about the pld-cvs-commit mailing list