--- Makefile | 4 ++-- createrepo.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile index 60bb9db..d23ad8b 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ pkgincludedir = $(includedir)/$(PKGNAME) top_builddir = # all dirs -DIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(sysconfdir)/bash_completion.d \ +DIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(datadir)/bash-completion/completions \ $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(mandir) @@ -65,7 +65,7 @@ check: install: all installdirs $(INSTALL_MODULES) $(srcdir)/$(MODULES) $(DESTDIR)$(pkgdatadir) - $(INSTALL_DATA) $(PKGNAME).bash $(DESTDIR)$(sysconfdir)/bash_completion.d + $(INSTALL_DATA) $(PKGNAME).bash $(DESTDIR)$(datadir)/bash-completion/completions/$(PKGNAME) for subdir in $(SUBDIRS) ; do \ $(MAKE) -C $$subdir install VERSION=$(VERSION) PKGNAME=$(PKGNAME); \ done diff --git a/createrepo.spec b/createrepo.spec index eea7092..e94b36b 100644 --- a/createrepo.spec +++ b/createrepo.spec @@ -32,7 +32,7 @@ make DESTDIR=$RPM_BUILD_ROOT sysconfdir=%{_sysconfdir} install %defattr(-, root, root) %dir %{_datadir}/%{name} %doc ChangeLog README COPYING COPYING.lib -%{_sysconfdir}/bash_completion.d/ +%{_datadir}/bash-completion/completions/createrepo %{_datadir}/%{name}/* %{_bindir}/%{name} %{_bindir}/modifyrepo -- 1.7.11.7 _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel