summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am8
-rw-r--r--abrt.spec.in2
2 files changed, 8 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 7201f608..731e7e03 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,12 +16,16 @@ RPM_DIRS = --define "_sourcedir `pwd`" \
--define "_builddir `pwd`" \
--define "_srcrpmdir `pwd`"
-rpm: dist
+rpm:
+ autoconf --force
./gen-version
+ $(MAKE) dist
rpmbuild $(RPM_DIRS) -ba abrt.spec
-srpm: dist
+srpm:
+ autoconf --force
./gen-version
+ $(MAKE) dist
rpmbuild $(RPM_DIRS) -bs abrt.spec
# value for overriding from command line
diff --git a/abrt.spec.in b/abrt.spec.in
index efe47ab0..691e3923 100644
--- a/abrt.spec.in
+++ b/abrt.spec.in
@@ -79,6 +79,7 @@ Development libraries and headers for libreport.
Summary: Python bindings for report-libs.
# Is group correct here? -
Group: System Environment/Libraries
+Requires: libreport = %{version}-%{release}
%description -n libreport-python
Python bindings for report-libs.
@@ -86,6 +87,7 @@ Python bindings for report-libs.
%package -n libreport-gtk
Summary: GTK frontend for libreport
Group: User Interface/Desktops
+Requires: libreport = %{version}-%{release}
%description -n libreport-gtk
Applications for reporting bugs using libreport backend.