Projects
home:mollekopf:branches:Kolab:Winterfell
guam-selfcontained
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
guam.spec
Changed
@@ -112,6 +112,10 @@ %{buildroot}%{_sbindir} \ %{buildroot}%{_erldir}/bin/ \ %{buildroot}%{_erllibdir}/%{realname}-%{version}/ \ + %{buildroot}%{_erllibdir}/eimap-0.4.4/ \ + %{buildroot}%{_erllibdir}/goldrush-0.1.9/ \ + %{buildroot}%{_erllibdir}/lager-3.8.1/ \ + %{buildroot}%{_erllibdir}/lager_syslog-3.0.1/ \ %if 0%{?with_systemd} %{buildroot}%{_unitdir}/ \ %else @@ -139,9 +143,18 @@ popd cp -a _build/default/rel/%{name}/bin %{buildroot}%{_erllibdir}/%{realname}-%{version}/ + +#mkdir -p %{buildroot}%{_erllibdir}/%{realname}-%{version}/ebin/ +#cp -a _build/default/rel/%{name}/lib/*/ebin/* %{buildroot}%{_erllibdir}/%{realname}-%{version}/ebin/ + cp -a _build/default/rel/%{name}/lib/%{realname}-%{version}/ebin/ %{buildroot}%{_erllibdir}/%{realname}-%{version}/ cp -a _build/default/rel/%{name}/releases/ %{buildroot}%{_erllibdir}/%{realname}-%{version}/ +cp -a _build/default/rel/%{name}/lib/eimap-0.4.4/ebin/ %{buildroot}%{_erllibdir}/eimap-0.4.4/ +cp -a _build/default/rel/%{name}/lib/goldrush-0.1.9/ebin/ %{buildroot}%{_erllibdir}/goldrush-0.1.9/ +cp -a _build/default/rel/%{name}/lib/lager-3.8.1/ebin/ %{buildroot}%{_erllibdir}/lager-3.8.1/ +cp -a _build/default/rel/%{name}/lib/lager_syslog-3.0.1/ebin/ %{buildroot}%{_erllibdir}/lager_syslog-3.0.1/ + %if 0%{?plesk} install -m 644 -p %{SOURCE100} %{buildroot}%{_sysconfdir}/guam/sys.config %endif @@ -163,8 +176,18 @@ EOF %check -# Hopeless on -0.9 -#./rebar3 eunit -v || : + +DEBUG=1 +export DEBUG + +HEX_OFFLINE=true +export HEX_OFFLINE + +REBAR_CACHE_DIR=cache/rebar3/ +export REBAR_CACHE_DIR + +./rebar3 eunit -v +./rebar3 ct -v %postun %if 0%{?with_systemd} @@ -206,7 +229,7 @@ %config(noreplace) %{_sysconfdir}/%{name}/vm.args %attr(0750,root,root) %{_sbindir}/%{name} %{_libdir}/erlang/bin/%{realname} -%{_libdir}/erlang/lib/%{realname}-%{version} +%{_libdir}/erlang/lib/ %attr(0640,root,root) %{_var}/log/%{name}/ %if 0%{?with_systemd}
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.