Remove some superfluousness

This commit is contained in:
Daniel Demus 2025-01-02 18:51:17 +01:00
parent 989815594f
commit e0d50801be

View File

@ -8,11 +8,11 @@ restorecon -R /var/lib/surrogator; \
Name: surrogator Name: surrogator
Summary: Simple open source Libravatar compatible avatar image server written in PHP Summary: Simple open source Libravatar compatible avatar image server written in PHP
Version: 0.3.0 Version: 0.3.0
Release: 8%{?dist} Release: 10%{?dist}
Group: System Environment/Daemons Group: System Environment/Daemons
License: AGPL-3.0-or-later License: AGPL-3.0-or-later
Source0: surrogator-0.3.0.tar.bz2 Source0: surrogator-%{version}.tar.bz2
Source1: surrogator.config.php Source1: surrogator.config.php
Source2: surrogator.conf Source2: surrogator.conf
Source3: README-Fedora Source3: README-Fedora
@ -23,8 +23,7 @@ Source6: surrogator.fc
URL: https://sourceforge.net/p/surrogator/wiki/Home/ URL: https://sourceforge.net/p/surrogator/wiki/Home/
Requires: php >= 5 Requires: php >= 5
Requires: webserver Requires: surrogator-selinux
Requires: surrogator
BuildArch: noarch BuildArch: noarch
%description %description
@ -42,30 +41,29 @@ Features:
* Supports the mm fallback image (mystery man) * Supports the mm fallback image (mystery man)
%package httpd %package httpd
Summary: A htppd config to enable surrogator on an apache server Summary: A httpd config to enable surrogator on an Apache server
Requires: surrogator Requires: surrogator
Requires: httpd-core Requires: webserver
%description httpd %description httpd
Simple open source Libravatar compatible avatar image server written Simple open source Libravatar compatible avatar image server written
in PHP. in PHP.
This package contains an http config file that enables the service on This package contains an http config file that enables the service on
an apache server. an Apache server.
%package selinux %package selinux
Summary: SELinux policy module for surrogator Summary: SELinux policy module for surrogator
Group: System Environment/Base Group: System Environment/Base
Requires: policycoreutils-python-utils, libselinux-utils Requires: libselinux-utils
Requires: surrogator, surrogator-http
Requires(post): selinux-policy-base >= %{selinux_policyver}, policycoreutils-python-utils Requires(post): selinux-policy-base >= %{selinux_policyver}, policycoreutils-python-utils
Requires(postun): policycoreutils-python-utils Requires(postun): policycoreutils-python-utils
Requires(post): surrogator
BuildRequires: selinux-policy-devel BuildRequires: selinux-policy-devel
BuildArch: noarch BuildArch: noarch
%description selinux %description selinux
This package installs and sets up the SELinux policy security module for surrogator. This package installs and sets up the SELinux policy security module
for surrogator.
%prep %prep