packages: abrt/abrt.spec, abrt/abrt-pld.patch (NEW) - read /etc/pld-release

glen glen at pld-linux.org
Tue Feb 2 23:30:44 CET 2010


Author: glen                         Date: Tue Feb  2 22:30:44 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- read /etc/pld-release

---- Files affected:
packages/abrt:
   abrt.spec (1.11 -> 1.12) , abrt-pld.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/abrt/abrt.spec
diff -u packages/abrt/abrt.spec:1.11 packages/abrt/abrt.spec:1.12
--- packages/abrt/abrt.spec:1.11	Sun Jan  3 19:06:28 2010
+++ packages/abrt/abrt.spec	Tue Feb  2 23:30:39 2010
@@ -4,7 +4,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/
@@ -13,6 +13,7 @@
 # Source0-md5:	62a8a6a1d7712472133b97b38469683e
 Source1:	%{name}.init
 Patch0:		%{name}-rpm.patch
+Patch1:		%{name}-pld.patch
 BuildRequires:	bzip2-devel
 BuildRequires:	curl-devel
 BuildRequires:	dbus-devel
@@ -240,6 +241,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %configure
@@ -437,6 +439,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2010/02/02 22:30:39  glen
+- read /etc/pld-release
+
 Revision 1.11  2010/01/03 18:06:28  glen
 - pldize deps
 

================================================================
Index: packages/abrt/abrt-pld.patch
diff -u /dev/null packages/abrt/abrt-pld.patch:1.1
--- /dev/null	Tue Feb  2 23:30:44 2010
+++ packages/abrt/abrt-pld.patch	Tue Feb  2 23:30:39 2010
@@ -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' */
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/abrt/abrt.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list