Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ac725e7c4 |
2 changed files with 18 additions and 2 deletions
9
openwsman-2.6.2-winrs-shebang.patch
Normal file
9
openwsman-2.6.2-winrs-shebang.patch
Normal file
|
|
@ -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
|
||||
|
|
@ -16,7 +16,7 @@ BuildRequires: perl-devel pkgconfig openssl-devel
|
|||
BuildRequires: cmake
|
||||
BuildRequires: systemd-units
|
||||
Version: 2.6.2
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Url: http://www.openwsman.org/
|
||||
License: BSD
|
||||
Group: Applications/System
|
||||
|
|
@ -33,6 +33,8 @@ Source3: owsmantestcert.sh
|
|||
Patch1: openwsman-2.2.7-libssl.patch
|
||||
Patch2: openwsman-2.4.0-pamsetup.patch
|
||||
Patch3: openwsman-2.4.12-ruby-binding-build.patch
|
||||
# Patch4: adds shebang to winrs ruby script, already upstream
|
||||
Patch4: openwsman-2.6.2-winrs-shebang.patch
|
||||
|
||||
%description
|
||||
Openwsman is a project intended to provide an open-source
|
||||
|
|
@ -168,6 +170,7 @@ can use it to send shell commands to a remote Windows hosts.
|
|||
%patch1 -p1 -b .libssl
|
||||
%patch2 -p1 -b .pamsetup
|
||||
%patch3 -p1 -b .ruby-binding-build
|
||||
%patch4 -p1 -b .winrs-shebang
|
||||
|
||||
# support ruby 2.2
|
||||
pushd bindings/ruby
|
||||
|
|
@ -332,10 +335,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-4
|
||||
- Add shebang to winrs ruby script, make it executable
|
||||
Resolves: #1387087
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue