Skip to content

Commit

Permalink
build: imgbased-1.2.25
Browse files Browse the repository at this point in the history
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
  • Loading branch information
sandrobonazzola committed Dec 5, 2022
1 parent f346778 commit 4e40996
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .copr/Makefile
Expand Up @@ -13,10 +13,10 @@ git_cfg_safe:
git config --global --add safe.directory "$(shell pwd)"

srpm: installdeps git_cfg_safe
$(eval SUFFIX=$(shell sh -c " echo '0.0.$$(date -u +%Y%m%d%H%M%S).git$$(git rev-parse --short HEAD)'"))
# $(eval SUFFIX=$(shell sh -c " echo '0.0.$$(date -u +%Y%m%d%H%M%S).git$$(git rev-parse --short HEAD)'"))
# changing the spec file as passing -D won't preserve the suffix when rebuilding in mock
sed "s:%{?_release}:${SUFFIX}:" -i packaging/rpm/imgbased.spec.in
sed "s/%{?\!_release:1}//" -i packaging/rpm/imgbased.spec.in
# sed "s:%{?_release}:${SUFFIX}:" -i packaging/rpm/imgbased.spec.in
# sed "s/%{?\!_release:1}//" -i packaging/rpm/imgbased.spec.in
mkdir -p tmp.repos/SOURCES
./autogen.sh
make dist
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Expand Up @@ -36,8 +36,8 @@ AC_SUBST([FEDORA],[[`rpm --eval '%{fedora}'|sed 's/[^0-9]//g'`]])
AC_SUBST([RHEL], [[`rpm --eval '%{rhel}'|sed 's/[^0-9]//g'`]])
AC_SUBST([CENTOS], [[`rpm --eval '%{centos}'|sed 's/[^0-9]//g'`]])
AC_SUBST([PLATFORM])
AC_SUBST([REVISION], "git"[m4_esyscmd_s([git log -n1 --format=%h])])
AC_SUBST([RELEASE], [0.0.[`date '+%Y%m%d%H%M'`]])
AC_SUBST([REVISION], [])
AC_SUBST([RELEASE], [1])
AC_SUBST([am__tar], ['find "$$tardir" -print -perm /g=w -exec chmod g-w {} \; | sort | tar --no-recursion --mtime="1970-01-01 00:00Z" --owner=root --group=root -chpf - -T -'])

if test "$FEDORA"; then
Expand Down

0 comments on commit 4e40996

Please sign in to comment.