RPM build fixes

main
Yasen Pramatarov 2024-06-17 19:25:59 +03:00
parent 05bc27ed24
commit 99b70ae22a
2 changed files with 6 additions and 2 deletions

View File

@ -23,7 +23,7 @@ cp ../rpm-jilo.spec SPECS/jilo.spec
tar -czf "jilo-$VERSION.tar.gz" "$PACKAGE_DIR"
mv "jilo-$VERSION.tar.gz" SOURCES/
rm -rf "$PACKAGE_DIR"
rpmbuild --define "_topdir $(pwd)" --define "VERSION $VERSION" --define "RELEASE $RELEASE" -ba SPECS/jilo.spec
rm -rf "$PACKAGE_DIR"

View File

@ -2,9 +2,13 @@ Name: jilo
Version: 0.1.1
Release: 1%{?dist}
Summary: Jitsi logs observer
License: GPLv2
URL: https://lindeas.com/jilo
Source0: %{name}-%{version}.tar.gz
%define sourcedir %{_builddir}/%{name}-%{version}
BuildArch: noarch
BuildRequires: bash
Requires: bash
@ -46,7 +50,7 @@ cp %{sourcedir}/man-jilo.8 %{buildroot}/usr/share/man/man8/jilo.8
/usr/share/doc/%{name}/README.md
/usr/share/doc/%{name}/TODO.md
/usr/share/doc/%{name}/log-regexps.md
/usr/share/man/man8/jilo.8
/usr/share/man/man8/jilo.8.gz
%changelog
* Wed Jun 12 2024 Yasen Pramatarov <yasen@lindeas.com> 0.1.1