summaryrefslogtreecommitdiffstats
path: root/abrt.spec
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-03-22 10:40:39 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2010-03-22 10:40:39 +0100
commit3b57906d9e66519f17a5c5fed2c491fed365ae0a (patch)
tree460f659b898ec25bf00458b8571688d6b82f3764 /abrt.spec
parent8fc120f5704bfb2fb9958b5239ea7a2b9dbfb207 (diff)
downloadabrt-3b57906d9e66519f17a5c5fed2c491fed365ae0a.tar.gz
abrt-3b57906d9e66519f17a5c5fed2c491fed365ae0a.tar.xz
abrt-3b57906d9e66519f17a5c5fed2c491fed365ae0a.zip
added new make targets
- added make test-rpm - added some "magic" into spec file to ease releasing of the git rawhide builds
Diffstat (limited to 'abrt.spec')
-rw-r--r--abrt.spec16
1 files changed, 15 insertions, 1 deletions
diff --git a/abrt.spec b/abrt.spec
index 22e636d6..e35ca374 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -1,10 +1,24 @@
%{!?python_site: %define python_site %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
# platform-dependent
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+# Polite request for people who spin their own kernel rpms:
+# please modify the "_buildid" define in a way that identifies
+# that the built package isn't the stock distribution package,
+# for example, by setting the define to ".local" or ".bz123456"
+#
+# % define _buildid .local
+
+%if 0%{?_buildid}
+%define pkg_release 0.%{?_buildid}%{?dist}
+%else
+%define pkg_release 1%{?dist}
+%endif
+
Summary: Automatic bug detection and reporting tool
Name: abrt
Version: 1.0.9
-Release: 1%{?dist}
+Release: %{?pkg_release}
License: GPLv2+
Group: Applications/System
URL: https://fedorahosted.org/abrt/