[packages/direnv] Update to 2.21.3

glen glen at pld-linux.org
Sat May 9 11:54:14 CEST 2020


commit bede7d4d40b7de267584c497476e8c108979bec1
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sat May 9 12:52:23 2020 +0300

    Update to 2.21.3

 direnv-fix-manpage.patch | 12 ------------
 direnv.spec              | 10 ++--------
 2 files changed, 2 insertions(+), 20 deletions(-)
---
diff --git a/direnv.spec b/direnv.spec
index 70f6456..a19d8a3 100644
--- a/direnv.spec
+++ b/direnv.spec
@@ -1,15 +1,12 @@
 Summary:	Per-directory shell configuration tool
 Name:		direnv
-Version:	2.20.1
+Version:	2.21.3
 Release:	1
 License:	MIT
 Group:		Applications/Shells
 Source0:	https://github.com/direnv/direnv/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	52590d44575e0f6a21663da3dccf5b03
+# Source0-md5:	afab222f7406f90726733f99c095eb0a
 URL:		https://direnv.net
-# Work around bug in markdown->man generation
-# https://github.com/direnv/direnv/pull/113
-Patch0:		%{name}-fix-manpage.patch
 BuildRequires:	golang
 BuildRequires:	rpmbuild(macros) >= 1.647
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -30,8 +27,6 @@ mv %{name}-*/docs .
 mv %{name}-*/*.md .
 mv %{name}-*/*.txt .
 
-%patch0 -p1
-
 # don't you love go?
 install -d src/$(dirname %{import_path})
 mv %{name}-* src/%{import_path}
@@ -56,7 +51,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc LICENSE.md
 %doc docs CHANGELOG.md README.md version.txt
 %attr(755,root,root) %{_bindir}/direnv
 %{_mandir}/man1/direnv-stdlib.1*
diff --git a/direnv-fix-manpage.patch b/direnv-fix-manpage.patch
deleted file mode 100644
index 890d80e..0000000
--- a/direnv-fix-manpage.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN direnv-2.20.1.orig/man/direnv.1 direnv-2.20.1/man/direnv.1
---- direnv-2.20.1.orig/man/direnv.1	2019-03-31 12:20:39.000000000 -0700
-+++ direnv-2.20.1/man/direnv.1	2019-11-08 14:11:35.256168388 -0800
-@@ -34,7 +34,7 @@
- $ echo ${FOO\-nope}
- nope
- $ echo export FOO=foo > .envrc
--.envrc is not allowed
-+\&.envrc is not allowed
- $ direnv allow .
- direnv: reloading
- direnv: loading .envrc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/direnv.git/commitdiff/bede7d4d40b7de267584c497476e8c108979bec1



More information about the pld-cvs-commit mailing list