- spec-cleaner run

OBS-URL: https://build.opensuse.org/package/show/Base:System/ptools?expand=0&rev=10
This commit is contained in:
Dirk Mueller 2023-11-07 22:03:43 +00:00 committed by Git OBS Bridge
parent 3d7c784235
commit e747fe974a
2 changed files with 19 additions and 25 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 7 21:50:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
- spec-cleaner run
-------------------------------------------------------------------
Sun Oct 31 12:37:02 UTC 2010 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
#
# spec file for package ptools (Version 0.1)
# spec file for package ptools
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,36 +12,28 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Url: ftp://ftp.suse.com/pub/people/jblunck/ptools/
Name: ptools
Summary: The process tools collection
Version: 0.1
Release: 4
License: GPL v2 or later
Release: 0
Summary: The process tools collection
License: GPL-2.0-or-later
Group: Development/Tools/Debuggers
URL: ftp://ftp.suse.com/pub/people/jblunck/ptools/
Source: %{name}-%{version}.tar.bz2
Patch0: output-l_addr.diff
Patch1: commit-a42a099
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libelf-devel popt-devel
AutoReqProv: on
BuildRequires: libelf-devel
BuildRequires: popt-devel
#ExclusiveArch: %{ix86} x86_64
%description
pbuildid dumps the build-ids of an executable, core file or a process,
given the pid of that process.
Authors:
--------
Jan Blunck <jblunck@suse.de>
%prep
%setup -q
%patch0 -p1
@ -49,18 +41,15 @@ Authors:
%build
%configure
make %{?_smp_mflags}
%make_build
%install
make DESTDIR="$RPM_BUILD_ROOT" install
%clean
rm -rf $RPM_BUILD_ROOT
%make_install
%files
%defattr(-,root,root)
%doc COPYING README
%license COPYING
%doc README
%{_bindir}/pbuildid
%{_mandir}/man1/pbuildid.1*
%{_mandir}/man1/pbuildid.1%{?ext_man}
%changelog