mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2025-01-08 17:02:41 +00:00
Remove empty packages from spec
This commit is contained in:
parent
d34f06d3c3
commit
dfac632747
1 changed files with 5 additions and 55 deletions
60
dist/rpm/arsse.spec
vendored
60
dist/rpm/arsse.spec
vendored
|
@ -22,15 +22,16 @@ Requires: php-filter
|
||||||
# The below extensions are part of the PHP core in recent versions
|
# The below extensions are part of the PHP core in recent versions
|
||||||
Requires: php-hash
|
Requires: php-hash
|
||||||
Requires: php-json
|
Requires: php-json
|
||||||
# A database option is required; a Web server option is required as well, but what we package is not exhaustive
|
# A database option is required
|
||||||
Requires: arsse-conf-db
|
Requires: (php-sqlite or php-pgsql)
|
||||||
# User and Group
|
# User and Group
|
||||||
Requires: user(arsse) group(arsse)
|
Requires: user(arsse) group(arsse)
|
||||||
|
|
||||||
%systemd_requires
|
%systemd_requires
|
||||||
|
|
||||||
Recommends: arsse-sqlite
|
Recommends: php-sqlite
|
||||||
Suggests: php-curl
|
Suggests: php-curl
|
||||||
|
Suggests: (php-pgsql if postgresql-server)
|
||||||
Obsoletes: arsse < %{version}
|
Obsoletes: arsse < %{version}
|
||||||
|
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
|
@ -42,57 +43,6 @@ client protocols such as Tiny Tiny RSS, Nextcloud News and Miniflux,
|
||||||
allowing you to use compatible clients for many protocols with a single
|
allowing you to use compatible clients for many protocols with a single
|
||||||
server.
|
server.
|
||||||
|
|
||||||
%package sqlite
|
|
||||||
Summary: SQLite database configuration for The Arsse
|
|
||||||
Group: Productivity/Networking/Web/Utilities
|
|
||||||
Requires: (php-sqlite or php-pdo_sqlite)
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
Conflicts: arsse-pgsql
|
|
||||||
Conflicts: arsse-mysql
|
|
||||||
Provides: arsse-config-db
|
|
||||||
Provides: arsse-sqlite = %{version}
|
|
||||||
Obsoletes: arsse-sqlite < %{version}
|
|
||||||
|
|
||||||
%description sqlite
|
|
||||||
Configures The Arsse to use an SQLite database. This is the default
|
|
||||||
option and is suitable for most installations
|
|
||||||
|
|
||||||
%package pgsql
|
|
||||||
Summary: PostgreSQL database configuration for The Arsse
|
|
||||||
Group: Productivity/Networking/Web/Utilities
|
|
||||||
Requires: (php-pgsql or php-pdo_pgsql)
|
|
||||||
Requires: postgresql-server >= 10
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
Conflicts: arsse-sqlite
|
|
||||||
Conflicts: arsse-mysql
|
|
||||||
Provides: arsse-config-db
|
|
||||||
Provides: arsse-pgsql = %{version}
|
|
||||||
Obsoletes: arsse-pgsql < %{version}
|
|
||||||
|
|
||||||
%description pgsql
|
|
||||||
Configures The Arsse to use a PostgreSQL database.
|
|
||||||
|
|
||||||
%package mysql
|
|
||||||
Summary: MySQL database configuration for The Arsse
|
|
||||||
Group: Productivity/Networking/Web/Utilities
|
|
||||||
Requires: (php-mysql or php-pdo_mysql)
|
|
||||||
Requires: mysql-server >= 8.0
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
Conflicts: arsse-sqlite
|
|
||||||
Conflicts: arsse-pgsql
|
|
||||||
# OpenSUSE only packages MariaDb, which does not worth with The Arsse
|
|
||||||
#Provides: arsse-config-db
|
|
||||||
Provides: arsse-mysql = %{version}
|
|
||||||
Obsoletes: arsse-mysql < %{version}
|
|
||||||
|
|
||||||
%description mysql
|
|
||||||
Configures The Arsse to use a MySQL database. Using this package is not
|
|
||||||
recommended, but it is provided for those who wish to use an existing MySQL
|
|
||||||
installation.
|
|
||||||
|
|
||||||
Note that MariaDb is not compatible. See https://jira.mariadb.org/browse/MDEV-18511
|
|
||||||
for details.
|
|
||||||
|
|
||||||
%package config-nginx-fpm
|
%package config-nginx-fpm
|
||||||
Summary: Nginx Web server configuration for The Arsse using PHP-FPM
|
Summary: Nginx Web server configuration for The Arsse using PHP-FPM
|
||||||
Group: Productivity/Networking/Web/Utilities
|
Group: Productivity/Networking/Web/Utilities
|
||||||
|
@ -172,4 +122,4 @@ install -m 644 dist/sysuser.conf %{buildroot}%{_sysusersdir}/system-user-arsse.c
|
||||||
%service_del_postun arsse.service
|
%service_del_postun arsse.service
|
||||||
%service_del_postun_without_restart arsse.service
|
%service_del_postun_without_restart arsse.service
|
||||||
|
|
||||||
%pre -n system-user-arsse -f arsse.pre
|
%pre -n system-user-arsse -f arsse.pre
|
||||||
|
|
Loading…
Reference in a new issue