From: Jean-Marc Pigeon (Delson) Date: Mon, 16 Jun 2025 18:55:11 +0000 (-0400) Subject: Defining mailleur spooldir X-Git-Tag: tag-0.9~156 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=8bc85e5cab24fc4fc7b282534666e16f7518d3eb;p=jmp%2Fmailleur Defining mailleur spooldir --- diff --git a/Makefile b/Makefile index 6e5ef48..99b5d6e 100644 --- a/Makefile +++ b/Makefile @@ -176,6 +176,7 @@ install : @ install -d $(DESTDIR)/$(ETCDIR)/$(APPN)/ @ install -d $(DESTDIR)/$(LIBDIR)/$(APPN)/ @ install -d $(DESTDIR)/$(SBINDIR)/ + @ install -d $(DESTDIR)/$(SPOOLDIR)/$(APPN)/ @ cp -a \ bin/* \ $(DESTDIR)/$(SBINDIR)/ @@ -203,6 +204,7 @@ APPNAME = mailleur LIBDIR = /usr/lib DATADIR = /usr/share SBINDIR = /usr/sbin +SPOOLDIR= /var/spool ETCDIR = /etc CURDIR = $(shell pwd) #-------------------------------------------------------------------- diff --git a/mailleur.spec.in b/mailleur.spec.in index d0fbdee..7435dcd 100644 --- a/mailleur.spec.in +++ b/mailleur.spec.in @@ -1,5 +1,6 @@ #----------------------------------------------------------------------------- %{?!dist: %define dist @@DIST@@} +%define spooldir %{_localstatedir}/spool/ #----------------------------------------------------------------------------- Name : @@APPN@@ Version : @@VERSION@@ @@ -34,7 +35,9 @@ search about email exchange within time and transaction context. %{_sbindir}/receiver %{_sbindir}/sender %{_sbindir}/sorter -%attr(0755,root,root) %{_libdir}/%{name}/shell/*.sh +%attr(0754,root,root) %{_libdir}/%{name}/shell/*.sh +%attr(0754,root,root) %{_libdir}/%{name}/support/starting.sh +%dir %{spooldir}/%{name} #----------------------------------------------------------------------------- diff --git a/starting.sh b/support/starting.sh similarity index 100% rename from starting.sh rename to support/starting.sh