Builds for Fedora 39

This commit is contained in:
2023-11-24 11:59:44 +01:00
parent 549d181d7a
commit 1ad85a5fbe
3 changed files with 16 additions and 7 deletions

View File

@@ -6,13 +6,16 @@ Summary: Crowdsec - An open-source, lightweight agent to detect and respo
License: MIT
URL: https://crowdsec.net
Source0: https://github.com/crowdsecurity/%{name}/archive/v%{version}.tar.gz
Source0: %{name}.tar.gz
Source1: 80-%{name}.preset
Patch0: crowdsec.unit.patch
Patch1: user.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: systemd
BuildRequires: git
BuildRequires: re2-devel
BuildRequires: golang >= 1.21
Requires: crontabs
%{?fc33:BuildRequires: systemd-rpm-macros}
%{?fc34:BuildRequires: systemd-rpm-macros}
@@ -28,12 +31,16 @@ Requires: crontabs
%global __mangle_shebangs_exclude_from /usr/bin/env
%prep
%setup -q -T -b 0
%setup -n %{name}
cd ..
rm -rf %{name}
git clone https://github.com/crowdsecurity/crowdsec
cd %{name}
%patch -P 0
%patch -P 1
%build
make BUILD_VERSION=v%{version} build
sed -i "s#/usr/local/lib/crowdsec/plugins/#%{_libdir}/%{name}/plugins/#g" config/config.yaml
%install
@@ -74,7 +81,6 @@ install -m 600 cmd/notification-splunk/splunk.yaml %{buildroot}%{_sysconfdir}/cr
install -m 600 cmd/notification-email/email.yaml %{buildroot}%{_sysconfdir}/crowdsec/notifications/
install -m 600 cmd/notification-sentinel/sentinel.yaml %{buildroot}%{_sysconfdir}/crowdsec/notifications/
%clean
rm -rf %{buildroot}

View File

@@ -2,8 +2,8 @@
%define navidrome_user navidrome
%define debug_package %{nil}
Name: navidrome
Version: 0.49.3
Release: 2%{?dist}
Version: 0.50.1
Release: 1%{?dist}
Summary: Navidrome is a self-hosted, open source music server and streamer
Group: System
@@ -100,6 +100,9 @@ fi
%{_systemd_util_dir}/system/%{name}.service
%changelog
* Thu Nov 23 2023 Daniel Steiner <daniel.steiner@dsteiner.ch>
- Update to 0.50.1.
* Thu Feb 23 2023 Daniel Steiner <daniel.steiner@dsteiner.ch>
- Update to 0.49.3.

View File

@@ -1,6 +1,6 @@
Name: sshpiper
Version: 1.2.3
Release: 1git%{?dist}
Release: 3git%{?dist}
Summary: Reverse proxy for sshd.
%define debug_package %{nil}
%define _build_id_links none