From 3aa78ebf273b55e4e193ed5a02d7d1f26013bb28 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: May 23 2019 16:50:48 +0000 Subject: Update to new macros Signed-off-by: Robert-André Mauchin --- diff --git a/golang-github-mschoch-smat.spec b/golang-github-mschoch-smat.spec index 78d7ed4..97ca2a0 100644 --- a/golang-github-mschoch-smat.spec +++ b/golang-github-mschoch-smat.spec @@ -1,73 +1,61 @@ -# Run tests in check section +# Generated by go2rpm %bcond_without check # https://github.com/mschoch/smat %global goipath github.com/mschoch/smat %global commit 90eadee771aeab36e8bf796039b8c261bebebe4f +%gometa + %global common_description %{expand: -The concept is simple, describe valid uses of your library as states and +The concept is simple, describe valid uses of your library as states and actions. States describe which actions are possible, and with what probability they should occur. Actions mutate the context and transition to another state. By doing this, two things are possible: - Use go-fuzz to find/test interesting sequences of operations on your library. - - Automate longevity testing of your application by performing long sequences + - Automate longevity testing of your application by performing long sequences of valid operations. Both of these can also incorporate validation logic (not just failure detection by building validation into the state machine).} -%gometa +%global golicenses LICENSE +%global godocs examples README.md Name: %{goname} Version: 0 -Release: 0.1%{?dist} +Release: 0.2%{?dist} Summary: State Machine Assisted Testing -# Detected licences -# - *No copyright* Apache License (v2.0) at 'LICENSE' + +# Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} -BuildRequires: golang(github.com/boltdb/bolt) +BuildRequires: golang(github.com/boltdb/bolt) %description %{common_description} - -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel -%{common_description} - -This package contains library source intended for -building other packages which use import path with -%{goipath} prefix. - +%gopkg %prep -%forgeautosetup - +%goprep %install -%goinstall - +%gopkginstall %if %{with check} %check -%gochecks +%gocheck %endif - -%files devel -f devel.file-list -%license LICENSE -%doc README.md - +%gopkgfiles %changelog +* Thu May 23 18:41:22 CEST 2019 Robert-André Mauchin - 0-0.2.20190306git90eadee +- Update to new macros + * Sun Mar 03 2019 Robert-André Mauchin - 0-0.1.20190306git90eadee - First package for Fedora -