!10 [sync] PR-7: del rpmautospec to fix eur build error and modify doc to help

From: @openeuler-sync-bot 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
This commit is contained in:
openeuler-ci-bot 2023-11-10 06:58:12 +00:00 committed by Gitee
commit 9bdd913647
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,3 @@
## START: Set by rpmautospec
## (rpmautospec version 0.3.0)
%global commit 8b5f1f37b5b75829fc72d38e7b5d4bcbf8a26d55 %global commit 8b5f1f37b5b75829fc72d38e7b5d4bcbf8a26d55
# We choose not to package the “stb_include” library (stb_include.h) because, # We choose not to package the “stb_include” library (stb_include.h) because,
@ -26,7 +23,7 @@ Name: stb
# https://github.com/nothings/stb/issues/1101 # https://github.com/nothings/stb/issues/1101
%global snapinfo .20220908git8b5f1f3 %global snapinfo .20220908git8b5f1f3
Version: 0%{snapinfo} Version: 0%{snapinfo}
Release: 0.4 Release: 0.5
Summary: Single-file public domain libraries for C/C++ Summary: Single-file public domain libraries for C/C++
# See LICENSE. # See LICENSE.
@ -571,14 +568,7 @@ bytes per quad. There are designs to allow much more compact formats with a
slight reduction in shader features, but no roadmap for actually implementing slight reduction in shader features, but no roadmap for actually implementing
them. them.
%package_help
%package doc
Summary: Documentation for stb
BuildArch: noarch
%description doc
Documentation for stb.
%prep %prep
%autosetup -n stb-%{commit} -p1 %autosetup -n stb-%{commit} -p1
@ -700,7 +690,7 @@ EOF
# Empty metapackage # Empty metapackage
%files doc %files help
%license LICENSE %license LICENSE
%doc docs %doc docs
%doc README.md %doc README.md
@ -878,6 +868,9 @@ EOF
%changelog %changelog
* Thu Sep 14 2023 Darssin <2020303249@mail.nwpu.edu.cn> - 0.20220908git8b5f1f3-0.5
- del rpmautospec to fix eur build error and modify doc to help
* Mon Dec 5 2022 peijiankang <peijiankang@kylinos.cn> - 0.20220908git8b5f1f3-0.4 * Mon Dec 5 2022 peijiankang <peijiankang@kylinos.cn> - 0.20220908git8b5f1f3-0.4
- Init package for openEuler - Init package for openEuler