Dave Love 372eaa1
# Copyright (c) 2012, 2014  Dave Love
Dave Love 372eaa1
# Copyright (c) 2015 James Hunt
Dave Love 372eaa1
# MIT licence, per Fedora policy
Dave Love 372eaa1
Dave Love 372eaa1
Name:           procenv
eb20aa5
Version:        0.50
580dfcd
Release:        5%{?dist}
Dave Love 372eaa1
Summary:        Utility to show process environment
Dave Love 372eaa1
Dave Love 372eaa1
License:        GPLv3+
Dave Love 372eaa1
URL:            https://github.com/jamesodhunt/procenv
Dave Love 372eaa1
Source0:        https://github.com/jamesodhunt/procenv/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
1fa637c
# Fix bad check which fails with gcc 9, but is harmless
1fa637c
# https://github.com/jamesodhunt/procenv/issues/7
1fa637c
Patch1:		procenv-strcpy.patch
44a7950
BuildRequires:  expat, libcap-devel, libselinux-devel, check-devel, gcc
Dave Love 372eaa1
# Only used for testing; not in EPEL.
1fa637c
%if 0%{?fedora}%{?el8}
1fa637c
BuildRequires:  perl(JSON::PP)
Dave Love 372eaa1
%endif
Dave Love 372eaa1
%ifnarch %{arm} s390 s390x
Dave Love 372eaa1
BuildRequires:  numactl-devel
Dave Love 372eaa1
%endif
Dave Love 372eaa1
Dave Love 372eaa1
%description
Dave Love 372eaa1
This package contains a command-line tool that displays as much
Dave Love 372eaa1
detail about itself and its environment as possible. It can be
Dave Love 372eaa1
used as a test tool, to understand the type of environment a
Dave Love 372eaa1
process runs in, and for comparing system environments.
Dave Love 372eaa1
Dave Love 372eaa1
%prep
Dave Love 372eaa1
%setup -q
1fa637c
%patch1 -p1
Dave Love 372eaa1
# remove symlink
Dave Love 372eaa1
mv README.rst README
Dave Love 372eaa1
Dave Love 372eaa1
%build
Dave Love 372eaa1
%configure
1fa637c
%make_build
Dave Love 372eaa1
Dave Love 372eaa1
%install
1fa637c
%make_install
Dave Love 372eaa1
Dave Love 372eaa1
%check
Dave Love 372eaa1
make check
Dave Love 372eaa1
Dave Love 372eaa1
%files
Dave Love 372eaa1
%{_bindir}/procenv
Dave Love 372eaa1
%{_mandir}/man1/procenv.1*
Dave Love 494a0f8
# ChangeLog is empty
Dave Love 494a0f8
%doc README NEWS AUTHORS TODO
Dave Love 372eaa1
%license COPYING
Dave Love 372eaa1
Dave Love 372eaa1
%changelog
580dfcd
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.50-5
580dfcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
580dfcd
1fa637c
* Mon Jan 21 2019 Dave Love <loveshack@fedoraproject.org> - 0.50-4
1fa637c
- Patch to fix failure with gcc 9
1fa637c
438ede6
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.50-3
438ede6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
438ede6
d218938
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.50-2
d218938
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d218938
eb20aa5
* Wed Oct 25 2017 Dave Love <loveshack@fedoraproject.org> - 0.50-1
eb20aa5
- New version
eb20aa5
- Remove el5-isms
eb20aa5
2b79120
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.49-4
2b79120
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2b79120
62d5d5b
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.49-3
62d5d5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
62d5d5b
2288c3e
* Wed Feb 22 2017 Dave Love <loveshack@fedoraproject.org> - 0.49-2
2288c3e
- Bump to rebuild after failed mass rebuild
2288c3e
e7d8ac1
* Mon Feb 13 2017 Dave Love <loveshack@fedoraproject.org> - 0.49-1
e7d8ac1
- New version
e7d8ac1
31ec038
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-2
31ec038
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
31ec038
Dave Love e3c9cc4
* Wed Jun  1 2016 Dave Love <loveshack@fedoraproject.org> - 0.46-1
Dave Love e3c9cc4
- New version
Dave Love e3c9cc4
- Remove fedora guard in %%check
Dave Love 494a0f8
- Don't distribute ChangeLog
Dave Love e3c9cc4
Dave Love 00b8e20
* Tue Mar 22 2016 Dave Love <loveshack@fedoraproject.org> - 0.45-1
Dave Love 00b8e20
- New version
Dave Love 00b8e20
Dave Love 372eaa1
* Wed Feb 17 2016 Dave Love <loveshack@fedoraproject.org> - 0.44-1
Dave Love 372eaa1
- New version
Dave Love 372eaa1
Dave Love 372eaa1
* Thu Nov  5 2015 James Hunt <jamesodhunt@gmail.com> - 0.42-1
Dave Love 372eaa1
- Simplified BuildRequires now that autoreconf is no longer needed.
Dave Love 372eaa1
Dave Love 372eaa1
* Thu Oct 29 2015 James Hunt <jamesodhunt@gmail.com> - 0.41-1
Dave Love 372eaa1
- New upstream version.
Dave Love 372eaa1
- BuildRequires: Added check-devel for new unit tests.
Dave Love 372eaa1
- This upstream version lacks a configure script, so added autoconf,
Dave Love 372eaa1
  automake and libtool to BuildRequires, plus a call to autoreconf.
Dave Love 372eaa1
- Updated URL+Source0 as project has moved to github.
Dave Love 372eaa1
- Source0 includes magic URL fragment to rename the source to be of form
Dave Love 372eaa1
  "<name>-<version>.tar.gz", rather than the bare "<tag>.tar.gz" github format.
Dave Love 372eaa1
- Add ChangeLog and TODO to package.
Dave Love 372eaa1
Dave Love 372eaa1
* Thu Oct 15 2015 Dave Love <loveshack@fedoraproject.org> - 0.40-1
Dave Love 372eaa1
- New version
Dave Love 372eaa1
- Remove %%defattr
Dave Love 372eaa1
- Use %%license
Dave Love 372eaa1
- MIT licence for packaging
Dave Love 372eaa1
Dave Love 372eaa1
* Thu Aug 28 2014 Dave Love <d.love@liverpool.ac.uk> - 0.36-1
Dave Love 372eaa1
- New upstream version
Dave Love 372eaa1
Dave Love 372eaa1
* Sat Jun 21 2014 Dave Love <d.love@liverpool.ac.uk> - 0.35-3
Dave Love 372eaa1
- BR on libselinux-devel for EPEL5
Dave Love 372eaa1
- Add doc files
Dave Love 372eaa1
Dave Love 372eaa1
* Thu Jun  5 2014 Dave Love <d.love@liverpool.ac.uk> - 0.35-2
Dave Love 372eaa1
- Only BR perl-JSON-PP and run tests on fedora
Dave Love 372eaa1
- Remove unnecessary BRs
Dave Love 372eaa1
Dave Love 372eaa1
* Fri Jan 31 2014 James Hunt <james.hunt@ubuntu.com> - 0.32-1
Dave Love 372eaa1
- Update to 0.31.
Dave Love 372eaa1
Dave Love 372eaa1
* Thu Jan 23 2014 James Hunt <james.hunt@ubuntu.com> - 0.30-1
Dave Love 372eaa1
- Update to 0.30.
Dave Love 372eaa1
Dave Love 372eaa1
* Fri Nov 15 2013 Dave Love <d.love@liverpool.ac.uk> - 0.27-1
Dave Love 372eaa1
- Update to 0.27, fix Source0
Dave Love 372eaa1
Dave Love 372eaa1
* Sun Dec  9 2012 Dave Love <fx@gnu.org> - 0.18-1
Dave Love 372eaa1
- Update to 0.18
Dave Love 372eaa1
Dave Love 372eaa1
* Tue Dec  4 2012 Dave Love <fx@gnu.org> - 0.16-2
Dave Love 372eaa1
- Re-fix locale-reporting.
Dave Love 372eaa1
Dave Love 372eaa1
* Mon Dec  3 2012 Dave Love <fx@gnu.org> - 0.16-1
Dave Love 372eaa1
- Update to 0.16
Dave Love 372eaa1
Dave Love 372eaa1
* Thu Nov 22 2012 Dave Love <fx@gnu.org> - 0.12-1
Dave Love 372eaa1
- Initial packaging