Commit 25971445 authored by Blashkin Konstantin's avatar Blashkin Konstantin

Последние наработки в spec и toml файлах

parent f0b55b27
...@@ -11,7 +11,6 @@ License: Etersoft ...@@ -11,7 +11,6 @@ License: Etersoft
Url: https://gitlab.eterfund.ru/owl2/hddtempserial Url: https://gitlab.eterfund.ru/owl2/hddtempserial
# Source-url: https://gitlab.eterfund.ru/owl2/%name/-/archive/v%version/%name-v%version.tar # Source-url: https://gitlab.eterfund.ru/owl2/%name/-/archive/v%version/%name-v%version.tar
Source: %name-%version.tar
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-module-serial BuildRequires: python3-module-serial
...@@ -20,21 +19,26 @@ BuildRequires: hddtemp ...@@ -20,21 +19,26 @@ BuildRequires: hddtemp
Requires: python3 > 3.4 Requires: python3 > 3.4
%description %description
Script for the fan control board, transfers temperature data in the system to the control board. Script for the fan control board, transfers temperature data in the system to the control board.
%prep %prep
%setup #%setup
%build
%pyproject_build
%install %install
%pyproject_install %pyproject_install
%python3_prune
%files %files
%doc readme.md %_bindir/*
%python3_sitelibdir/%oname/ %_menudir/*
%_datadir/%name
#%files
#%doc readme.md
#%python3_sitelibdir/%oname/
%changelog %changelog
* Wed Aug 10 2022 Pablo Soldatoff <soldatoff@etersoft.ru> 1.0.0-alt1 * Wed Aug 10 2022 Pablo Soldatoff <soldatoff@etersoft.ru> 1.0.0-alt1
......
# As per https://github.com/pypa/setuptools/blob/main/docs/userguide/quickstart.rst # As per https://github.com/pypa/setuptools/blob/main/docs/userguide/quickstart"
[build-system] [build-system]
requires = ["hatchling"] requires = ["setuptools>=61.0"]
build-backend = "hatchling.build" build-backend = "setuptools.build_meta"
[project] [project]
name = "hddtempserial" name = "hddtempserial"
...@@ -20,4 +20,4 @@ classifiers = [ ...@@ -20,4 +20,4 @@ classifiers = [
] ]
[project.urls] [project.urls]
"Homepage" = "https://gitlab.eterfund.ru/owl2/hddtempserial/tree/master" "Homepage" = "https://gitlab.eterfund.ru/owl2/hddtempserial/tree/master"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment