]> git.pld-linux.org Git - packages/eventum.git/blobdiff - eventum.spec
Use relative symlink for webapp config dir
[packages/eventum.git] / eventum.spec
index 810e71918b0618ba3b2a88a3ac9db45276c05267..f12a825fd933fc4a06b152a081a8f9256b39ce8e 100644 (file)
@@ -9,12 +9,12 @@
 Summary:       Eventum Issue / Bug tracking system
 Summary(pl.UTF-8):     Eventum - system śledzenia spraw/błędów
 Name:          eventum
-Version:       3.9.5
+Version:       3.9.11
 Release:       %{?subver:1.%{subver}.%{?githash:g%{githash}.}}%{rel}
 License:       GPL v2+
 Group:         Applications/WWW
 Source0:       https://github.com/eventum/eventum/releases/download/v%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: a983c36bc990e8534786af01d71d560b
+# Source0-md5: 43ee83c85b1303ebe5bad5df8bd1f75e
 #Source0:      https://github.com/eventum/eventum/releases/download/snapshot/%{name}-%{version}-%{subver}-g%{githash}.tar.xz
 Source1:       %{name}-apache.conf
 Source2:       %{name}-mail-queue.cron
@@ -239,8 +239,6 @@ Summary(pl.UTF-8):  Przekazywanie poczty Eventum - Postfix
 Group:         Applications/Mail
 Requires:      %{name} = %{version}-%{release}
 Requires:      postfix
-Provides:      eventum(router)
-Obsoletes:     eventum(router)
 
 %description router-postfix
 This package provides way of routing notes and emails back to Eventum
@@ -326,7 +324,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d \
        $RPM_BUILD_ROOT{%{_webappdir}/{custom_field,templates,workflow},%{_sysconfdir},%{_bindir},%{_sbindir},%{_libdir}} \
        $RPM_BUILD_ROOT/etc/{rc.d/init.d,cron.d,logrotate.d,sysconfig} \
-       $RPM_BUILD_ROOT/var/{run,lib}/%{name} \
+       $RPM_BUILD_ROOT/var/{run,lib,spool}/%{name} \
        $RPM_BUILD_ROOT/var/log/{archive/,}%{name} \
        $RPM_BUILD_ROOT/var/lib/%{name}/{routed_{emails,drafts,notes},storage} \
        $RPM_BUILD_ROOT/var/cache/%{name}/doctrine/proxies \
@@ -337,7 +335,7 @@ install -d \
        localedir=%{_localedir} \
        DESTDIR=$RPM_BUILD_ROOT
 
-ln -s %{_webappdir} $RPM_BUILD_ROOT%{_appdir}/config
+ln -s --relative $RPM_BUILD_ROOT{%{_webappdir},%{_appdir}/config}
 
 cp -a vendor $RPM_BUILD_ROOT%{_appdir}
 
@@ -511,6 +509,7 @@ fi
 
 %dir /var/lib/%{name}
 %dir %attr(730,root,http) /var/run/%{name}
+%dir %attr(730,root,http) /var/spool/%{name}
 %dir %attr(730,root,http) /var/cache/%{name}
 %dir %attr(730,root,http) /var/cache/%{name}/doctrine
 %dir %attr(730,root,http) /var/cache/%{name}/doctrine/proxies
This page took 0.034404 seconds and 4 git commands to generate.