26 Commits

Author SHA1 Message Date
HeliC829 2a112cda41 for me version 2026-05-19 19:28:34 +08:00
misaka00251 e5e251134c Merge pull request 'Fix output format' (#3) from HeliC829/go2spec:master into master
Reviewed-on: misaka00251/go2spec#3
2026-04-14 08:22:21 +00:00
HeliC829 4ba04416b4 Use GITHUB_TOKEN to access GitHub and avoid access limit
Attempt to get GITHUB_TOKEN from environment variables, to avoid GitHub access limit
2026-04-14 16:17:34 +08:00
HeliC829 c3045d0cfe Only exit with error if folder is non-empty 2026-04-14 16:10:00 +08:00
HeliC829 c4cf02616a Fix output format 2026-02-28 11:18:38 +00:00
misaka00251 0bd6b8008b Merge pull request '优化依赖生成及包名输入,方便打包' (#2) from HeliC829/go2spec:master into master
Reviewed-on: misaka00251/go2spec#2
2026-02-12 07:39:47 +00:00
HeliC829 326dc35d51 Avoid unnecessary package name
For most packages, it's enough to use first three parts. If the fourth start with 'v' (version number), keep the fourth part.
2026-02-12 15:25:40 +08:00
HeliC829 9d66df6d16 Remove input URL scheme 2026-02-12 15:20:59 +08:00
HeliC829 dafc545bb6 Remove prep/build/check part, they was replace by go-rpm-macros 2026-02-09 11:14:10 +08:00
HeliC829 0f07c4ba1a Write full commit hash id into spec 2026-02-09 00:12:59 +08:00
HeliC829 dae5376f71 Adjust the spec folder detection logic 2026-02-09 00:12:59 +08:00
HeliC829 00f01556c0 Add more infomation for spec 2026-02-09 00:12:59 +08:00
misaka00251 2ad0fc9bf5 Fix panic in shortHostName when processing domain names that are too short to strip the suffix. 2026-01-04 14:33:36 +08:00
misaka00251 7ff1953987 Update changes 2025-12-02 23:59:52 +08:00
misaka00251 5f6190628a Change golang(xxx) to go(xxx) 2025-12-02 23:43:50 +08:00
misaka00251 23aeff50d2 Newline is important for formatting 2025-12-02 23:36:07 +08:00
misaka00251 6155910ef7 Add Provides for libraries. 2025-12-02 23:33:16 +08:00
misaka00251 5c68cea705 Just list all import paths as dependencies 2025-12-02 23:23:19 +08:00
misaka00251 cee0d87648 Delete stuff 2025-12-02 23:20:37 +08:00
misaka00251 46d9a90614 Remove useless newline. 2025-12-02 22:57:13 +08:00
misaka00251 59e3ae05c9 Fix formatting issues. 2025-12-02 22:53:05 +08:00
misaka00251 a102076a90 Fix multiple formatting issues. 2025-12-02 22:51:27 +08:00
misaka00251 61f0b3389a Fix multiple packaging issues. 2025-12-02 22:46:59 +08:00
misaka00251 1d08915cf2 Change -dev to -devel & Fix spec formatting 2025-12-02 15:24:25 +08:00
misaka00251 b76f948fef Add .gitignore & Fix undefined func 2025-12-01 16:14:56 +08:00
misaka00251 2ace98388d Init project 2025-12-01 14:27:48 +08:00