SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

python312-go2rpm rpm build for : openSUSE Tumbleweed. For other distributions click python312-go2rpm.

Name : python312-go2rpm
Version : 1.14.0 Vendor : obs://build_opensuse_org/home:jeff_mahoney
Release : 3.7 Date : 2024-08-19 23:17:37
Group : Unspecified Source RPM : python-go2rpm-1.14.0-3.7.src.rpm
Size : 0.09 MB
Packager : (none)
Summary : Convert Go packages to RPM
Description :


go2rpm is a Python application designed to assist in the creation of RPM
specfiles for Go (Golang) projects.
It automates the process of
fetching project details, determining dependencies, and generating a specfile.



- **Automatic Specfile Generation**: go2rpm automatically generates RPM
specfiles based on the Go project\'s details and structure.
- **Support for Various Forges**: go2rpm works with different code hosting
platforms such as GitHub, GitLab, Bitbucket, Pagure, and Gitea.
- **Up to commit level spec generation**: go2rpm can create a spec file based
on a project\'s latest release or tag (default) or a custom version, tag, or commit.



To use go2rpm, execute the application with the necessary parameters:

``` shell
go2rpm [OPTIONS] GO_IMPORT_PATH
```



- **-r, --rpmautospec**: Use autorelease and autochangelog features (default)
- **-n, --no-rpmautospec**: Use static release and changelog instead of rpmautospec
- **-L, --use-new-versioning**: Enable new naming scheme for
versioned compat packages (default)
- **--no-use-new-versioning**: Use older naming scheme for versioned compat packages
- **--no-auto-changelog-entry**: Do not generate a changelog entry
- **--dynamic-buildrequires**: Use dynamic BuildRequires feature (default)
- **-R, --no-dynamic-buildrequires**: Do not use dynamic BuildRequires feature
- **-C, --clean**: Clean cache for chosen Go import path (default)
- **--no-clean**: Do not clean the cache
- **--clean-all**: Clean all cached Go imports
- **-d, --create-directory**: Save the final specfile output to NAME/NAME.spec
- **--name**: Use a specific name for the spec file
- **--print-name**: Print the generated package name and exit
- **-q, --no-spec-warnings**: Exclude warning comments from generated specfile
- **-t, --tag**: Use especified package tag
- **-a, --altipaths**: Include alternate import paths
- **-c, --commit**: Use especified package commit
- **-f, --forge**: Forge URLs
- **-v, --version**: Use especified package versions
- **--stdout**: Print spec into stdout



``` shell

go2rpm github.com/rhysd/actionlint


go2rpm --forge https://github.com/kubernetes/api k8s.io/api


go2rpm --commit c2c7a15d6c994356c68dc7a14868c3519836286b --forge \'https://git.sr.ht/~emersion/go-scfg\' \'git.sr.ht/~emersion/go-scfg\'


go2rpm -v 2.1.0 github.com/hashicorp/hcl/v2


go2rpm --name gh -f https://github.com/cli/cli github.com/cli/cli/v2
```



- Python 3
- Git
- Askalono (a license detection tool)
- Aiohttp (for asynchronous HTTP requests)



This application is licensed under the [MIT License](LICENSE).
Feel free to modify and distribute it in accordance with the license terms.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/jeff_mahoney:/golang/openSUSE_Tumbleweed/noarch

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
python3.12dist(go2rpm)
python312-go2rpm
python3dist(go2rpm)

Requires :
/bin/sh
/bin/sh
/usr/bin/python3.12
python(abi) = 3.12
python312-GitPython
python312-aiohttp
python312-jinja2
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
update-alternatives
update-alternatives


Content of RPM :
/etc/alternatives/go2rpm
/usr/bin/go2rpm
/usr/bin/go2rpm-3.12
/usr/lib/python3.12/site-packages/go2rpm
/usr/lib/python3.12/site-packages/go2rpm-1.14.0.dist-info
/usr/lib/python3.12/site-packages/go2rpm-1.14.0.dist-info/INSTALLER
/usr/lib/python3.12/site-packages/go2rpm-1.14.0.dist-info/METADATA
/usr/lib/python3.12/site-packages/go2rpm-1.14.0.dist-info/RECORD
/usr/lib/python3.12/site-packages/go2rpm-1.14.0.dist-info/REQUESTED
/usr/lib/python3.12/site-packages/go2rpm-1.14.0.dist-info/WHEEL
/usr/lib/python3.12/site-packages/go2rpm-1.14.0.dist-info/entry_points.txt
/usr/lib/python3.12/site-packages/go2rpm/__init__.py
/usr/lib/python3.12/site-packages/go2rpm/__main__.py
/usr/lib/python3.12/site-packages/go2rpm/__pycache__
/usr/lib/python3.12/site-packages/go2rpm/__pycache__/__init__.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/go2rpm/__pycache__/__init__.cpython-312.pyc
/usr/lib/python3.12/site-packages/go2rpm/__pycache__/__main__.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/go2rpm/__pycache__/__main__.cpython-312.pyc
/usr/lib/python3.12/site-packages/go2rpm/templates
/usr/lib/python3.12/site-packages/go2rpm/templates/profile1.spec
/usr/lib/python3.12/site-packages/go2rpm/templates/profile2.spec
/usr/lib/python3.12/site-packages/go2rpm/templates/vendor.spec
/usr/share/doc/packages/python312-go2rpm
/usr/share/doc/packages/python312-go2rpm/README.md

 
ICM