RPM build fixes
parent
05bc27ed24
commit
99b70ae22a
|
@ -23,7 +23,7 @@ cp ../rpm-jilo.spec SPECS/jilo.spec
|
||||||
|
|
||||||
tar -czf "jilo-$VERSION.tar.gz" "$PACKAGE_DIR"
|
tar -czf "jilo-$VERSION.tar.gz" "$PACKAGE_DIR"
|
||||||
mv "jilo-$VERSION.tar.gz" SOURCES/
|
mv "jilo-$VERSION.tar.gz" SOURCES/
|
||||||
rm -rf "$PACKAGE_DIR"
|
|
||||||
|
|
||||||
rpmbuild --define "_topdir $(pwd)" --define "VERSION $VERSION" --define "RELEASE $RELEASE" -ba SPECS/jilo.spec
|
rpmbuild --define "_topdir $(pwd)" --define "VERSION $VERSION" --define "RELEASE $RELEASE" -ba SPECS/jilo.spec
|
||||||
|
|
||||||
|
rm -rf "$PACKAGE_DIR"
|
||||||
|
|
|
@ -2,9 +2,13 @@ Name: jilo
|
||||||
Version: 0.1.1
|
Version: 0.1.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Jitsi logs observer
|
Summary: Jitsi logs observer
|
||||||
|
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://lindeas.com/jilo
|
URL: https://lindeas.com/jilo
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
%define sourcedir %{_builddir}/%{name}-%{version}
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: bash
|
BuildRequires: bash
|
||||||
Requires: 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}/README.md
|
||||||
/usr/share/doc/%{name}/TODO.md
|
/usr/share/doc/%{name}/TODO.md
|
||||||
/usr/share/doc/%{name}/log-regexps.md
|
/usr/share/doc/%{name}/log-regexps.md
|
||||||
/usr/share/man/man8/jilo.8
|
/usr/share/man/man8/jilo.8.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jun 12 2024 Yasen Pramatarov <yasen@lindeas.com> 0.1.1
|
* Wed Jun 12 2024 Yasen Pramatarov <yasen@lindeas.com> 0.1.1
|
||||||
|
|
Loading…
Reference in New Issue