remove dde-api-devel

This commit is contained in:
panchenbo 2020-09-02 16:07:41 +08:00
parent 409ff44b71
commit 9538b1f1b7

View File

@ -19,7 +19,7 @@
Name: dde-api Name: dde-api
Version: 5.1.11.1 Version: 5.1.11.1
Release: 4 Release: 5
Summary: Go-lang bingding for dde-daemon Summary: Go-lang bingding for dde-daemon
License: GPLv3+ License: GPLv3+
URL: https://shuttle.corp.deepin.com/cache/tasks/19177/unstable-amd64/ URL: https://shuttle.corp.deepin.com/cache/tasks/19177/unstable-amd64/
@ -46,17 +46,6 @@ Requires(pre): shadow-utils
%description %description
%{summary}. %{summary}.
%package -n %{name}-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}-devel
%{summary}.
This package contains library source intended for
building other packages which use import path with
%{goipath} prefix.
%prep %prep
%forgeautosetup -p1 -n %{name}-%{version}-%{release_name} %forgeautosetup -p1 -n %{name}-%{version}-%{release_name}
@ -72,7 +61,7 @@ sed -i 's|PREFIX}${libdir|LIBDIR|; s|libdir|LIBDIR|' \
%build %build
%gobuildroot %gobuildroot
for cmd in $(make binaries); do for cmd in $(make binaries); do
GOPATH=/usr/share/gocode:%{_builddir}/%{name}-%{version}-%{release_name}/vendor:$GOPATH GOPATH=%{_builddir}/%{name}-%{version}-%{release_name}/vendor
go build -mod=vendor -o _bin/$cmd %{goipath}/$cmd go build -mod=vendor -o _bin/$cmd %{goipath}/$cmd
done done
%make_build %make_build
@ -125,10 +114,11 @@ exit 0
%{_datadir}/polkit-1/actions/com.deepin.api.device.unblock-bluetooth-devices.policy %{_datadir}/polkit-1/actions/com.deepin.api.device.unblock-bluetooth-devices.policy
%{_var}/lib/polkit-1/localauthority/10-vendor.d/com.deepin.api.device.pkla %{_var}/lib/polkit-1/localauthority/10-vendor.d/com.deepin.api.device.pkla
%attr(-, deepin-sound-player, deepin-sound-player) %{_sharedstatedir}/deepin-sound-player %attr(-, deepin-sound-player, deepin-sound-player) %{_sharedstatedir}/deepin-sound-player
%exclude /usr/share/gocode/src
%files -n %{name}-devel -f devel.file-list
%changelog %changelog
* Wed Sep 2 2020 chenbo pan <panchenbo@uniontech.com> - 5.1.11.1-5
- remove dde-api-devel
* Wed Sep 2 2020 chenbo pan <panchenbo@uniontech.com> - 5.1.11.1-4 * Wed Sep 2 2020 chenbo pan <panchenbo@uniontech.com> - 5.1.11.1-4
- remove install golang devel - remove install golang devel
* Tue Aug 18 2020 chenbo pan <panchenbo@uniontech.com> - 5.1.11.1-3 * Tue Aug 18 2020 chenbo pan <panchenbo@uniontech.com> - 5.1.11.1-3