Skip to main content

RPKG-UTIL

âž•

  • from the template specfile you can generate:
    • specfile (changelog from commits)
    • srpm
    • rpm
  • generation can be done from dirty repo as well as per commit
  • automatic commit suffixes for files (sources, srpm, rpm)
  • push to copr
  • multipackage support
  • looks active

➖​

  • autopacking workflow is deprecated
  • need to write template specfile

Specfile template​

Name:       {{{ git_dir_name }}}
Version: {{{ git_dir_version }}}
Release: 1%{?dist}
Summary: This is a test package.

License: GPLv2+
URL: https://someurl.org
VCS: {{{ git_dir_vcs }}}

Source: {{{ git_dir_pack }}}

%description
This is a test package.

%prep
{{{ git_dir_setup_macro }}}

%changelog
{{{ git_dir_changelog }}}

Other sources​