[DRBD-cvs] drbd by phil; New drbd.spec file (actually drbd.spec.i...

drbd-user@lists.linbit.com drbd-user@lists.linbit.com
Thu, 5 Feb 2004 10:07:24 +0100 (CET)


DRBD CVS committal

Author  : phil
Module  : drbd

Dir     : drbd


Modified Files:
	Makefile 
Added Files:
	drbd.spec.in 
Removed Files:
	drbd.spec 


Log Message:
New drbd.spec file (actually drbd.spec.in) by 
LGE and Sean Reifschneider

===================================================================
RCS file: /var/lib/cvs/drbd/drbd/Makefile,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- Makefile	22 Jan 2004 14:32:51 -0000	1.25
+++ Makefile	5 Feb 2004 09:07:19 -0000	1.26
@@ -89,9 +89,9 @@
 	[ -h dist/SOURCES/drbd-$(REL_VERSION).tar.gz ] || \
 	  $(LN_S) $(PWD)/drbd-$(REL_VERSION).tar.gz \
 	          $(PWD)/dist/SOURCES/drbd-$(REL_VERSION).tar.gz
-	if test drbd.spec -nt dist/SPECS/drbd.spec ; then \
+	if test drbd.spec.in -nt dist/SPECS/drbd.spec ; then \
 	   sed -e "s/^\(Version:\).*/\1 $(REL_VERSION)/;" \
-	       -e "s/^\(Packager:\).*/\1 $(USER)@$(HOSTNAME)/;" drbd.spec \
+	       -e "s/^\(Packager:\).*/\1 $(USER)@$(HOSTNAME)/;" < drbd.spec.in \
 	   > dist/SPECS/drbd.spec ; \
 	fi
 	$(RPMBUILD) -ba \