Update to upstream version 4.3.1
This commit is contained in:
parent
32eaff6e10
commit
4104d7f80a
1
.gitignore
vendored
1
.gitignore
vendored
@ -63,3 +63,4 @@
|
|||||||
/javapackages-4.1.0.tar.xz
|
/javapackages-4.1.0.tar.xz
|
||||||
/javapackages-4.2.0.tar.xz
|
/javapackages-4.2.0.tar.xz
|
||||||
/javapackages-4.3.0.tar.xz
|
/javapackages-4.3.0.tar.xz
|
||||||
|
/javapackages-4.3.1.tar.xz
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
%if 0%{?fedora} > 12
|
%if 0%{?fedora} > 21
|
||||||
%global with_python3 1
|
%global with_python3 1
|
||||||
%else
|
%else
|
||||||
%{!?__python2: %global __python2 /usr/bin/python2}
|
%{!?__python2: %global __python2 /usr/bin/python2}
|
||||||
@ -6,7 +6,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: javapackages-tools
|
Name: javapackages-tools
|
||||||
Version: 4.3.0
|
Version: 4.3.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
Summary: Macros and scripts for Java packaging support
|
Summary: Macros and scripts for Java packaging support
|
||||||
@ -22,14 +22,12 @@ BuildRequires: python3-devel
|
|||||||
BuildRequires: python3-lxml
|
BuildRequires: python3-lxml
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-nose
|
BuildRequires: python3-nose
|
||||||
BuildRequires: python3-six
|
|
||||||
BuildRequires: python3-PyXB = 1.2.4
|
BuildRequires: python3-PyXB = 1.2.4
|
||||||
%else
|
%else
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-lxml
|
BuildRequires: python-lxml
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
BuildRequires: python-nose
|
BuildRequires: python-nose
|
||||||
BuildRequires: python-six
|
|
||||||
BuildRequires: PyXB = 1.2.4
|
BuildRequires: PyXB = 1.2.4
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
@ -116,7 +114,6 @@ artifact resolution using XMvn resolver.
|
|||||||
Summary: Module for handling various files for Java packaging
|
Summary: Module for handling various files for Java packaging
|
||||||
Requires: python3-PyXB = 1.2.4
|
Requires: python3-PyXB = 1.2.4
|
||||||
Requires: python3-lxml
|
Requires: python3-lxml
|
||||||
Requires: python3-six
|
|
||||||
Obsoletes: python-javapackages < %{version}-%{release}
|
Obsoletes: python-javapackages < %{version}-%{release}
|
||||||
|
|
||||||
%description -n python3-javapackages
|
%description -n python3-javapackages
|
||||||
@ -128,7 +125,6 @@ packaging in Linux distributions
|
|||||||
Summary: Module for handling various files for Java packaging
|
Summary: Module for handling various files for Java packaging
|
||||||
Requires: PyXB = 1.2.4
|
Requires: PyXB = 1.2.4
|
||||||
Requires: python-lxml
|
Requires: python-lxml
|
||||||
Requires: python-six
|
|
||||||
Obsoletes: python3-javapackages < %{version}-%{release}
|
Obsoletes: python3-javapackages < %{version}-%{release}
|
||||||
|
|
||||||
%description -n python-javapackages
|
%description -n python-javapackages
|
||||||
@ -164,24 +160,13 @@ This package provides non-essential macros and scripts to support Java packaging
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n javapackages-%{version}
|
%setup -q -n javapackages-%{version}
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
find . -name '*.py' | xargs sed -i '1s|^#!.*python|#!%{__python3}|'
|
|
||||||
find ./depgenerators -name '*.req' | xargs sed -i '1s|^#!.*python|#!%{__python3}|'
|
|
||||||
find ./depgenerators -name '*.prov' | xargs sed -i '1s|^#!.*python|#!%{__python3}|'
|
|
||||||
%endif # with_python3
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
|
||||||
./build
|
|
||||||
|
|
||||||
pushd python
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%{__python3} setup.py build
|
%configure --pyinterpreter=%{__python3}
|
||||||
%else
|
%else
|
||||||
%{__python2} setup.py build
|
%configure --pyinterpreter=%{__python2}
|
||||||
%endif
|
%endif
|
||||||
popd
|
./build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./install
|
./install
|
||||||
@ -196,11 +181,7 @@ pushd python
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if 0%{?with_python3}
|
./check
|
||||||
./check 3
|
|
||||||
%else
|
|
||||||
./check 2
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -f files-common
|
%files -f files-common
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
@ -228,6 +209,9 @@ popd
|
|||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 23 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.3.1-1
|
||||||
|
- Update to upstream version 4.3.1
|
||||||
|
|
||||||
* Sun Dec 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.3.0-1
|
* Sun Dec 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.3.0-1
|
||||||
- Update to upstream version 4.3.0
|
- Update to upstream version 4.3.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user