diff --git a/fedora/SPECS/gitea.spec b/fedora/SPECS/gitea.spec index 3a098aa..2526ee6 100644 --- a/fedora/SPECS/gitea.spec +++ b/fedora/SPECS/gitea.spec @@ -1,8 +1,8 @@ Name: gitea -Version: 1.6.0 -Release: 2%{?dist} +Version: 1.10.0 +Release: 1%{?dist} Summary: Gitea is a painless self-hosted Git service. -%define MyVersion %version +%define MyVersion %version %define debug_package %{nil} License: MIT @@ -12,11 +12,18 @@ Source0: %name-%MyVersion.tar.gz Source1: gitea.service BuildRequires: golang >= 1.8 +%if 0%{?rhel} >= 8 +%else BuildRequires: go-bindata +%endif BuildRequires: make Requires: git +%if 0%{?rhel} >= 8 +BuildRequires: platform-python-devel +%endif + # Temporary solution while waiting for golang and go-bindata to be built in cbs.centos.org ExclusiveArch: i686 x86_64 @@ -26,6 +33,15 @@ Gitea is a painless self-hosted Git service, built in GO %prep %setup -q -n %name-%MyVersion +%if 0%{?rhel} >= 8 +for f in \ +vendor/github.com/urfave/cli/runtests \ +vendor/github.com/urfave/cli/generate-flag-types \ +vendor/github.com/prometheus/procfs/ttar; do + pathfix.py -pni /usr/bin/python3 $f +done +%endif + %build cd ../ mkdir src/code.gitea.io -p @@ -46,7 +62,7 @@ install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_unitdir}/gitea.service %files %defattr(0644,gitea,gitea,0755) %doc LICENSE -%attr (755,gitea,gitea) %{_sharedstatedir}/gitea +%dir %attr(755,gitea,gitea) %{_sharedstatedir}/gitea %attr(755,gitea,gitea) %{_sharedstatedir}/gitea/gitea %attr(0640,gitea,gitea) %config(noreplace) %{_sysconfdir}/gitea/gitea.ini %{_unitdir}/gitea.service @@ -66,9 +82,57 @@ getent passwd gitea > /dev/null || \ %changelog +* Fri Nov 22 2019 Daniel Steiner +- Update to version 1.10.0. + +* Fri Oct 18 2019 Daniel Steiner +- Update to version 1.9.4. + +* Sat Sep 21 2019 Daniel Steiner +- Update to version 1.9.3. + +* Fri Aug 16 2019 Daniel Steiner +- Update to version 1.9.1. + +* Fri Aug 2 2019 Daniel Steiner +- Update to version 1.9.0. + +* Mon Jun 3 2019 Daniel Steiner +- Update to version 1.8.2. + +* Sat May 11 2019 Daniel Steiner +- Update to version 1.8.1. + +* Sun Apr 28 2019 Daniel Steiner +- Update to version 1.8.0. + +* Sun Apr 7 2019 Daniel Steiner +- Update to version 1.7.5. + +* Fri Mar 15 2019 Daniel Steiner +- Update to version 1.7.4. + +* Wed Feb 27 2019 Daniel Steiner +- Update to version 1.7.3. + +* Sat Feb 16 2019 Daniel Steiner +- Update to version 1.7.2. + +* Wed Jan 30 2019 Daniel Steiner +- Update to version 1.7.0. + +* Fri Jan 18 2019 Daniel Steiner +- Update to version 1.6.4. + +* Mon Dec 10 2018 Daniel Steiner +- Update to version 1.6.1. + * Mon Dec 3 2018 Daniel Steiner -- Update to 1.6.0 version on Fedora 29 +- Update to version 1.6.0. + +* Tue Nov 13 2018 Daniel Steiner +- Update to RC1. * Sun Oct 28 2018 Daniel Steiner -- initial setup for Fedora 28. +- initial setup for CentOS 7.