aac29e6
# Generated by go2rpm 1
aac29e6
%bcond_without check
aac29e6
ce9dbfc
# https://github.com/direnv/direnv
aac29e6
%global goipath         github.com/direnv/direnv
1136169
Version:                2.32.1
ce9dbfc
aac29e6
%gometa
ce9dbfc
aac29e6
%global common_description %{expand:
aac29e6
direnv augments existing shells with a new feature that can load and unload
aac29e6
environment variables depending on the current directory.}
ce9dbfc
9ba1f70
%global golicenses      LICENSE
aac29e6
%global godocs          docs CHANGELOG.md README.md version.txt man/direnv-\\\
aac29e6
                        stdlib.1.md man/direnv.toml.1.md man/direnv.1.md
ce9dbfc
aac29e6
Name:           direnv
40fe2bb
Release:        4%{?dist}
aac29e6
Summary:        Per-directory shell configuration tool
ce9dbfc
aac29e6
License:        MIT
aac29e6
URL:            %{gourl}
aac29e6
Source0:        %{gosource}
ce9dbfc
aac29e6
BuildRequires:  golang(github.com/BurntSushi/toml)
aac29e6
BuildRequires:  golang(github.com/direnv/go-dotenv)
0c8cd53
BuildRequires:  golang(github.com/mattn/go-isatty)
9ba1f70
BuildRequires:  golang(golang.org/x/mod/semver)
ce9dbfc
aac29e6
%description
aac29e6
%{common_description}
ce9dbfc
aac29e6
%gopkg
ce9dbfc
aac29e6
%prep
aac29e6
%goprep
ce9dbfc
aac29e6
%build
aac29e6
%gobuild -o %{gobuilddir}/bin/direnv %{goipath}
ce9dbfc
aac29e6
%install
aac29e6
%gopkginstall
aac29e6
install -m 0755 -vd                     %{buildroot}%{_bindir}
aac29e6
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
ce9dbfc
aac29e6
install -m 0755 -vd         %{buildroot}%{_mandir}/man1
aac29e6
install -m 0644 -vp man/*.1 %{buildroot}%{_mandir}/man1
ce9dbfc
aac29e6
%if %{with check}
aac29e6
%check
aac29e6
%gocheck
aac29e6
%endif
ce9dbfc
aac29e6
%files
9ba1f70
%license LICENSE
aac29e6
%doc docs CHANGELOG.md README.md version.txt
aac29e6
%{_bindir}/*
aac29e6
%{_mandir}/man1/*
ce9dbfc
aac29e6
%gopkgfiles
ce9dbfc
aac29e6
%changelog
40fe2bb
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.32.1-4
40fe2bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
40fe2bb
5a0c6a7
* Tue Jul 19 2022 Maxwell G <gotmax@e.email> - 2.32.1-3
5a0c6a7
- Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in
5a0c6a7
  golang
5a0c6a7
845203c
* Sat Jul 09 2022 Maxwell G <gotmax@e.email> - 2.32.1-2
845203c
- Rebuild for CVE-2022-{24675,28327,29526} in golang
845203c
1136169
* Wed Jun 22 2022 Ed Marshall <esm@logic.net> - 2.32.1-1
1136169
- Update to 2.32.1
1136169
- Close; rhbz#2027120
1136169
ba8e1b7
* Fri Jun 17 2022 Robert-André Mauchin <zebob.m@gmail.com> - 2.28.0-5
ba8e1b7
- Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191,
ba8e1b7
  CVE-2022-29526, CVE-2022-30629
ba8e1b7
430589c
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.28.0-4
430589c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
430589c
12daeb6
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.28.0-3
12daeb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
12daeb6
d38c0c2
* Tue Jun 15 2021 Ed Marshall <esm@logic.net> - 2.28.0-2
d38c0c2
- Update to 2.28.0
aa2e61d
- Close: rhbz#1938419
aa2e61d
102fff9
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.27.0-2
102fff9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
102fff9
82443dc
* Sat Jan  2 17:52:00 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 2.27.0-1
82443dc
- Update to 2.27.0
82443dc
- Close: rhbz#1911955
82443dc
d2005c8
* Fri Jan  1 17:53:53 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 2.26.0-1
d2005c8
- Update to 2.26.0
d2005c8
- Close: rhbz#1911127
d2005c8
0c8cd53
* Sat Dec 26 15:34:39 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 2.25.2-1
0c8cd53
- Update to 2.25.2
0c8cd53
- Close: rhbz#1887117
0c8cd53
- Close: rhbz#1910775
0c8cd53
6cc13d8
* Tue Oct 06 2020 Ed Marshall <esm@logic.net> - 2.22.1-1
6cc13d8
- Update to 2.22.1
6cc13d8
ec50982
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.21.3-2
ec50982
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ec50982
9c3c265
* Fri May 08 2020 Ed Marshall <esm@logic.net> - 2.21.3-1
9c3c265
- Update to 2.21.3
9c3c265
- Removed now-unneeded manpage lint fix
9c3c265
1a2dd59
* Wed Jan 29 2020 Ed Marshall <esm@logic.net> - 2.21.2-1
af5c82a
- Update to 2.21.2
af5c82a
8e402ed
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.21.1-2
8e402ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
8e402ed
9ba1f70
* Sun Jan 26 2020 Ed Marshall <esm@logic.net> - 2.21.1-1
9ba1f70
- Update to 2.21.1
9ba1f70
aac29e6
* Wed Oct 30 2019 Ed Marshall <esm@logic.net> - 2.20.1-1
aac29e6
- Update to 2.20.1
aac29e6
- Update spec to latest Fedora go packaging guidelines
ce9dbfc
ce9dbfc
* Tue Aug 30 2016 Dominic Cleal <dominic@cleal.org> - 2.9.0-2
ce9dbfc
- Fix make call to use parallel flag macro
ce9dbfc
- Fix default values of EA/BRs when macros aren't defined
ce9dbfc
ce9dbfc
* Wed Jul 20 2016 Dominic Cleal <dominic@cleal.org> - 2.9.0-1
ce9dbfc
- Initial build for Fedora