Update to upstream version 4.0.0

This commit is contained in:
Mikolaj Izdebski 2021-07-26 10:02:36 +02:00
parent 3052da8f5b
commit d47320f429
3 changed files with 11 additions and 8 deletions

1
.gitignore vendored
View File

@ -55,3 +55,4 @@
/54026c1.tar.gz /54026c1.tar.gz
/43c7e67.tar.gz /43c7e67.tar.gz
/3b84c99.tar.gz /3b84c99.tar.gz
/xmvn-4.0.0.tar.xz

View File

@ -1 +1 @@
SHA512 (3b84c99.tar.gz) = 76c441940fabba63f22cbc2c3f8bf18466ab555f9f7b973c7139a8957806f4aa47f07d0d12a32de115ee0f555c7aa92b8074a474835ef9a83600c1b26d6ef414 SHA512 (xmvn-4.0.0.tar.xz) = a276ab8f932ac6c65bf433ab4e28b17d4724983b5ae0ed360c718311324c013d970de1c67fcb27ac95b1472eac7b17c5197a4812626f5ae82af9905621935be8

View File

@ -5,15 +5,14 @@
%endif %endif
Name: xmvn Name: xmvn
Version: 4.0.0~20210709.3b84c99 Version: 4.0.0
Release: 12%{?dist} Release: 1%{?dist}
Summary: Local Extensions for Apache Maven Summary: Local Extensions for Apache Maven
License: ASL 2.0 License: ASL 2.0
URL: https://fedora-java.github.io/xmvn/ URL: https://fedora-java.github.io/xmvn/
BuildArch: noarch BuildArch: noarch
#Source0: https://github.com/fedora-java/xmvn/releases/download/%{version}/xmvn-%{version}.tar.xz Source0: https://github.com/fedora-java/xmvn/releases/download/%{version}/xmvn-%{version}.tar.xz
Source0: https://github.com/fedora-java/xmvn/archive/3b84c99.tar.gz
BuildRequires: maven-local BuildRequires: maven-local
%if %{with bootstrap} %if %{with bootstrap}
@ -138,7 +137,7 @@ Summary: API documentation for %{name}
This package provides %{summary}. This package provides %{summary}.
%prep %prep
%setup -q -n xmvn-3b84c99ca0eee39b376d9e543801893f49ecb51c %setup -q
%mvn_package ::tar.gz: __noinstall %mvn_package ::tar.gz: __noinstall
%mvn_package ":{xmvn,xmvn-connector}" xmvn %mvn_package ":{xmvn,xmvn-connector}" xmvn
@ -161,7 +160,7 @@ cp -a "${maven_home}" target/dependency/apache-maven-$mver
%build %build
%mvn_build -j -- -P\\!quality %mvn_build -j -- -P\\!quality
version=4.0.0-SNAPSHOT version=4.0.0
tar --delay-directory-restore -xvf target/xmvn-*-bin.tar.gz tar --delay-directory-restore -xvf target/xmvn-*-bin.tar.gz
chmod -R +rwX %{name}-${version}* chmod -R +rwX %{name}-${version}*
# These are installed as doc # These are installed as doc
@ -175,7 +174,7 @@ rm -f %{name}-${version}*/bin/*
%install %install
%mvn_install %mvn_install
version=4.0.0-SNAPSHOT version=4.0.0
maven_home=$(realpath $(dirname $(realpath $(%{?jpb_env} which mvn)))/..) maven_home=$(realpath $(dirname $(realpath $(%{?jpb_env} which mvn)))/..)
install -d -m 755 %{buildroot}%{_datadir}/%{name} install -d -m 755 %{buildroot}%{_datadir}/%{name}
@ -268,6 +267,9 @@ end
%license LICENSE NOTICE %license LICENSE NOTICE
%changelog %changelog
* Mon Jul 26 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.0.0-1
- Update to upstream version 4.0.0
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0~20210709.3b84c99-12 * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0~20210709.3b84c99-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild