-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
usr/bin/g3iploc | ||
usr/bin/g3iploc-db | ||
lib/systemd/system/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,12 @@ override_dh_auto_clean: | |
override_dh_auto_build: | ||
G3_PACKAGE_VERSION=$(DEB_VERSION) \ | ||
cargo build --frozen --offline --profile $(BUILD_PROFILE) \ | ||
--package g3iploc | ||
--package g3iploc --package g3iploc-db | ||
|
||
override_dh_auto_install: | ||
dh_auto_install | ||
install -m 755 -D target/$(BUILD_PROFILE)/g3iploc debian/tmp/usr/bin/g3iploc | ||
install -m 755 -D target/$(BUILD_PROFILE)/g3iploc-db debian/tmp/usr/bin/g3iploc-db | ||
install -m 644 -D $(PACKAGE_NAME)/service/[email protected] debian/tmp/lib/systemd/system/[email protected] | ||
|
||
override_dh_installchangelogs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,17 +28,19 @@ IP Locate Service for G3 Project | |
%build | ||
G3_PACKAGE_VERSION="%{version}-%{release}" | ||
export G3_PACKAGE_VERSION | ||
cargo build --frozen --offline --profile %{build_profile} --package g3iploc | ||
cargo build --frozen --offline --profile %{build_profile} --package g3iploc --package g3iploc-db | ||
|
||
|
||
%install | ||
rm -rf $RPM_BUILD_ROOT | ||
install -m 755 -D target/%{build_profile}/g3iploc %{buildroot}%{_bindir}/g3iploc | ||
install -m 755 -D target/%{build_profile}/g3iploc-db %{buildroot}%{_bindir}/g3iploc-db | ||
install -m 644 -D %{name}/service/[email protected] %{buildroot}/lib/systemd/system/[email protected] | ||
|
||
|
||
%files | ||
%{_bindir}/g3iploc | ||
%{_bindir}/g3iploc-db | ||
/lib/systemd/system/[email protected] | ||
%license LICENSE | ||
%license LICENSE-BUNDLED | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.