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 4
View file
guam.spec
Changed
@@ -111,11 +111,7 @@ %{buildroot}%{_sysconfdir}/%{name}/ \ %{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/ \ + %{buildroot}%{_erllibdir}/ \ %if 0%{?with_systemd} %{buildroot}%{_unitdir}/ \ %else @@ -144,16 +140,14 @@ 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/ +# Copy over all lib dirs +cp -a _build/default/rel/%{name}/lib/* %{buildroot}%{_erllibdir}/ -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}/ +# Remove the sources (FIXME doesn't work?) +rm -rf _build/default/rel/%{name}/lib/*/src -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/ +# Copy over the release directory as well +cp -a _build/default/rel/%{name}/releases/ %{buildroot}%{_erllibdir}/%{realname}-%{version}/ %if 0%{?plesk} install -m 644 -p %{SOURCE100} %{buildroot}%{_sysconfdir}/guam/sys.config
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
.