1
0
mirror of https://github.com/gluster/gluster-block.git synced 2026-02-05 12:45:33 +01:00

spec: fix rpms build errors

Problems:
--------
$ make rpms
[...]
warning: bogus date in %changelog: Sun Apr 3 2019
error: %changelog not in descending chronological order
make: *** [rpms] Error 1

/usr/bin/install -c -m 644 gluster-block.logrotate               \
	/data/gluster-block/build/rpmbuild/BUILDROOT/gluster-block-0.3-1.x86_64/etc/logrotate.d/gluster-block;
/usr/bin/install: cannot stat 'gluster-block.logrotate': No such file or directory

Solution:
--------
Correct the date in the changelog and update the date to when the
PR is merged.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
Xiubo Li
2019-04-23 09:15:12 +08:00
committed by Prasanna Kumar Kalever
parent 5b81651c6e
commit f54d320bee
3 changed files with 8 additions and 5 deletions

View File

@@ -4,6 +4,8 @@ SUBDIRS = rpc utils cli daemon systemd docs extras tests
DISTCLEANFILES = Makefile.in gluster-block.spec autom4te.cache
noinst_HEADERS = version.h config.h
CLEANFILES = *~ gluster-block.spec
EXTRA_DIST = autogen.sh README.md COPYING-GPLV2 COPYING-LGPLV3 \

View File

@@ -1,4 +1,5 @@
EXTRA_DIST = replace-node.sh wait-for-bricks.sh upgrade_activities.sh
EXTRA_DIST = replace-node.sh wait-for-bricks.sh upgrade_activities.sh \
gluster-blockd.logrotate
DISTCLEANFILES = Makefile.in
@@ -11,11 +12,11 @@ install-data-local:
$(INSTALL_DATA) -m 755 $(top_srcdir)/extras/upgrade_activities.sh \
$(DESTDIR)$(GLUSTER_BLOCKD_LIBEXECDIR)/upgrade_activities.sh; \
$(MKDIR_P) $(DESTDIR)$(GLUSTER_BLOCKD_LOGROTATEDIR); \
$(INSTALL_DATA) -m 644 gluster-blockd.logrotate \
$(INSTALL_DATA) gluster-blockd.logrotate \
$(DESTDIR)$(GLUSTER_BLOCKD_LOGROTATEDIR)/gluster-blockd;
uninstall-local:
rm -f $(DESTDIR)$(GLUSTER_BLOCKD_LIBEXECDIR)/wait-for-bricks.sh \
$(DESTDIR)$(GLUSTER_BLOCKD_LIBEXECDIR)/upgrade_activities.sh \
$(DESTDIR)$(GLUSTER_BLOCKD_WORKDIR)/gb_upgrade.status \
$(DESTDIR)$(GLUSTER_BLOCKD_LOGROTATEDIR)/gluster-block;
$(DESTDIR)$(GLUSTER_BLOCKD_LOGROTATEDIR)/gluster-blockd;

View File

@@ -101,11 +101,11 @@ rm -rf ${RPM_BUILD_ROOT}
* Mon Apr 22 2019 Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
- update targetcli and tcmu-runner dependency version
* Fri Aug 10 2018 Niels de Vos <ndevos@redhat.com>
* Mon Apr 15 2019 Niels de Vos <ndevos@redhat.com>
- use the modern libtirpc package, will be removed from glibc
- new Fedora releases require rpcgen (unbundled from glibc)
* Sun Apr 3 2019 Xiubo Li <xiubli@redhat.com>
* Wed Apr 03 2019 Xiubo Li <xiubli@redhat.com>
- Add logrotate support
* Sun Oct 14 2018 Prasanna Kumar Kalever <prasanna.kalever@redhat.com>