Jan Engelhardt 2014-10-10 20:25:01 +00:00 committed by Git OBS Bridge
parent 87cdb8ac18
commit cfa05e2604

View File

@ -107,8 +107,6 @@ make install DESTDIR="%buildroot" DOCDIR="%_docdir/%name";
# additional documentation
mkdir -p "$b/%_docdir/%name"
install -m 0644 contrib/*.php contrib/*.pl TODO "$b/%_docdir/%name"
mv "$b/%_sysconfdir/%name"/*.example "$b/%_docdir/%name/"
install -pm0644 "%{S:9}" "$b/%_sysconfdir/%name/atheme.conf"
mkdir -p "$b/%_unitdir" "$b/%_libexecdir/tmpfiles.d";
ln -s service "$b/%_sbindir/rcatheme"
@ -126,10 +124,8 @@ cat >"$b/%_prefix/lib/tmpfiles.d/atheme.conf" <<-EOF
d /run/atheme 0755 atheme atheme -
EOF
# config files
# TODO: check if we should change any defaults and patch it.
cp -v "$b/%_sysconfdir/%name"/atheme.conf{.example,}
cp -v "$b/%_sysconfdir/%name"/atheme.motd{.example,}
mv "$b/%_sysconfdir/%name"/*example "$b/%_docdir/%name/"
install -pm0644 "%{S:9}" "$b/%_sysconfdir/%name/atheme.conf"
%find_lang %name
%fdupes %buildroot/%_prefix