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

clog target from Makefile.common



Hello,

should the output from "make clog" in package's repo contain the first
line with "date name EVR"? I think it is not necessary as the commit
message.

Solution is attached.

instead:
* Tue Aug 21 2007 Dan Horak <dan[at]danny.cz> 1.5.6-2
- update license tag
- rebuild for F8

it will produce only:
- update license tag
- rebuild for F8



		Dan

--- Makefile.common.orig	2007-08-21 17:22:45.000000000 +0200
+++ Makefile.common	2007-08-21 17:23:03.000000000 +0200
@@ -502,7 +502,7 @@
 	@(cd $(RPM_BUILD_DIR)/.. && gendiff $(NAME)-$(VERSION) .$(SUFFIX) | $(FILTERDIFF)) >> $(PATCHFILE) || true
 
 clog: $(SPECFILE)
-	@sed -n '/^%changelog/,/^$$/{/^%/d;/^$$/d;s/%%/%/g;p}' $(SPECFILE) | tee $@
+	@sed -n '/^%changelog/,/^$$/{/^%/d;/^$$/d;s/%%/%/g;p}' $(SPECFILE) | sed '1d' | tee $@
 
 help:
 	@echo "Usage: make <target>"

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