forked from containers/qm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Yariv Rachmani <[email protected]>
- Loading branch information
Showing
5 changed files
with
31 additions
and
14 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
SPECFILE_SUBPACKAGE_ROS2_ROLLING=rpm/ros2/rolling/ros2_rolling.spec | ||
|
||
.PHONY: dist | ||
dist: ## - Creates the QM ros2 package | ||
cd $(ROOTDIR) && tar cvz \ | ||
--exclude-from=build-aux/exclude_from_tar_gz_subpackage_kvm.txt \ | ||
--dereference \ | ||
--transform s/qm/qm-ros2-${VERSION}/ \ | ||
-f /tmp/qm-ros2-${VERSION}.tar.gz \ | ||
../qm/README.md \ | ||
../qm/SECURITY.md \ | ||
../qm/LICENSE \ | ||
../qm/ \ | ||
../qm/subsystems/ros2/etc/containers/systemd/ros2-rolling.container | ||
cd $(ROOTDIR) && mv /tmp/qm-ros2-${VERSION}.tar.gz ./rpm | ||
|
||
|
||
.PHONY: rpm | ||
rpm: dist ## - Creates a local RPM package, useful for development | ||
cd $(ROOTDIR) && mkdir -p ${RPM_TOPDIR}/{RPMS,SRPMS,BUILD,SOURCES} | ||
cd $(ROOTDIR) && tools/version-update -v ${VERSION} | ||
cd $(ROOTDIR) && cp ./rpm/v${VERSION}.tar.gz ${RPM_TOPDIR}/SOURCES | ||
cd $(ROOTDIR) && rpmbuild -ba \ | ||
--define="_topdir ${RPM_TOPDIR}" \ | ||
--define="version ${VERSION}" \ | ||
${SPECFILE_SUBPACKAGE_ROS2_ROLLING} | ||
|
File renamed without changes.
File renamed without changes.