Skip to content

Commit 8cee499

Browse files
committed
Update packaging
1 parent 2464f98 commit 8cee499

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
dist: trusty
21
language: python
32
python:
43
- "3.4"
54
- "3.5"
6-
- "nightly"
5+
- "3.6"
76

87
install:
98
- pip install --upgrade pip

recodex-monitor.spec

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
%define name recodex-monitor
2+
%define short_name monitor
23
%define version 1.0.1
3-
%define unmangled_version 1.0.1
4-
%define unmangled_version 1.0.1
5-
%define release 1
4+
%define unmangled_version 2464f987fec22833d468faa61caba416f13402d4
5+
%define release 3
66

77
Summary: Publish ZeroMQ messages through WebSockets
88
Name: %{name}
99
Version: %{version}
1010
Release: %{release}
11-
Source0: %{name}-%{unmangled_version}.tar.gz
1211
License: MIT
1312
Group: Development/Libraries
1413
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
@@ -17,11 +16,17 @@ BuildArch: noarch
1716
Vendor: Petr Stefan <UNKNOWN>
1817
Url: https://github.com/ReCodEx/monitor
1918

19+
Source0: https://github.com/ReCodEx/%{short_name}/archive/%{unmangled_version}.tar.gz#/%{short_name}-%{unmangled_version}.tar.gz
20+
21+
%if 0%{?fedora}
22+
BuildRequires: python3 python3-devel python3-setuptools python3-pip
23+
%endif
24+
2025
%description
21-
UNKNOWN
26+
ReCodEx monitor for proxying zeromq messages to websocket channels
2227

2328
%prep
24-
%setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version}
29+
%setup -n %{short_name}-%{unmangled_version}
2530

2631
%build
2732
python3 setup.py build

0 commit comments

Comments
 (0)