This commit is contained in:
parent
87cdb8ac18
commit
cfa05e2604
@ -107,8 +107,6 @@ make install DESTDIR="%buildroot" DOCDIR="%_docdir/%name";
|
|||||||
# additional documentation
|
# additional documentation
|
||||||
mkdir -p "$b/%_docdir/%name"
|
mkdir -p "$b/%_docdir/%name"
|
||||||
install -m 0644 contrib/*.php contrib/*.pl TODO "$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";
|
mkdir -p "$b/%_unitdir" "$b/%_libexecdir/tmpfiles.d";
|
||||||
ln -s service "$b/%_sbindir/rcatheme"
|
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 -
|
d /run/atheme 0755 atheme atheme -
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# config files
|
mv "$b/%_sysconfdir/%name"/*example "$b/%_docdir/%name/"
|
||||||
# TODO: check if we should change any defaults and patch it.
|
install -pm0644 "%{S:9}" "$b/%_sysconfdir/%name/atheme.conf"
|
||||||
cp -v "$b/%_sysconfdir/%name"/atheme.conf{.example,}
|
|
||||||
cp -v "$b/%_sysconfdir/%name"/atheme.motd{.example,}
|
|
||||||
%find_lang %name
|
%find_lang %name
|
||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user