do not use Requires(pre) (#1319170), fix the setup macro (#1285744), drop unnecessary parts in the spec

This commit is contained in:
Ondřej Vašík 2017-01-04 15:15:47 +01:00
parent eca4c004c6
commit c85fbf6c9a

View File

@ -1,19 +1,17 @@
Name: xhtml2fo-style-xsl Name: xhtml2fo-style-xsl
Version: 20051222 Version: 20051222
Release: 12%{?dist} Release: 13%{?dist}
Group: Applications/Text Group: Applications/Text
Summary: Antenna House, Inc. XHTML to XSL:FO stylesheets Summary: Antenna House, Inc. XHTML to XSL:FO stylesheets
License: Copyright only License: Copyright only
URL: http://www.antennahouse.com/XSLsample/XSLsample.htm URL: http://www.antennahouse.com/XSLsample/XSLsample.htm
Requires(pre): xhtml1-dtds Requires: xhtml1-dtds
Requires(pre): xml-common >= 0.6.3-8 Requires: xml-common >= 0.6.3-8
#Requires(post): libxml2 #Requires(post): libxml2
#Requires(postun): libxml2 #Requires(postun): libxml2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
Source0: http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo.zip Source0: http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo.zip
Source1: AntennaHouse-COPYRIGHT Source1: AntennaHouse-COPYRIGHT
@ -24,7 +22,7 @@ With a XSL:FO processor you could create PDF versions of XHTML documents.
%prep %prep
%setup -q -c -n %{name}-%{version} -T -b 0 %setup -c -q -n %{name}-%{version}
%__cp %{SOURCE1} . %__cp %{SOURCE1} .
%build %build
@ -36,10 +34,6 @@ DESTDIR=$RPM_BUILD_ROOT/usr/share/sgml/xhtml1/xhtml2fo-stylesheets
%__mkdir -p $DESTDIR %__mkdir -p $DESTDIR
%__cp *xsl $DESTDIR/ %__cp *xsl $DESTDIR/
%clean
%__rm -Rf $RPM_BUILD_ROOT
%files %files
%defattr (-,root,root) %defattr (-,root,root)
%doc AntennaHouse-COPYRIGHT %doc AntennaHouse-COPYRIGHT
@ -65,6 +59,11 @@ fi
%changelog %changelog
* Wed Jan 04 2017 Ondrej Vasik <ovasik@redhat.com> - 20051222-13
- do not use Requires(pre) (#1319170)
- fix the setup macro (#1285744)
- drop unnecessary parts in the spec
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20051222-12 * Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20051222-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild