• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

crossbeamパッケージ


Commit MetaInfo

修订版d4963d1d1e964c4f39f170b671990e1d8ff7a366 (tree)
时间2020-04-07 03:34:07
作者dyknon <dyknon@user...>
Commiterdyknon

Log Message

misc

更改概述

差异

--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,8 @@ Maintainer: dyknon <dyknon@users.osdn.me>
44 Build-Depends: debhelper-compat (= 12),
55 cargo, python3:native, libjson-perl,
66 librust-cfg-if-dev, librust-lazy-static-dev, librust-memoffset-dev,
7- librust-num-cpus-dev, librust-rand-dev, librust-scopeguard-dev
7+ librust-num-cpus-dev, librust-rand-dev, librust-scopeguard-dev,
8+ librust-autocfg-dev, librust-getrandom-dev, librust-signal-hook-dev
89 Standards-Version: 4.5.0
910 Section: rust
1011 Homepage: https://github.com/crossbeam-rs/crossbeam/
--- a/debian/rules
+++ b/debian/rules
@@ -26,13 +26,15 @@ override_dh_auto_configure:
2626
2727
2828 override_dh_auto_build:
29+ set -e; \
2930 ./debian/deb-crateinfo.pl crates | while read name; do \
3031 manup="$$(./debian/deb-crateinfo.pl manifest-path $$name)"; \
3132 cd $${manup%/*}; \
3233 env DEB_CARGO_CRATE="$$name" $(DEB_CARGO) prepare-debian \
3334 '$(CARGO_REGISTRY)' --link-from-system; \
3435 cd -; \
35- for crate in debian/target/package/*; do \
36+ for crate in debian/target/package/*.crate; do \
37+ [ ! -f "$$crate" ] && continue; \
3638 dname=$$(tar -ztf "$$crate"|head -n1|sed 's"/.*""'); \
3739 tar -C '$(CARGO_REGISTRY)' -zxf "$$crate"; \
3840 echo '{"package":"","files":{}}' > \
@@ -44,6 +46,7 @@ override_dh_auto_build:
4446 done
4547
4648 override_dh_auto_install:
49+ set -e; \
4750 ./debian/deb-crateinfo.pl crates | while read name; do \
4851 version="$$(./debian/deb-crateinfo.pl version "$$name")"; \
4952 pacn="librust-$$(echo "$$name" | sed 's/_/-/g')-dev"; \
@@ -58,6 +61,7 @@ override_dh_auto_install:
5861 done
5962
6063 override_dh_gencontrol:
64+ set -e; \
6165 ./debian/deb-crateinfo.pl crates | while read name; do\
6266 sv="debian/librust-$$(echo "$$name" | sed 's/_/-/g')-dev.substvars";\
6367 echo -n "cargo:dep=" >> "$$sv";\
@@ -74,8 +78,7 @@ override_dh_gencontrol:
7478 echo -n "cargo:prov=" >> "$$sv";\
7579 ./debian/deb-crateinfo.pl deb-provides "$$name" "$$ft" >> "$$sv";\
7680 done;\
77- done
78-
81+ done; \
7982 ./debian/deb-crateinfo.pl crates | while read name; do\
8083 namep="$$(echo "$$name" | sed 's/_/-/g')";\
8184 ver="$(DEB_VERSION_EPOCH)$$(./debian/deb-crateinfo.pl version "$$name")$(DEB_VERSION_DEB)";\