0.8.13-1:

- Update to 0.8.13 version (bz#1742435).
- Try build on epel8 (bz#1757824).
- Completely remove SOURCE1 sysvinit legacy.
- Reformat with spaces.
This commit is contained in:
Pavel Alexeev 2019-10-23 00:13:54 +03:00
commit 9fc53cff99
3 changed files with 28 additions and 24 deletions

1
.gitignore vendored
View file

@ -4,3 +4,4 @@
/3proxy-0.7.1.2.tgz
/3proxy-0.8.2.tar.gz
/3proxy-0.8.12.tar.gz
/3proxy-0.8.13.tar.gz

View file

@ -3,34 +3,34 @@
%global _hardened_build 1
Name: 3proxy
Version: 0.8.12
Release: 3%{?dist}
Name: 3proxy
Version: 0.8.13
Release: 1%{?dist}
Summary: Tiny but very powerful proxy
Summary(ru): Маленький, но крайне мощный прокси-сервер
Summary: Tiny but very powerful proxy
Summary(ru): Маленький, но крайне мощный прокси-сервер
License: BSD or ASL 2.0 or GPLv2+ or LGPLv2+
Url: http://3proxy.ru/?l=EN
License: BSD or ASL 2.0 or GPLv2+ or LGPLv2+
Url: http://3proxy.ru/?l=EN
Source0: https://github.com/z3APA3A/%{name}/archive/%{name}-%{version}.tar.gz
Source2: 3proxy.cfg
Source3: 3proxy.service
BuildRequires: gcc
BuildRequires: openssl-devel
Source0: https://github.com/z3APA3A/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source2: 3proxy.cfg
Source3: 3proxy.service
BuildRequires: gcc
BuildRequires: openssl-devel
# I correct config path in man only. It is fully Fedora related.
Patch0: 3proxy-0.6.1-config-path.patch
Patch0: 3proxy-0.6.1-config-path.patch
BuildRequires: systemd
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
BuildRequires: systemd
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
# This is actually needed for the %triggerun script but Requires(triggerun)
# is not valid. We can use %post because this particular %triggerun script
# should fire just after this package is installed.
Requires(post): systemd
Obsoletes: 3proxy-sysvinit < 0.8.12
Requires(post): systemd
Obsoletes: 3proxy-sysvinit < 0.8.12
%description
@ -74,14 +74,11 @@ install -m755 -D src/socks %{buildroot}%{_bindir}/socks
install -m755 -D src/tcppm %{buildroot}%{_bindir}/tcppm
install -m755 -D src/udppm %{buildroot}%{_bindir}/udppm
%if 0%{?fedora} < 23
install -pD -m755 %{SOURCE1} %{buildroot}/%{_initrddir}/%{name}
%endif
install -pD -m644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/%{name}.cfg
install -pD -m755 %{SOURCE3} %{buildroot}/%{_unitdir}/%{name}.service
for man in man/*.{3,8} ; do
install "$man" "%{buildroot}%{_mandir}/man${man:(-1)}/"
install "$man" "%{buildroot}%{_mandir}/man${man:(-1)}/"
done
@ -105,6 +102,12 @@ done
%{_unitdir}/%{name}.service
%changelog
* Tue Oct 22 2019 Pavel Alexeev <Pahan@Hubbitus.info> - 0.8.13-1
- Update to 0.8.13 version (bz#1742435).
- Try build on epel8 (bz#1757824).
- Completely remove SOURCE1 sysvinit legacy.
- Reformat with spaces.
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (3proxy-0.8.12.tar.gz) = 33412e89991055598e06210dbcd7b2f9ee6810753c8f40ada02f222def0a49047a90ff7f2efa6895bc4f8ad99193866c980de2e79464310a77cc8e63c8b9813d
SHA512 (3proxy-0.8.13.tar.gz) = 94b4a2568917c1d720276e38050a13e144d3e92ff41edd02eeebac0a6c21e6a839a58ea7dcb3abc03370e0f18452c953cfd7ad15ebac87e66b78d94fa52fbd79