Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 09b77a98ee |
@@ -0,0 +1,9 @@
|
||||
diff -up openwsman-2.6.2/examples/winrs.rb.orig openwsman-2.6.2/examples/winrs.rb
|
||||
--- openwsman-2.6.2/examples/winrs.rb.orig 2015-10-19 15:27:46.000000000 +0200
|
||||
+++ openwsman-2.6.2/examples/winrs.rb 2017-03-13 10:30:22.812169561 +0100
|
||||
@@ -1,3 +1,5 @@
|
||||
+#!/usr/bin/env ruby
|
||||
+#
|
||||
# winrs.rb
|
||||
#
|
||||
# Windows Remote Shell
|
||||
+9
-2
@@ -9,7 +9,7 @@ BuildRequires: perl-devel perl-generators pkgconfig openssl-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: systemd-units
|
||||
Version: 2.6.2
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Url: http://www.openwsman.org/
|
||||
License: BSD
|
||||
Group: Applications/System
|
||||
@@ -27,6 +27,8 @@ Patch1: openwsman-2.2.7-libssl.patch
|
||||
Patch2: openwsman-2.4.0-pamsetup.patch
|
||||
Patch3: openwsman-2.4.12-ruby-binding-build.patch
|
||||
Patch4: openwsman-2.6.2-python3.patch
|
||||
# Patch5: adds shebang to winrs ruby script, already upstream
|
||||
Patch5: openwsman-2.6.2-winrs-shebang.patch
|
||||
|
||||
%description
|
||||
Openwsman is a project intended to provide an open-source
|
||||
@@ -183,6 +185,7 @@ popd
|
||||
%patch2 -p1 -b .pamsetup
|
||||
%patch3 -p1 -b .ruby-binding-build
|
||||
%patch4 -p1 -b .python3
|
||||
%patch5 -p1 -b .winrs-shebang
|
||||
|
||||
# support ruby 2.2
|
||||
pushd bindings/ruby
|
||||
@@ -353,10 +356,14 @@ rm -f /var/log/wsmand.log
|
||||
%doc AUTHORS COPYING ChangeLog README.md
|
||||
|
||||
%files winrs
|
||||
%{_bindir}/winrs
|
||||
%attr(0755,root,root) %{_bindir}/winrs
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Mar 13 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.6.2-8
|
||||
- Add shebang to winrs ruby script, make it executable
|
||||
Resolves: #1387087
|
||||
|
||||
* Thu Aug 11 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.6.2-7
|
||||
- Add openwsman-python3 subpackage
|
||||
Resolves: #1354481
|
||||
|
||||
Reference in New Issue
Block a user