Update to upstream version 3.0.2
- Add separate python-javapackages subpackage - Add separate fedora-review-plugin-java subpackage - Enable part of unit tests
This commit is contained in:
parent
4a755d42fa
commit
cf7d1ede3b
3
.gitignore
vendored
3
.gitignore
vendored
@ -40,3 +40,6 @@
|
|||||||
/javapackages-0.15.0.tar.xz
|
/javapackages-0.15.0.tar.xz
|
||||||
/javapackages-2.0.0.tar.xz
|
/javapackages-2.0.0.tar.xz
|
||||||
/javapackages-2.0.1.tar.xz
|
/javapackages-2.0.1.tar.xz
|
||||||
|
/javapackages-3.0.0.tar.xz
|
||||||
|
/javapackages-3.0.1.tar.xz
|
||||||
|
/javapackages-3.0.2.tar.xz
|
||||||
|
@ -1,21 +1,29 @@
|
|||||||
Name: javapackages-tools
|
Name: javapackages-tools
|
||||||
Version: 2.0.1
|
Version: 3.0.2
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Macros and scripts for Java packaging support
|
Summary: Macros and scripts for Java packaging support
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://fedorahosted.org/javapackages/
|
URL: https://fedorahosted.org/javapackages/
|
||||||
Source0: https://fedorahosted.org/released/javapackages/javapackages-%{version}.tar.xz
|
Source0: https://fedorahosted.org/released/javapackages/javapackages-%{version}.tar.xz
|
||||||
|
|
||||||
|
# temporary for rebuild with classifier support
|
||||||
|
Source1: google-guice-sisu-guice-noaop.xml
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: jpackage-utils
|
BuildRequires: jpackage-utils
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
|
BuildRequires: python-lxml
|
||||||
|
BuildRequires: python2-devel
|
||||||
|
BuildRequires: python-setuptools
|
||||||
|
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
Requires: libxslt
|
Requires: libxslt
|
||||||
Requires: lua
|
Requires: lua
|
||||||
Requires: python
|
Requires: python
|
||||||
|
Requires: python-javapackages
|
||||||
|
|
||||||
Provides: jpackage-utils = %{version}-%{release}
|
Provides: jpackage-utils = %{version}-%{release}
|
||||||
Obsoletes: jpackage-utils < %{version}-%{release}
|
Obsoletes: jpackage-utils < %{version}-%{release}
|
||||||
@ -27,7 +35,7 @@ This package provides macros and scripts to support Java packaging.
|
|||||||
Summary: Macros and scripts for Maven packaging support
|
Summary: Macros and scripts for Maven packaging support
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: maven
|
Requires: maven
|
||||||
Requires: xmvn
|
Requires: xmvn >= 1.0.0-0.1
|
||||||
# POM files needed by maven itself
|
# POM files needed by maven itself
|
||||||
Requires: apache-commons-parent
|
Requires: apache-commons-parent
|
||||||
Requires: apache-parent
|
Requires: apache-parent
|
||||||
@ -61,6 +69,23 @@ Requires: maven-surefire-provider-testng
|
|||||||
%description -n maven-local
|
%description -n maven-local
|
||||||
This package provides macros and scripts to support packaging Maven artifacts.
|
This package provides macros and scripts to support packaging Maven artifacts.
|
||||||
|
|
||||||
|
%package -n python-javapackages
|
||||||
|
Summary: Module for handling various files for Java packaging
|
||||||
|
Requires: python-lxml
|
||||||
|
|
||||||
|
%description -n python-javapackages
|
||||||
|
Module for handling, querying and manipulating of various files for Java
|
||||||
|
packaging in Linux distributions
|
||||||
|
|
||||||
|
%package -n fedora-review-plugin-java
|
||||||
|
Summary: fedora-review plugin for checking Java packaging guidelines
|
||||||
|
License: GPLv2+
|
||||||
|
Requires: fedora-review
|
||||||
|
|
||||||
|
%description -n fedora-review-plugin-java
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n javapackages-%{version}
|
%setup -q -n javapackages-%{version}
|
||||||
@ -68,19 +93,53 @@ This package provides macros and scripts to support packaging Maven artifacts.
|
|||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
./build
|
./build
|
||||||
|
pushd python
|
||||||
|
%{__python} setup.py build
|
||||||
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./install
|
./install
|
||||||
sed -e 's/.[17]$/&.gz/' -e 's/.py$/&*/' -i files-*
|
sed -e 's/.[17]$/&.gz/' -e 's/.py$/&*/' -i files-*
|
||||||
|
|
||||||
|
pushd python
|
||||||
|
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
||||||
|
popd
|
||||||
|
|
||||||
|
cp %{SOURCE1} %{buildroot}%{_mavendepmapfragdir}/
|
||||||
|
|
||||||
|
%check
|
||||||
|
pushd python
|
||||||
|
%{__python} setup.py test
|
||||||
|
popd
|
||||||
|
|
||||||
|
|
||||||
%files -f files-common
|
%files -f files-common
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%files -n maven-local -f files-maven
|
%files -n maven-local -f files-maven
|
||||||
|
%{_mavendepmapfragdir}/*xml
|
||||||
|
|
||||||
|
%files -n python-javapackages
|
||||||
|
%doc LICENSE
|
||||||
|
%{python_sitelib}/javapackages*
|
||||||
|
|
||||||
|
%files -n fedora-review-plugin-java
|
||||||
|
%{_datadir}/fedora-review/plugins/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 10 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> 3.0.2-1
|
||||||
|
- Update to upstream version 3.0.2
|
||||||
|
- Add separate python-javapackages subpackage
|
||||||
|
- Add separate fedora-review-plugin-java subpackage
|
||||||
|
- Enable part of unit tests
|
||||||
|
|
||||||
|
* Tue Sep 3 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> 3.0.0-0.2
|
||||||
|
- Fix javadoc directory override
|
||||||
|
|
||||||
|
* Tue Sep 3 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> 3.0.0-0.1
|
||||||
|
- Update to upstream pre-release version 3.0.0
|
||||||
|
|
||||||
* Fri Jul 26 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.1-1
|
* Fri Jul 26 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.1-1
|
||||||
- Update to upstream version 2.0.1
|
- Update to upstream version 2.0.1
|
||||||
- Fix creation of artifact aliases, resolves: rhbz#988462
|
- Fix creation of artifact aliases, resolves: rhbz#988462
|
||||||
|
Loading…
Reference in New Issue
Block a user