forked from pool/javapackages-tools
Accepting request 206332 from server:Kolab:Extras
OBS-URL: https://build.opensuse.org/request/show/206332 OBS-URL: https://build.opensuse.org/package/show/Java:packages/javapackages-tools?expand=0&rev=10
This commit is contained in:
parent
2445806efb
commit
e4ebe56231
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 8 17:06:25 UTC 2013 - aj@ajaissle.de
|
||||
|
||||
- BuildRequires xz
|
||||
- Remove '/etc/java' and '/usr/share/java' from file list (both owned by system)
|
||||
- Url changed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 11 15:50:05 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -27,7 +27,7 @@ Summary: Macros and scripts for Java packaging support
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Java
|
||||
|
||||
Url: https://fedorahosted.org/javapackages/
|
||||
Url: https://git.fedorahosted.org/cgit/javapackages.git/
|
||||
Source0: https://fedorahosted.org/released/javapackages/javapackages-%{version}.tar.xz
|
||||
#PATCH-FIX-SUSE: SUSE does store jvm related things in libdir - ie /usr/lib64 on 64bits
|
||||
# where Fedora use jpackage convention - usr/lib everywhere
|
||||
@ -35,9 +35,10 @@ Patch0: suse-use-libdir.patch
|
||||
# PATCH-FIX-UPSTREAM Drain stdin in dependency generator
|
||||
Patch1: depgen.patch
|
||||
#BuildArch: noarch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: xz
|
||||
|
||||
Requires: coreutils
|
||||
# for xsltproc
|
||||
@ -110,16 +111,19 @@ sed -i -e "s,^.*fileattrs/javadoc.attr,# out," install
|
||||
sed -e 's/.[17]$/&.gz/' -e 's/.py$/&*/' -i files-*
|
||||
|
||||
%if %{without mavenlocal}
|
||||
pushd %{buildroot}
|
||||
cd %{buildroot}
|
||||
rm etc/rpm/macros.xmvn \
|
||||
etc/maven/metadata-org-apache-maven-plugins.xml \
|
||||
etc/maven/metadata-org-codehaus-mojo.xml \
|
||||
usr/share/java-utils/xmvn_config_editor.sh \
|
||||
usr/bin/mvn-* \
|
||||
usr/share/xmvn/configuration*.xml
|
||||
popd
|
||||
cd -
|
||||
%endif
|
||||
|
||||
mv files-common files-common-old
|
||||
cat files-common-old | grep -v '^%dir /etc/java$' | grep -v '^%dir /usr/share/java$' > files-common
|
||||
|
||||
%files -f files-common
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user