Search
j0ke.net Open Build Service
>
Projects
>
devel
:
erlang
>
CouchDB
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 50
[-]
[+]
Changed
couchdb.spec
@@ -4,7 +4,7 @@ Summary: The next generation of web storage Group: Development/Libraries License: GPL -Source0: apache-%{name}-%{version}.tar.gz +Source0: apache-%{name}-%{version}.tar.bz2 Source1: couchdb.apache.conf Source2: couchdb.suse.init BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -43,6 +43,7 @@ mkdir -p %{buildroot}/var/adm/fillup-templates/ mkdir -p %{buildroot}/%{_docdir}/%{name} mkdir -p %{buildroot}/%{_sysconfdir}/apache2/conf.d +chmod -x %{buildroot}%{_datadir}/doc/%{name}/* mv %{buildroot}/%{_sysconfdir}/rc.d/couchdb %{buildroot}/%{_sysconfdir}/init.d/ mv %{buildroot}/%{_sysconfdir}/default/couchdb %{buildroot}/var/adm/fillup-templates/sysconfig.%{name} mv %{buildroot}%{_datadir}/doc/%{name}/* %{buildroot}/%{_docdir}/%{name}/ @@ -75,6 +76,7 @@ %fillup_and_insserv couchdb %postun +%insserv_cleanup if [ $1 = 0 ]; then /bin/grep '^%{name}:' /etc/passwd > /dev/null 2>&1 && /usr/sbin/userdel %{name} || %nnmmsg "User %{name} could not be deleted." fi