Minor spec improvements
This commit is contained in:
parent
dde5bd5bc8
commit
6633b1b61e
@ -2,7 +2,7 @@
|
||||
|
||||
Name: xmlstarlet
|
||||
Version: 1.6.1
|
||||
Release: 18%{?dist}
|
||||
Release: 19%{?dist}
|
||||
Summary: Command Line XML Toolkit
|
||||
License: MIT
|
||||
URL: http://xmlstar.sourceforge.net/
|
||||
@ -26,21 +26,19 @@ plain text files using UNIX grep, sed, awk, diff, patch, join, etc
|
||||
commands.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .nogit
|
||||
%autosetup -p1
|
||||
|
||||
|
||||
%build
|
||||
autoreconf -i
|
||||
%configure --disable-static-libs --with-libxml-include-prefix=%{_includedir}/libxml2 --docdir=%{_pkgdocdir} # --libdir=%{_libdir}
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
rm -fr %{buildroot}
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%make_install
|
||||
# Avoid name kludging in autotools
|
||||
mv $RPM_BUILD_ROOT%{_bindir}/xml $RPM_BUILD_ROOT%{_bindir}/xmlstarlet
|
||||
mv %{buildroot}%{_bindir}/xml %{buildroot}%{_bindir}/xmlstarlet
|
||||
|
||||
|
||||
%check
|
||||
@ -56,6 +54,9 @@ make check
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Mar 17 2022 Neal Gompa <ngompa@datto.com> - 1.6.1-19
|
||||
- Minor spec improvements
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user