From 5097b4e42513a5fb6957d9f4d72d7d597822d8e9 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Sun, 26 Aug 2018 12:59:33 -0700 Subject: [PATCH] Remove %changelog from spec file Remove the %changelog section from the spec files since it does not get updated in the master branch. Not only does this mean the information is stale, but it can result in 'make deb' failing to build packages, issue #7825. This section should be updated for tagged releases. Reviewed-by: Giuseppe Di Natale Reviewed-by: George Melikov Signed-off-by: Brian Behlendorf Closes #7825 Closes #7827 --- rpm/generic/zfs-dkms.spec.in | 4 ---- rpm/generic/zfs-kmod.spec.in | 5 ----- rpm/generic/zfs.spec.in | 5 ----- 3 files changed, 14 deletions(-) diff --git a/rpm/generic/zfs-dkms.spec.in b/rpm/generic/zfs-dkms.spec.in index 6c800dcb8..c332d8d53 100644 --- a/rpm/generic/zfs-dkms.spec.in +++ b/rpm/generic/zfs-dkms.spec.in @@ -79,7 +79,3 @@ if [ "$SPEC_META_ALIAS" = "$DKMS_META_ALIAS" ]; then dkms remove -m %{module} -v %{version} --all %{!?not_rpm:--rpm_safe_upgrade} fi exit 0 - -%changelog -* %(date "+%a %b %d %Y") %packager %{version}-%{release} -- Automatic build by DKMS diff --git a/rpm/generic/zfs-kmod.spec.in b/rpm/generic/zfs-kmod.spec.in index f7f462a11..819a6fb9c 100644 --- a/rpm/generic/zfs-kmod.spec.in +++ b/rpm/generic/zfs-kmod.spec.in @@ -158,8 +158,3 @@ chmod u+x ${RPM_BUILD_ROOT}%{kmodinstdir_prefix}/*/extra/*/*/* %clean rm -rf $RPM_BUILD_ROOT - -%changelog -* Wed Jul 26 2017 Brian Behlendorf - 0.7.0-1 -- Released 0.7.0-1, detailed release notes are available at: -- https://github.com/zfsonlinux/zfs/releases/tag/zfs-0.7.0 diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in index a26f925e4..a4a9dc3ef 100644 --- a/rpm/generic/zfs.spec.in +++ b/rpm/generic/zfs.spec.in @@ -428,8 +428,3 @@ systemctl --system daemon-reload >/dev/null || true # ignore those files. %exclude /usr/share/initramfs-tools %endif - -%changelog -* Wed Jul 26 2017 Brian Behlendorf - 0.7.0-1 -- Released 0.7.0-1, detailed release notes are available at: -- https://github.com/zfsonlinux/zfs/releases/tag/zfs-0.7.0 -- 2.40.0