Reimported the package

Related: #2069689
This commit is contained in:
Vitezslav Crhonek 2022-05-03 08:59:36 +02:00
parent 42335018b9
commit fb20f4ccf5
1 changed files with 18 additions and 10 deletions

View File

@ -2,7 +2,7 @@
Name: xmlstarlet Name: xmlstarlet
Version: 1.6.1 Version: 1.6.1
Release: 17%{?dist} Release: 20%{?dist}
Summary: Command Line XML Toolkit Summary: Command Line XML Toolkit
License: MIT License: MIT
URL: http://xmlstar.sourceforge.net/ URL: http://xmlstar.sourceforge.net/
@ -12,7 +12,7 @@ Patch0: xmlstarlet-1.6.1-nogit.patch
# http://sourceforge.net/tracker/?func=detail&aid=3266898&group_id=66612&atid=515106 # http://sourceforge.net/tracker/?func=detail&aid=3266898&group_id=66612&atid=515106
BuildRequires: make BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
BuildRequires: xmlto automake autoconf libxslt-devel BuildRequires: xmlto automake autoconf libxslt-devel
BuildRequires: libxml2-devel >= 2.6.23 BuildRequires: libxml2-devel >= 2.6.23
BuildRequires: docbook5-schemas BuildRequires: docbook5-schemas
@ -26,21 +26,19 @@ plain text files using UNIX grep, sed, awk, diff, patch, join, etc
commands. commands.
%prep %prep
%setup -q %autosetup -p1
%patch0 -p1 -b .nogit
%build %build
autoreconf -i autoreconf -i
%configure --disable-static-libs --with-libxml-include-prefix=%{_includedir}/libxml2 --docdir=%{_pkgdocdir} # --libdir=%{_libdir} %configure --disable-static-libs --with-libxml-include-prefix=%{_includedir}/libxml2 --docdir=%{_pkgdocdir} # --libdir=%{_libdir}
make %{?_smp_mflags} %make_build
%install %install
rm -fr %{buildroot} %make_install
make install DESTDIR=$RPM_BUILD_ROOT
# Avoid name kludging in autotools # Avoid name kludging in autotools
mv $RPM_BUILD_ROOT%{_bindir}/xml $RPM_BUILD_ROOT%{_bindir}/xmlstarlet mv %{buildroot}%{_bindir}/xml %{buildroot}%{_bindir}/xmlstarlet
%check %check
@ -56,8 +54,18 @@ make check
%changelog %changelog
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.1-17 * Thu May 12 2022 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.6.1-20
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Rebuild
Related: #2069689
* 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
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-16 * Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild