SPEC: https://copr-be.cloud.fedoraproject.org/results/mosquito/deepin/fedora-rawhide-x86_64/00788972-golang-github-linuxdeepin-go-dbus-factory/golang-github-linuxdeepin-go-dbus-factory.spec SRPM: https://copr-be.cloud.fedoraproject.org/results/mosquito/deepin/fedora-rawhide-x86_64/00788972-golang-github-linuxdeepin-go-dbus-factory/golang-github-linuxdeepin-go-dbus-factory-0-0.3.gite843337.fc29.src.rpm Description: GO DBus factory for Deepin Desktop Environment Fedora Account System Username: mosquito
You need to use the new Go packaging method, see: https://fedoraproject.org/wiki/More_Go_packaging You can see examples here: https://eclipseo.fedorapeople.org/golang/ You should get something like this: =============================================================================== # https://github.com/linuxdeepin/go-dbus-factory %global goipath github.com/linuxdeepin/go-dbus-factory %global commit 2a30fc6fb47b70b8879855df8e29c8f581c419aa %gometa Name: %{goname} Version: 0.0.7 Release: 1%{?dist} Summary: GO DBus factory for Deepin Desktop Environment License: GPLv3 URL: %{gourl} Source0: %{gosource} %description %{summary} %package devel Summary: %{summary} BuildArch: noarch %description devel %{summary} This package contains library source intended for building other packages which use import path with %{goipath} prefix. %prep %forgeautosetup %install %goinstall %check %gochecks %files devel -f devel.file-list %doc README.md CHANGELOG.md %changelog * Fri Aug 10 2018 mosquito <sensor.wen> - 0.0.7-1.20180828git2a30fc6 - First package for Fedora ===============================================================================
SPEC: https://copr-be.cloud.fedoraproject.org/results/mosquito/deepin/fedora-rawhide-x86_64/00791551-golang-github-linuxdeepin-dbus-factory/go.spec SRPM: https://copr-be.cloud.fedoraproject.org/results/mosquito/deepin/fedora-rawhide-x86_64/00791551-golang-github-linuxdeepin-dbus-factory/golang-github-linuxdeepin-dbus-factory-0.0.7-1.20180827gite843337.fc30.src.rpm I think it's very clear. nice
Please note that the SPEC name should now be golang-github-linuxdeepin-dbus-factory.spec The new Go packaging automatically removes "go" or "git" in package name. - License ok - Latest version packaged - Builds in mock - No rpmlint errors - Conforms to Packaging Guidelines Package approved.
OK, thank you for your help.
(fedscm-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/golang-github-linuxdeepin-dbus-factory