forked from pool/javapackages-tools
This commit is contained in:
parent
3618a18e7b
commit
29dc24c59e
@ -5,6 +5,7 @@ Wed Oct 24 08:19:24 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
|||||||
- Modified patch:
|
- Modified patch:
|
||||||
* suse-no-epoch.patch
|
* suse-no-epoch.patch
|
||||||
+ rediff to changed code
|
+ rediff to changed code
|
||||||
|
- Build the :extras flavour as noarch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 24 07:53:45 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
Wed Oct 24 07:53:45 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
||||||
@ -13,6 +14,7 @@ Wed Oct 24 07:53:45 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
|||||||
* suse-no-epoch.patch
|
* suse-no-epoch.patch
|
||||||
+ we did not bump epoch of OpenJDK packages in SUSE
|
+ we did not bump epoch of OpenJDK packages in SUSE
|
||||||
+ fix a potential generation of unresolvable requires
|
+ fix a potential generation of unresolvable requires
|
||||||
|
+ adapt the tests to not expect the epoch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 24 14:09:47 UTC 2018 - tchvatal@suse.com
|
Tue Jul 24 14:09:47 UTC 2018 - tchvatal@suse.com
|
||||||
|
@ -33,9 +33,7 @@ Summary: Macros and scripts for Java packaging support
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Java
|
Group: Development/Languages/Java
|
||||||
URL: https://github.com/fedora-java/javapackages
|
URL: https://github.com/fedora-java/javapackages
|
||||||
# Latest tag is missing, quite often needs patches, use service
|
|
||||||
Source0: https://github.com/fedora-java/javapackages/archive/%{version}.tar.gz
|
Source0: https://github.com/fedora-java/javapackages/archive/%{version}.tar.gz
|
||||||
|
|
||||||
#PATCH-FIX-SUSE: SUSE does store jvm related things in libdir - ie /usr/lib64 on 64bits
|
#PATCH-FIX-SUSE: SUSE does store jvm related things in libdir - ie /usr/lib64 on 64bits
|
||||||
# where Fedora use jpackage convention - usr/lib everywhere
|
# where Fedora use jpackage convention - usr/lib everywhere
|
||||||
Patch0: suse-use-libdir.patch
|
Patch0: suse-use-libdir.patch
|
||||||
@ -48,6 +46,7 @@ BuildRequires: asciidoc
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: rpm
|
BuildRequires: rpm
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
|
Requires: javapackages-filesystem = %{version}-%{release}
|
||||||
# Used on too many places
|
# Used on too many places
|
||||||
Provides: jpackage-utils = %{version}
|
Provides: jpackage-utils = %{version}
|
||||||
Obsoletes: %{name}-doc
|
Obsoletes: %{name}-doc
|
||||||
@ -57,11 +56,20 @@ BuildRequires: python3-lxml
|
|||||||
BuildRequires: python3-nose
|
BuildRequires: python3-nose
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-six
|
BuildRequires: python3-six
|
||||||
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides macros and scripts to support Java packaging.
|
This package provides macros and scripts to support Java packaging.
|
||||||
|
|
||||||
|
%package -n javapackages-filesystem
|
||||||
|
Summary: Java packages filesystem layout
|
||||||
|
Group: Development/Languages/Java
|
||||||
|
|
||||||
|
%description -n javapackages-filesystem
|
||||||
|
This package provides some basic directories into which Java packages
|
||||||
|
install their content.
|
||||||
|
|
||||||
%if %{with python}
|
%if %{with python}
|
||||||
%package -n maven-local
|
%package -n maven-local
|
||||||
Summary: Macros and scripts for Maven packaging support
|
Summary: Macros and scripts for Maven packaging support
|
||||||
@ -172,9 +180,6 @@ files="
|
|||||||
for i in $files; do
|
for i in $files; do
|
||||||
rm -rf %{buildroot}/$i
|
rm -rf %{buildroot}/$i
|
||||||
done
|
done
|
||||||
%else
|
|
||||||
# we want this in the basic package always
|
|
||||||
cat files-filesystem >> files-tools
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
rm -rf %{buildroot}%{_datadir}/fedora-review/
|
rm -rf %{buildroot}%{_datadir}/fedora-review/
|
||||||
@ -187,7 +192,9 @@ rm -rf %{buildroot}%{_datadir}/fedora-review/
|
|||||||
%if !%{with python}
|
%if !%{with python}
|
||||||
%files -f files-tools
|
%files -f files-tools
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%dir %{_datadir}/maven-metadata
|
|
||||||
|
%files -n javapackages-filesystem -f files-filesystem
|
||||||
|
|
||||||
%else
|
%else
|
||||||
%files -n javapackages-local -f files-local
|
%files -n javapackages-local -f files-local
|
||||||
%dir %{_datadir}/java-utils
|
%dir %{_datadir}/java-utils
|
||||||
|
Loading…
x
Reference in New Issue
Block a user