From 933d9dc16902b1996c8fdca8682372b548c970db Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Tue, 2 Jun 2020 19:12:47 -0400 Subject: simplified modifications and improved spec --- minimun.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'minimun.spec') diff --git a/minimun.spec b/minimun.spec index 4580006..440b6f7 100644 --- a/minimun.spec +++ b/minimun.spec @@ -1,7 +1,7 @@ Summary: A perl cgi/pdfTeX script for doc generation Name: minimun Version: 1.0 -Release: 1 +Release: 2 License: GPL, Unknown Source: https://hrhr.dev/src/minimun.tar.gz URL: https://git.hrhr.dev/minimun/about @@ -10,6 +10,8 @@ Vendor: Holden Rohrer Packager: Holden Rohrer BuildArch: noarch Requires: perl +Requires(pre): shadow-utils +BuildRequires: make %description This script builds award documents and room name sheets, for letter-size @@ -17,6 +19,11 @@ paper. The code is under GPLv3, but the logo's license is unknown. %global debug_package %{nil} +%pre +getent group minimun >/dev/null || groupadd -r minimun +getent passwd minimun >/dev/null || useradd -r -s /sbin/nologin\ + -g minimun -c "miniMUN cgi account" -d /usr/lib/minimun -M minimun + %prep %setup -- cgit