## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec %global build_flags prefix=%{_prefix} lib_dir=%{_libdir} libexec_dir=%{_libexecdir}/%{name} etc_dir=%{_sysconfdir}/%{name} Name: authbind Version: 2.1.2 Release: %autorelease Summary: Allow non-root users to open restricted ports License: GPLv2 URL: https://www.chiark.greenend.org.uk/ucgi/~ian/git/authbind.git/ Source0: https://deb.debian.org/debian/pool/main/a/%{name}/%{name}_%{version}.tar.gz Patch0: authbind-makefile-fixes.patch BuildRequires: gcc BuildRequires: make %description This package allows a package to be started as non-root but still bind to low ports, without any changes to the application. %prep %autosetup -n %{name} -p1 %build %set_build_flags %make_build %{build_flags} OPTIMISE="$CFLAGS" LDFLAGS="$LDFLAGS" %install %make_install %{build_flags} STRIP=/bin/true %files %license debian/copyright %{_bindir}/%{name} %{_libdir}/lib%{name}.so.1* %{_libexecdir}/%{name} %dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}/byaddr %dir %{_sysconfdir}/%{name}/byport %dir %{_sysconfdir}/%{name}/byuid %changelog * Wed Jul 20 2022 Fedora Release Engineering 2.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 12 2022 Davide Cavalca 2.1.2-1 - Initial import; Fixes: RHBZ#2058364