summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2011-02-05 21:45:07 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2011-02-05 21:45:07 +0100
commit6efee34e9bef2dd390ffef452f86c10e2cf123b2 (patch)
tree519f0899cda7058059c93d9b6e67c54e3407c258
parentc66cc176cb7703ea8094bf109810d3a18300bffc (diff)
downloadabrt-6efee34e9bef2dd390ffef452f86c10e2cf123b2.tar.gz
abrt-6efee34e9bef2dd390ffef452f86c10e2cf123b2.tar.xz
abrt-6efee34e9bef2dd390ffef452f86c10e2cf123b2.zip
minor build fixes no code changes
-rw-r--r--Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 6303e738..b201e1e9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,6 +5,7 @@ DISTCHECK_CONFIGURE_FLAGS = \
--with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
EXTRA_DIST = doc/coding-style abrt.spec abrt.pc.in doc/abrt-plugin/ doc/howto-write-reporter
+BUILDID = `date +%G%m%d%H%M%S`
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = abrt.pc
@@ -26,8 +27,8 @@ test-rpm: dist
$(RPM_DIRS) -ba abrt.spec
test-srpm: dist
- rpmbuild --define "_buildid `date +%G%m%d%H%M%S`" \
+ rpmbuild --define "_buildid $(BUILDID)" \
$(RPM_DIRS) -bs abrt.spec
-scratch-build: srpm
- koji build --scratch dist-f12 $(PACKAGE)-$(VERSION)-1.fc12.src.rpm
+scratch-build: test-srpm
+ koji build --scratch dist-rawhide $(PACKAGE)-$(VERSION)-0.$(BUILDID).fc14.src.rpm