summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@eurephia.org>2020-07-30 21:29:17 +0200
committerDavid Sommerseth <dazo@eurephia.org>2020-07-30 22:02:15 +0200
commitccb52d518641d484d53b7358a750f51d0afbbdea (patch)
treeee45e785e08a15fbbcb35fcfdcb6e7346609f31e
parentb49881d71d5c2653b26a34f852576263713bde95 (diff)
downloadlogactio-ccb52d518641d484d53b7358a750f51d0afbbdea.tar.gz
logactio-ccb52d518641d484d53b7358a750f51d0afbbdea.tar.xz
logactio-ccb52d518641d484d53b7358a750f51d0afbbdea.zip
Switch to tar.xz and use git repo download url
Signed-off-by: David Sommerseth <dazo@eurephia.org>
-rw-r--r--rpm/SPECS/logactio.spec2
-rwxr-xr-xrpm/mk-rpm.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/rpm/SPECS/logactio.spec b/rpm/SPECS/logactio.spec
index 2e7d3eb..1bc72d0 100644
--- a/rpm/SPECS/logactio.spec
+++ b/rpm/SPECS/logactio.spec
@@ -5,7 +5,7 @@ Release: 1
License: GPLv2
Group: System Environment/Daemons
URL: http://fedorapeople.org/cgit/dsommers/public_git/logactio.git/
-Source0: %{name}-%{version}.tar.bz2
+Source0: https://fedorapeople.org/cgit/dsommers/public_git/%{name}.git/snapshot/%{name}-%{version}.tar.xz
Source1: logactio.sysconf
Source2: logactio.service
Source3: logactio.sysv
diff --git a/rpm/mk-rpm.sh b/rpm/mk-rpm.sh
index 2280d4f..4732840 100755
--- a/rpm/mk-rpm.sh
+++ b/rpm/mk-rpm.sh
@@ -11,8 +11,8 @@
exit 1
fi
- python3 setup.py sdist --formats=bztar
- cp dist/logactio-*.tar.bz2 rpm/SOURCES
+ python3 setup.py sdist --formats=xztar
+ cp dist/logactio-*.tar.xz rpm/SOURCES
cp init/sysv/logactio rpm/SOURCES/logactio.sysv
cp init/systemd/logactio* rpm/SOURCES/
rpmbuild -ba --define "_topdir $(pwd)/rpm" rpm/SPECS/logactio.spec