Skip to content

Commit fe1f400

Browse files
authored
Merge pull request #417 from grafuls/development
rpm: amendments for fedora
2 parents 1ddf92f + 0fd0e00 commit fe1f400

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Create Source tarball
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
package:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Create versioned tarball
15+
run: |
16+
cd rpm && make tarball
17+
18+
- name: Upload artifact
19+
uses: actions/upload-artifact@v3
20+
with:
21+
name: source-tarball
22+
path: python3-badfish-*.tar.gz

rpm/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ TARBALL = python3-badfish-$(VERSION).tar.gz
88

99
all: python3-badfish.spec python3-badfish-$(VERSION).tar.gz
1010

11+
tarball: $(TARBALL)
12+
1113
.PHONY: $(TARBALL)
1214
$(TARBALL):
1315
rm -f $(TARBALL)

rpm/python3-badfish.spec.tpl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Version: @VERSION@
1212
Release: @RELEASE@%{?dist}
1313
Summary: %{sum}
1414

15-
License: GPLv3
15+
License: GPL-3.0-or-later and MIT
1616
URL: https://github.com/%{org}/%{project}
1717
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
1818

@@ -44,3 +44,6 @@ BuildRequires: zlib-devel
4444
%changelog
4545
* @DATE@ Gonzalo Rafuls <gonza@redhat.com> - @VERSION@-@RELEASE@
4646
- built from upstream, changelog ignored
47+
48+
%check
49+
%{__python3} -m tox

0 commit comments

Comments
 (0)