Explorar o código

155782 - Don't include CVS directories in source rpm

Nathan Kinder %!s(int64=20) %!d(string=hai) anos
pai
achega
6079c7707f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ldap/cm/Makefile

+ 1 - 1
ldap/cm/Makefile

@@ -764,7 +764,7 @@ ifdef BUILD_RPM
 	if [ ! -f $(RPM_FILE_BASE).tar.gz ] ; then \
 		if [ ! -f $(RPM_FILE_BASE) ] ; then \
 			ln -s $$builddir $(RPM_FILE_BASE) ; \
-		fi ; tar cfh - --exclude \*/built/\* $(RPM_FILE_BASE) | gzip > $(RPM_FILE_BASE).tar.gz ; \
+		fi ; tar cfh - --exclude \*/built --exclude \*/CVS $(RPM_FILE_BASE) --exclude \*/branding --exclude \*/RHEL* | gzip > $(RPM_FILE_BASE).tar.gz ; \
 		rm $(RPM_FILE_BASE) ; \
 	fi
 # execute the RPM build