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