Use autosetup

Related: RHEL-74141
This commit is contained in:
Mikolaj Izdebski 2025-01-17 11:15:55 +01:00
parent dd7741b1d9
commit 3b6338c802

View File

@ -3,7 +3,7 @@
Name: xmvn-generator
Version: 1.2.2
Release: 6%{?dist}
Release: 7%{?dist}
Summary: RPM dependency generator for Java
License: Apache-2.0
URL: https://github.com/fedora-java/xmvn-generator
@ -40,11 +40,7 @@ from Lua.
%{?javadoc_package}
%prep
%setup -q
%patch0 -p1
%if !0%{?fedora}
%patch1 -p1
%endif
%autosetup -p1
%mvn_file : %{name}
%build
@ -66,7 +62,10 @@ install -D -p -m 644 src/main/rpm/xmvngen.attr %{buildroot}%{_fileattrsdir}/xmvn
%doc README.md
%changelog
* Fri Jan 17 2025 Mikolaj Izdebski <mizdebsk@redhat.com>
* Fri Jan 17 2025 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.2-7
- Use autosetup
* Fri Jan 17 2025 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.2-6
- Add commons-io to classpath
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.2.2-5