Skip to content

Commit

Permalink
fix filename
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDuartePT committed Aug 27, 2023
1 parent e59897d commit eef66f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion deploy/build_deb_rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ sudo mv lenovolegionlinux-kmod-1.0.0-x86_64/lenovolegionlinux.spec rpmbuild/SPEC
tar --create --file lenovolegionlinux-kmod-1.0.0-x86_64.tar.gz lenovolegionlinux-kmod-1.0.0-x86_64 && rm --recursive lenovolegionlinux-kmod-1.0.0-x86_64
mv lenovolegionlinux-kmod-1.0.0-x86_64.tar.gz rpmbuild/SOURCES
cd rpmbuild && rpmbuild --define "_topdir `pwd`" -bs SPECS/lenovolegionlinux.spec
rpmbuild --nodeps --define "_topdir `pwd`" --rebuild SRPMS/dkms-lenovolegionlinux-1.0.0-1.src.rpm
rpmbuild --nodeps --define "_topdir `pwd`" --rebuild SRPMS/dkms-lenovolegionlinux-1.0.0-0.src.rpm


##BUILD PYTHON DEB
Expand Down
6 changes: 1 addition & 5 deletions kernel_module/lenovolegionlinux.spec
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,4 @@ dkms install -m %{dkms_name} -v %{version} -q --force || :
dkms remove -m %{dkms_name} -v %{version} -q --all || :

%files
%{_usrsrc}/%{dkms_name}-%{version}

%changelog
* Sa Aug 28 2023 Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com> - 1.0.0
- Intial Release 1.0.0.
%{_usrsrc}/%{dkms_name}-%{version}

0 comments on commit eef66f5

Please sign in to comment.