###############################################################################
name = lighttpd
-version = 1.4.29
+version = 1.4.30
ver_major = 1.4
release = 2
end
configure_options += \
- --libdir=/usr/lib/%{name} \
+ --libdir=%{libdir}/%{name} \
--with-ldap \
--with-openssl
configfiles
/etc/lighttpd.conf
end
-
- prerequires = shadow-utils systemd-units
+
+ prerequires
+ shadow-utils
+ systemd-units
+ end
script prein
%{create_user}
end
-
+
script postin
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
end
-
+
script preun
/bin/systemctl --no-reload disable lighttpd.service >/dev/null 2>&1 || :
/bin/systemctl stop lighttpd.service >/dev/null 2>&1 || :
end
-
+
script postup
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
/bin/systemctl try-restart lighttpd.service >/dev/null 2>&1 || :
end
end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
end