]> git.pld-linux.org Git - packages/abrt.git/commitdiff
- read /etc/pld-release
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 2 Feb 2010 22:30:39 +0000 (22:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    abrt-pld.patch -> 1.1
    abrt.spec -> 1.12

abrt-pld.patch [new file with mode: 0644]
abrt.spec

diff --git a/abrt-pld.patch b/abrt-pld.patch
new file mode 100644 (file)
index 0000000..f743bed
--- /dev/null
@@ -0,0 +1,11 @@
+--- abrt-1.0.0/lib/Utils/DebugDump.cpp~        2009-11-22 21:50:18.000000000 +0200
++++ abrt-1.0.0/lib/Utils/DebugDump.cpp 2010-02-03 00:20:43.878642078 +0200
+@@ -315,7 +315,7 @@
+         SaveText(FILENAME_ARCHITECTURE, buf.machine);
+     }
+     std::string release;
+-    LoadTextFile("/etc/redhat-release", release);
++    LoadTextFile("/etc/pld-release", release);
+     const char *release_ptr = release.c_str();
+     unsigned len_1st_str = strchrnul(release_ptr, '\n') - release_ptr;
+     release.erase(len_1st_str); /* usually simply removes trailing '\n' */
index b6acfa320ef582494a0bbfe841b146c536571bda..da6a7e79d252a0c2bf091221a458b2150e191f7d 100644 (file)
--- a/abrt.spec
+++ b/abrt.spec
@@ -3,7 +3,7 @@
 Summary:       Automatic bug detection and reporting tool
 Name:          abrt
 Version:       1.0.0
-Release:       0.4
+Release:       0.5
 License:       GPL v2+
 Group:         Applications/System
 URL:           https://fedorahosted.org/abrt/
@@ -12,6 +12,7 @@ Source0:      %{name}-%{version}.tar.gz
 # Source0-md5: 62a8a6a1d7712472133b97b38469683e
 Source1:       %{name}.init
 Patch0:                %{name}-rpm.patch
+Patch1:                %{name}-pld.patch
 BuildRequires: bzip2-devel
 BuildRequires: curl-devel
 BuildRequires: dbus-devel
@@ -239,6 +240,7 @@ environments.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %configure
This page took 0.271598 seconds and 4 git commands to generate.