[xmlsectool] branch master updated: XSTJ-61 - RPM build for xmlsectool V2

Ian Young ian at iay.org.uk
Fri May 27 07:32:08 EDT 2016


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch master
in repository xmlsectool.

The following commit(s) were added to refs/heads/master by this push:
       new  043ce78   XSTJ-61 - RPM build for xmlsectool V2
043ce78 is described below

commit 043ce783054fdc5a1e9b72cbe3de641f2a03f24b
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Fri May 27 12:32:02 2016 +0100

    XSTJ-61 - RPM build for xmlsectool V2
---
 doc/xmlsectool.patch |  6 +++---
 doc/xmlsectool.spec  | 18 ++++++++++--------
 2 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/doc/xmlsectool.patch b/doc/xmlsectool.patch
index d207323..bcbbd03 100644
--- a/doc/xmlsectool.patch
+++ b/doc/xmlsectool.patch
@@ -1,6 +1,6 @@
-diff -Naur xmlsectool.orig/xmltool.sh xmlsectool/xmltool.sh
---- xmlsectool.orig/xmltool.sh	2011-02-18 16:50:21.000000000 +0100
-+++ xmlsectool/xmltool.sh	2011-02-18 16:49:58.000000000 +0100
+diff -Naur xmlsectool.orig/xmlsectool.sh xmlsectool/xmlsectool.sh
+--- xmlsectool.orig/xmlsectool.sh	2011-02-18 16:50:21.000000000 +0100
++++ xmlsectool/xmlsectool.sh	2011-02-18 16:49:58.000000000 +0100
 @@ -6,8 +6,7 @@
  declare LOCALCLASSPATH
  declare LIBDIR
diff --git a/doc/xmlsectool.spec b/doc/xmlsectool.spec
index b963680..dee6d4c 100644
--- a/doc/xmlsectool.spec
+++ b/doc/xmlsectool.spec
@@ -1,16 +1,16 @@
 %define unzip /usr/bin/unzip
-%define scriptname xmltool
+%define scriptname xmlsectool
 Summary: Java command line tool for checking and verifying XML documents
 Name: xmlsectool
-Version: 1.2.0
+Version: 2.0.0
 Release: 1
 Epoch: 0
 License: Apache License 2.0
 Group: System Environment/Libraries
-Source0: http://www.shibboleth.net/downloads/tools/%{name}/%{version}/%{name}-%{version}-bin.zip
+Source0: http://shibboleth.net/downloads/tools/%{name}/%{version}/%{name}-%{version}-bin.zip
 Patch0: xmlsectool.patch
-URL: https://wiki.shibboleth.net/confluence/display/SHIB2/XmlSecTool
-Requires: java
+URL: https://wiki.shibboleth.net/confluence/display/XSTJ/
+Requires: java >= 1.7.0
 BuildRequires: unzip
 BuildArch: noarch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%(id -u -n)
@@ -25,7 +25,7 @@ It can also create enveloped signatures of an XML document.
 %{unzip} -q $RPM_SOURCE_DIR/%{name}-%{version}-bin.zip
 cd %{name}-%{version}
 
-%patch -p1
+%patch0 -p1
 
 %install
 [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
@@ -33,9 +33,8 @@ cd %{name}-%{version}
 install -d %{buildroot}%{_bindir}
 install $RPM_BUILD_DIR/%{name}-%{version}/%{scriptname}.sh %{buildroot}%{_bindir}/%{scriptname}
 
-install -d %{buildroot}%{_javadir}/%{name}/endorsed
+install -d %{buildroot}%{_javadir}/%{name}
 install -m644 $RPM_BUILD_DIR/%{name}-%{version}/lib/*.jar %{buildroot}%{_javadir}/%{name}
-install -m644 $RPM_BUILD_DIR/%{name}-%{version}/lib/endorsed/*.jar %{buildroot}%{_javadir}/%{name}/endorsed
 
 install -d %{buildroot}%{_docdir}/%{name}
 install -m644 $RPM_BUILD_DIR/%{name}-%{version}/doc/* %{buildroot}%{_docdir}/%{name}
@@ -51,6 +50,9 @@ install -m644 $RPM_BUILD_DIR/%{name}-%{version}/doc/* %{buildroot}%{_docdir}/%{n
 %{_javadir}/%{name}/*
 
 %changelog
+* Fri May 27 2016 Ian Young <ian at iay.org.uk> 2.0.0-1
+- update to latest version
+
 * Mon Mar 04 2013 Ian Young <ian at iay.org.uk> 1.2.0-1
 - Import into xmlsectool package, update to latest version.
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list