Skip to content

Commit

Permalink
py36 bump since there is a matching package in epel now
Browse files Browse the repository at this point in the history
  • Loading branch information
spameier committed Sep 4, 2020
1 parent f5e0e86 commit 27341fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .travis/rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

set -xe

curl -o /etc/yum.repos.d/sendemeldung.repo https://download.opensuse.org/repositories/home:/radiorabe:/sendemeldung/CentOS_7/home:radiorabe:sendemeldung.repo

chown root:root suisa_sendemeldung.spec

create-source-tarball.sh /git suisa_sendemeldung-master.tar.gz
Expand Down
6 changes: 2 additions & 4 deletions suisa_sendemeldung.spec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#
%global srcname suisa_sendemeldung

%{?el7:%global python3_pkgversion 34}
%{?el7:%global python3_pkgversion 36}

Name: %{srcname}
Version: master
Expand All @@ -48,6 +48,7 @@ BuildRequires: python3-devel
BuildRequires: systemd
Requires(pre): shadow-utils
Requires: python%{python3_pkgversion}-configargparse
Requires: python%{python3_pkgversion}-pytz
Requires: python%{python3_pkgversion}-requests
%{?python_enable_dependency_generator}

Expand All @@ -74,9 +75,6 @@ install etc/%{srcname}.conf %{buildroot}%{_sysconfdir}
install -d %{buildroot}%{_sysconfdir}/sysconfig
install etc/sysconfig/%{srcname} %{buildroot}%{_sysconfdir}/sysconfig

%check
%{__python3} setup.py test

%pre
getent group %{srcname} >/dev/null || groupadd -r %{srcname}
getent passwd %{srcname} >/dev/null || \
Expand Down

0 comments on commit 27341fc

Please sign in to comment.