commit fa6167baf60ef0b211a0468e00174a38629e91cd Author: Elan Ruusamäe <g...@delfi.ee> Date: Tue Feb 3 02:58:42 2015 +0200
package examples to examplesdir eventum.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) --- diff --git a/eventum.spec b/eventum.spec index 85833aa..e475702 100644 --- a/eventum.spec +++ b/eventum.spec @@ -10,7 +10,7 @@ %bcond_with order # with experimental order patch %define subver pre1 -%define rel 0.5 +%define rel 0.6 %define php_min_version 5.3.3 %include /usr/lib/rpm/macros.php Summary: Eventum Issue / Bug tracking system @@ -454,6 +454,8 @@ This package contains the cron job. %prep %setup -qn %{name}-%{version}%{?subver:-%{subver}} +mv docs/examples . + # GPL v2 rm docs/COPYING @@ -516,6 +518,9 @@ install -d \ localedir=%{_localedir} \ DESTDIR=$RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + %{?with_order:cp -a htdocs/ajax $RPM_BUILD_ROOT%{_appdir}/htdocs} cp -a vendor $RPM_BUILD_ROOT%{_appdir} @@ -694,6 +699,8 @@ done %{_appdir}/vendor +%{_examplesdir}/%{name}-%{version} + %{systemdtmpfilesdir}/%{name}.conf %dir %attr(730,root,http) /var/run/%{name} %dir %attr(730,root,http) /var/cache/%{name} ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/eventum.git/commitdiff/23019286da77a56e1390262bd79bf6651fcd1d1c _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit