Skip to content

Commit

Permalink
build: post imgbased-1.2.24
Browse files Browse the repository at this point in the history
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
  • Loading branch information
sandrobonazzola committed Feb 23, 2022
1 parent acf974f commit f771727
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ installdeps:
dnf -y install git autoconf automake make asciidoc

srpm: installdeps
# $(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
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
dnl
define([VERSION_MAJOR], [1])
define([VERSION_MINOR], [2])
define([VERSION_FIX], [24])
define([VERSION_FIX], [25])
define([VERSION_NUMBER], VERSION_MAJOR[.]VERSION_MINOR[.]VERSION_FIX)

AC_INIT([imgbased], VERSION_NUMBER, [devel@ovirt.org])
Expand All @@ -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], [])
AC_SUBST([RELEASE], [1])
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([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 f771727

Please # to comment.