aac29e6
# Generated by go2rpm 1
aac29e6
%bcond_without check
aac29e6
ce9dbfc
# https://github.com/direnv/direnv
aac29e6
%global goipath         github.com/direnv/direnv
aa2e61d
Version:                2.28.0
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
102fff9
Release:        2%{?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
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