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:
Stanislav Ochotnicky 2013-09-09 13:35:35 +02:00
parent 4a755d42fa
commit cf7d1ede3b
3 changed files with 65 additions and 3 deletions

3
.gitignore vendored
View File

@ -40,3 +40,6 @@
/javapackages-0.15.0.tar.xz
/javapackages-2.0.0.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

View File

@ -1,21 +1,29 @@
Name: javapackages-tools
Version: 2.0.1
Version: 3.0.2
Release: 1%{?dist}
Summary: Macros and scripts for Java packaging support
License: BSD
URL: https://fedorahosted.org/javapackages/
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
BuildRequires: jpackage-utils
BuildRequires: asciidoc
BuildRequires: xmlto
BuildRequires: python-lxml
BuildRequires: python2-devel
BuildRequires: python-setuptools
Requires: coreutils
Requires: libxslt
Requires: lua
Requires: python
Requires: python-javapackages
Provides: 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
Requires: %{name} = %{version}-%{release}
Requires: maven
Requires: xmvn
Requires: xmvn >= 1.0.0-0.1
# POM files needed by maven itself
Requires: apache-commons-parent
Requires: apache-parent
@ -61,6 +69,23 @@ Requires: maven-surefire-provider-testng
%description -n maven-local
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
%setup -q -n javapackages-%{version}
@ -68,19 +93,53 @@ This package provides macros and scripts to support packaging Maven artifacts.
%build
%configure
./build
pushd python
%{__python} setup.py build
popd
%install
./install
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
%doc LICENSE
%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
* 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
- Update to upstream version 2.0.1
- Fix creation of artifact aliases, resolves: rhbz#988462

View File

@ -1 +1 @@
c46ed5e20dc9a06f5336ac9420d15a3c javapackages-2.0.1.tar.xz
89a466cee0ad19a6b5ea02fc796f1e33 javapackages-3.0.2.tar.xz