1 Star 0 Fork 26

wangbo/secscanner

forked from openEuler/secscanner 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 755 Bytes
一键复制 编辑 原始数据 按行查看 历史
pengyuan-yewu 提交于 2024-04-12 10:11 . modify spec and add import sys
# Makefile for source rpm
SPECFILE := secscanner.spec
NAME := secScanner
VERSION := 1.2
.PHONY: help
help:
%:
@echo "Try make $@ or something like that"
@exit 1
sources: clean
git archive --prefix="${NAME}-$(VERSION)/" -o "${NAME}-$(VERSION).tar.gz" HEAD
source: sources
if test ! -d SOURCES; then mkdir SOURCES; fi
mv *.tar.gz SOURCES
srpm: source
if test ! -d BUILD/SRPM; then mkdir -p BUILD/SRPM; fi
mock --resultdir BUILD/SRPM --buildsrpm --spec ${SPECFILE} --sources SOURCES
rpm: srpm
if test ! -d BUILD/RPM; then mkdir -p BUILD/RPM; fi
mock --resultdir BUILD/RPM --target noarch --rebuild BUILD/SRPM/secScanner-*.src.rpm
clean ::
@rm -fr SOURCES BUILD
sandwich:
@[ `id -u` -ne 0 ] && echo "What? Make it yourself." || echo Okay.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/osctwb/secscanner.git
git@gitee.com:osctwb/secscanner.git
osctwb
secscanner
secscanner
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385