Update to current packaging guidelines
This commit is contained in:
parent
eca2298726
commit
e65beaa64c
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
Name: xalan-j2
|
Name: xalan-j2
|
||||||
Version: 2.7.1
|
Version: 2.7.1
|
||||||
Release: 23%{?dist}
|
Release: 24%{?dist}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Summary: Java XSLT processor
|
Summary: Java XSLT processor
|
||||||
# src/org/apache/xpath/domapi/XPathStylesheetDOM3Exception.java is W3C
|
# src/org/apache/xpath/domapi/XPathStylesheetDOM3Exception.java is W3C
|
||||||
@ -52,14 +52,13 @@ Patch1: %{name}-serializerJARname.patch
|
|||||||
# and 1581426.
|
# and 1581426.
|
||||||
Patch2: %{name}-CVE-2014-0107.patch
|
Patch2: %{name}-CVE-2014-0107.patch
|
||||||
URL: http://xalan.apache.org/
|
URL: http://xalan.apache.org/
|
||||||
Group: Development/Libraries
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Provides: jaxp_transform_impl
|
Provides: jaxp_transform_impl
|
||||||
Requires: xerces-j2
|
Requires: xerces-j2
|
||||||
Requires(post): chkconfig
|
Requires(post): chkconfig
|
||||||
Requires(preun): chkconfig
|
Requires(preun): chkconfig
|
||||||
BuildRequires: jpackage-utils >= 0:1.6
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: bcel
|
BuildRequires: bcel
|
||||||
@ -81,7 +80,6 @@ in other program.
|
|||||||
|
|
||||||
%package xsltc
|
%package xsltc
|
||||||
Summary: XSLT compiler
|
Summary: XSLT compiler
|
||||||
Group: Development/Tools
|
|
||||||
Requires: java_cup
|
Requires: java_cup
|
||||||
Requires: bcel
|
Requires: bcel
|
||||||
Requires: regexp
|
Requires: regexp
|
||||||
@ -93,15 +91,12 @@ lightweight and portable Java byte codes called translets.
|
|||||||
|
|
||||||
%package manual
|
%package manual
|
||||||
Summary: Manual for %{name}
|
Summary: Manual for %{name}
|
||||||
Group: Documentation
|
|
||||||
|
|
||||||
%description manual
|
%description manual
|
||||||
Documentation for %{name}.
|
Documentation for %{name}.
|
||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: Javadoc for %{name}
|
Summary: Javadoc for %{name}
|
||||||
Group: Documentation
|
|
||||||
Requires: jpackage-utils
|
|
||||||
BuildRequires: java-javadoc
|
BuildRequires: java-javadoc
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
@ -109,7 +104,6 @@ Javadoc for %{name}.
|
|||||||
|
|
||||||
%package demo
|
%package demo
|
||||||
Summary: Demo for %{name}
|
Summary: Demo for %{name}
|
||||||
Group: Documentation
|
|
||||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||||
Requires: tomcat-servlet-3.0-api
|
Requires: tomcat-servlet-3.0-api
|
||||||
|
|
||||||
@ -231,24 +225,28 @@ update-alternatives --install %{_javadir}/jaxp_transform_impl.jar \
|
|||||||
} >/dev/null 2>&1 || :
|
} >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%doc KEYS LICENSE.txt NOTICE.txt readme.html
|
%license LICENSE.txt NOTICE.txt
|
||||||
|
%doc KEYS readme.html
|
||||||
%ghost %{_javadir}/jaxp_transform_impl.jar
|
%ghost %{_javadir}/jaxp_transform_impl.jar
|
||||||
|
|
||||||
%files xsltc -f .mfiles-xsltc
|
%files xsltc -f .mfiles-xsltc
|
||||||
%doc LICENSE.txt NOTICE.txt
|
%license LICENSE.txt NOTICE.txt
|
||||||
|
|
||||||
%files manual
|
%files manual
|
||||||
%doc LICENSE.txt NOTICE.txt
|
%license LICENSE.txt NOTICE.txt
|
||||||
%doc build/docs/*
|
%doc build/docs/*
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%doc LICENSE.txt NOTICE.txt
|
%license LICENSE.txt NOTICE.txt
|
||||||
%doc %{_javadocdir}/%{name}
|
%doc %{_javadocdir}/%{name}
|
||||||
|
|
||||||
%files demo
|
%files demo
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 11 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.7.1-24
|
||||||
|
- Update to current packaging guidelines
|
||||||
|
|
||||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.7.1-23
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.7.1-23
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user