From: Jean-Marc Pigeon (Delson) Date: Mon, 16 Jun 2025 23:43:02 +0000 (-0400) Subject: Adjusting spec file to use shared library X-Git-Tag: tag-0.9~149 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=0223e5876433bfdb1ee8eeb75da43a0f53bd5e49;p=jmp%2Fmailleur Adjusting spec file to use shared library --- diff --git a/Makefile b/Makefile index 8b9b9aa..7274ac7 100644 --- a/Makefile +++ b/Makefile @@ -192,6 +192,9 @@ install : shell \ support \ $(DESTDIR)/$(LIBDIR)/$(APPN)/ + @ cp -a \ + shared/lib* \ + $(DESTDIR)/$(LIBDIR)/$(APPN)/ #-------------------------------------------------------------------- SUBDIR = \ diff --git a/Makefile.dist b/Makefile.dist index 1378a7c..1a6ee16 100644 --- a/Makefile.dist +++ b/Makefile.dist @@ -33,6 +33,7 @@ tarfile : clean $(APLV)/bin \ $(APLV)/lib \ $(APLV)/linux \ + $(APLV)/shared \ $(APLV)/shell \ $(APLV)/support \ $(APLV) @@ -45,6 +46,9 @@ tarfile : clean @ cp -a \ shell/getsysos.sh \ $(APLV)/shell/ + @ cp -a \ + shared/* \ + $(APLV)/shared/ @ cp -a support/*.sh \ $(APLV)/support @ cp -a app/Makefile $(APLV)/app/Makefile diff --git a/mailleur.spec.in b/mailleur.spec.in index 597c6cc..30c2107 100644 --- a/mailleur.spec.in +++ b/mailleur.spec.in @@ -33,6 +33,7 @@ search about email exchange within time and transaction context. %attr(0755,root,root) %{_datadir}/%{name}/linux/osukiss/receiver %attr(0755,root,root) %{_datadir}/%{name}/linux/osukiss/sorter %{_sbindir}/chkspf +%{_sbindir}/feeder %{_sbindir}/receiver %{_sbindir}/sender %{_sbindir}/sorter @@ -132,6 +133,8 @@ case "$OS" in Summary : mailleur using postgresql as Data-base #----------------------------------------------------------------------------- + +Requires : %{name} Requires : postgresql-server #----------------------------------------------------------------------------- @@ -141,7 +144,7 @@ Requires : postgresql-server #----------------------------------------------------------------------------- %files postgresql %defattr(-,root,root,-) -%{_sbindir}/feeder +%{_libdir}/%{name}/libposql.so.1* #============================================================================= %prep