https://bugzilla.redhat.com/show_bug.cgi?id=1476589
Ye Cheng 18969068329@163.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |18969068329@163.com
--- Comment #3 from Ye Cheng 18969068329@163.com --- (In reply to sensor.wen from comment #2)
SPEC: https://copr-be.cloud.fedoraproject.org/results/mosquito/deepin/fedora-26- x86_64/00586135-deepin-api/deepin-api.spec
go get github.com/disintegration/imaging \ github.com/howeyc/fsnotify \ gopkg.in/check.v1 \ gopkg.in/alecthomas/kingpin.v2
This will fail the mock build because network access is not available at build time and these downloaded library become undesirably bundled into the application. Reference:http://fedoraproject.org/wiki/Packaging:Guidelines#Build_time_network_access
It seems that github.com/howeyc/fsnotify is no longer actively maintained. Please switch to golang-github-go-fsnotify-fsnotify package if possible.
%{_datadir}/icons/hicolor/*/actions/*
If it is necessary for these icon to display properly immediately after installation, please write a %post script let to refresh icon cache. Please reference https://fedoraproject.org/wiki/Packaging:Scriptlets?rd=Packaging:ScriptletSn... for detail
%{_unitdir}/*.service
Perhaps some %post,%preun and %postun script lets are necessary for handling systemd units. Please reference http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd