Safer rm -rf *

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Don't checkout the clone - not needed
Saner way to move files to OUTDIR ... what was I smoking?

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Copy gp_mkpkg to obs service directory

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
Handle missing git clone target directory case

The script now creates a local gitpkg.tmp directory where it clones
the git repository in case the default path is not found.

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
Apply the patches to the spec file or yaml file.
Makes use of some yaml hackery in the BlockDumper to preserve the yaml file as
well as possible
The --no-src option is used in pristine-tar and doesn't modify the
spec %setup to use src/
The --no-tarball option is used during setup when preparing the packaging files

Signed-off-by: David Greaves <david@dgreaves.com>
Now implements generally agreed standards for tag/branch naming.
Updated docs. Tested for simple package (qttas)

Signed-off-by: David Greaves <david@dgreaves.com>
Run specify when yaml changes

Signed-off-by: David Greaves <david@dgreaves.com>
Get version/release from packaging

Signed-off-by: David Greaves <david@dgreaves.com>
Use --manual instead of --pkg and --auto instead of --existing
Extend manual usage to copy in some packaging and suggest some commands.
Tries to autodetect version from packaging too
Also takes --ver= to override version

Signed-off-by: David Greaves <david@dgreaves.com>
Add SetupOptions: -q -n src to yaml if not using pristine tar

Signed-off-by: David Greaves <david@dgreaves.com>
--pkg -> --manual

Signed-off-by: David Greaves <david@dgreaves.com>