From 56bbbfe59e226b2a0184de626304fd0034080b9d Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Sun, 2 Oct 2011 20:39:17 +0200 Subject: [PATCH] Remove distribution files Remove pstack.spec and adapt Makefile to the change. --- Makefile | 4 +--- pstack.spec | 57 ----------------------------------------------------- 2 files changed, 1 insertion(+), 60 deletions(-) delete mode 100644 pstack.spec diff --git a/Makefile b/Makefile index 27c340a..d098bdb 100644 --- a/Makefile +++ b/Makefile @@ -14,9 +14,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # -VERSION = $(shell awk '/Version:/ { print $$2 }' pstack.spec) -CVSTAG = r$(subst .,-,$(VERSION)) - +VERSION = $(shell awk 'END { print $$1 }' VERSION) CFLAGS = -Wall -DVERSION=\"$(VERSION)\" $(RPM_OPT_FLAGS) ifeq ($(RPM_OPT_FLAGS),) diff --git a/pstack.spec b/pstack.spec deleted file mode 100644 index 28d5740..0000000 --- a/pstack.spec +++ /dev/null @@ -1,57 +0,0 @@ -Summary: Display stack trace of a running process -Name: pstack -Version: 1.2 -Release: 3 -Copyright: GPL -Group: Development/Debuggers -Source: %{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-root -ExclusiveArch: %{ix86} - -%description -pstack dumps a stack trace for a process, given the pid of that -process. If the process named is part of a thread group, then all the threads -in the group are traced. - -%prep -%setup -q - -%build -make - -%install -rm -rf $RPM_BUILD_ROOT -make install BINDIR=%{buildroot}%{_bindir} MANDIR=%{buildroot}%{_mandir} - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root) -%doc COPYING README VERSION -%{_bindir}/pstack -%{_mandir}/man1/* - -%changelog -* Wed Nov 12 2003 Roland McGrath 1.2-3 -- updated linuxthreads support for newer linuxthreads internals (#107305) -- avoid buffer overflow in symbol printing (#109642) - -* Thu Sep 18 2003 Jakub Jelinek 1.1-7 -- don't crash if one of shared libraries has stripped .symtab/.strtab - (#98162) - -* Mon Feb 24 2003 Elliot Lee -- rebuilt - -* Sat Feb 22 2003 Jakub Jelinek -- rebuilt - -* Fri Jun 21 2002 Tim Powers -- automated rebuild - -* Tue May 28 2002 Jakub Jelinek -- build on x86 only - -* Mon Feb 25 2002 Preston Brown -- initial packaging