[Bug 1622552] Review Request: golang-github-linuxdeepin-go-dbus-factory - GO DBus factory for Deepin Desktop Environment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1622552



--- Comment #1 from Robert-André Mauchin <zebob.m@xxxxxxxxx> ---
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@xxxxxxxxx> - 0.0.7-1.20180828git2a30fc6
- First package for Fedora
===============================================================================

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux