Minor packaging fixes
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 1 Sep 2010 19:54:51 +0000 (12:54 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 1 Sep 2010 22:42:32 +0000 (15:42 -0700)
The GIT file was removed from the tree because I have stopped
using TopGit.  Because of this is must also be removed from
the top level Makefile.am as will as the zfs.spec.in file
which referenced it.

Fix type in lib/libzpool/Makefile.am which was preventing
the needed zrlock.h header from being included by 'make dist'.
I simply had the name wrong in the Makefile.am.

Regenerated autogen.sh build products.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Makefile.am
Makefile.in
autogen.sh
lib/libzpool/Makefile.am
lib/libzpool/Makefile.in
zfs.spec.in

index 3689d1f..5a0791b 100644 (file)
@@ -13,7 +13,7 @@ SUBDIRS = $(USER_DIR) $(KERNEL_DIR)
 AUTOMAKE_OPTIONS = foreign dist-zip
 EXTRA_DIST  = autogen.sh zfs.spec.in zfs-modules.spec.in
 EXTRA_DIST += config/config.awk config/rpm.am config/deb.am config/tgz.am
-EXTRA_DIST += META DISCLAIMER COPYRIGHT GIT README.markdown
+EXTRA_DIST += META DISCLAIMER COPYRIGHT README.markdown
 EXTRA_DIST += OPENSOLARIS.LICENSE ZFS.RELEASE
 
 noinst_HEADERS = zfs_config.h
@@ -24,11 +24,10 @@ distclean-local::
                -o -name .pc -o -name .hg -o -name .git \) -prune -o \
                \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
                -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
-               -o -name '.*.rej' -o -name 'aclocal.m4' -o -size 0 \
+               -o -name '.*.rej' -o -name '.script-config' -o -size 0 \
                -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
                -o -name 'Makefile' -o -name 'Module.symvers' \
-               -o -name '*.order' -o -name '*.markers' \
-               -o -name '.script-config' \) \
+               -o -name '*.order' -o -name '*.markers' \) \
                -type f -print | xargs $(RM)
 
 if CONFIG_KERNEL
index c91470e..87ed50c 100644 (file)
@@ -326,8 +326,8 @@ SUBDIRS = $(USER_DIR) $(KERNEL_DIR)
 AUTOMAKE_OPTIONS = foreign dist-zip
 EXTRA_DIST = autogen.sh zfs.spec.in zfs-modules.spec.in \
        config/config.awk config/rpm.am config/deb.am config/tgz.am \
-       META DISCLAIMER COPYRIGHT GIT README.markdown \
-       OPENSOLARIS.LICENSE ZFS.RELEASE
+       META DISCLAIMER COPYRIGHT README.markdown OPENSOLARIS.LICENSE \
+       ZFS.RELEASE
 noinst_HEADERS = zfs_config.h
 all: zfs_config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
@@ -924,11 +924,10 @@ distclean-local::
                -o -name .pc -o -name .hg -o -name .git \) -prune -o \
                \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
                -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
-               -o -name '.*.rej' -o -name 'aclocal.m4' -o -size 0 \
+               -o -name '.*.rej' -o -name '.script-config' -o -size 0 \
                -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
                -o -name 'Makefile' -o -name 'Module.symvers' \
-               -o -name '*.order' -o -name '*.markers' \
-               -o -name '.script-config' \) \
+               -o -name '*.order' -o -name '*.markers' \) \
                -type f -print | xargs $(RM)
 
 @CONFIG_KERNEL_TRUE@install-data-local:
index 728000a..aba740f 100644 (file)
@@ -5,4 +5,3 @@ libtoolize --automake --copy
 autoheader &&
 automake --add-missing --include-deps --copy
 autoconf
-rm -rf autom4te.cache aclocal.m4
index 2df3fb7..f91b4d0 100644 (file)
@@ -152,13 +152,13 @@ libzpool_la_SOURCES = \
        ${top_srcdir}/module/zfs/include/sys/zfs_stat.h \
        ${top_srcdir}/module/zfs/include/sys/zfs_vfsops.h \
        ${top_srcdir}/module/zfs/include/sys/zfs_znode.h \
-       ${top_srcdir}/module/zfs/include/sys/zfs_zrlock.h \
        ${top_srcdir}/module/zfs/include/sys/zil.h \
        ${top_srcdir}/module/zfs/include/sys/zil_impl.h \
        ${top_srcdir}/module/zfs/include/sys/zio_checksum.h \
        ${top_srcdir}/module/zfs/include/sys/zio_compress.h \
        ${top_srcdir}/module/zfs/include/sys/zio.h \
        ${top_srcdir}/module/zfs/include/sys/zio_impl.h \
+       ${top_srcdir}/module/zfs/include/sys/zrlock.h \
        ${top_srcdir}/module/zfs/include/sys/zvol.h \
        ${top_srcdir}/module/zfs/include/sys/fm/protocol.h \
        ${top_srcdir}/module/zfs/include/sys/fm/util.h \
index 9ee45fa..79bd73d 100644 (file)
@@ -516,13 +516,13 @@ libzpool_la_SOURCES = \
        ${top_srcdir}/module/zfs/include/sys/zfs_stat.h \
        ${top_srcdir}/module/zfs/include/sys/zfs_vfsops.h \
        ${top_srcdir}/module/zfs/include/sys/zfs_znode.h \
-       ${top_srcdir}/module/zfs/include/sys/zfs_zrlock.h \
        ${top_srcdir}/module/zfs/include/sys/zil.h \
        ${top_srcdir}/module/zfs/include/sys/zil_impl.h \
        ${top_srcdir}/module/zfs/include/sys/zio_checksum.h \
        ${top_srcdir}/module/zfs/include/sys/zio_compress.h \
        ${top_srcdir}/module/zfs/include/sys/zio.h \
        ${top_srcdir}/module/zfs/include/sys/zio_impl.h \
+       ${top_srcdir}/module/zfs/include/sys/zrlock.h \
        ${top_srcdir}/module/zfs/include/sys/zvol.h \
        ${top_srcdir}/module/zfs/include/sys/fm/protocol.h \
        ${top_srcdir}/module/zfs/include/sys/fm/util.h \
index 17e0131..9bec437 100644 (file)
@@ -60,7 +60,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-, root, root)
 %doc AUTHORS ChangeLog COPYING COPYRIGHT DISCLAIMER
-%doc GIT OPENSOLARIS.LICENSE README.markdown ZFS.RELEASE
+%doc OPENSOLARIS.LICENSE README.markdown ZFS.RELEASE
 %{_sbindir}/*
 %{_bindir}/*
 %{_libdir}/*