From a8c88f3d621131c2d580bad8a76225c68fc2ecab Mon Sep 17 00:00:00 2001 From: Ondrej Vasik Date: Sep 18 2009 10:34:27 +0000 Subject: Spec file cleanup to reflect Fedora merge review #226568 git-svn-id: https://svn.fedorahosted.org/svn/xmlto@48 eb1b79c1-ba03-4820-82f3-b60cf523859b --- diff --git a/xmlto.spec.in b/xmlto.spec.in index 0a01e28..fa05bc6 100644 --- a/xmlto.spec.in +++ b/xmlto.spec.in @@ -8,8 +8,9 @@ Group: Applications/System #URL: http://cyberelk.net/tim/xmlto/ #Source0: http://cyberelk.net/tim/data/xmlto/stable/%{name}-%{version}.tar.bz2 URL: https://fedorahosted.org/xmlto/ -Source0: http://svn.fedorahosted.org/svn/%{name}/%{name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot +Source0: https://fedorahosted.org/releases/x/m/%{name}/%{name}-%{version}.tar.bz2 + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: docbook-xsl >= 1.56.0 BuildRequires: libxslt @@ -23,7 +24,7 @@ Requires: @WEBBROWSER@ Requires: libxslt Requires: docbook-dtds -Requires: util-linux, flex, which +Requires: util-linux, flex %description This is a package for converting XML files to various formats using XSL @@ -65,7 +66,7 @@ make check %install rm -rf %{buildroot} -%makeinstall +make install DESTDIR=%{buildroot} INSTALL="install -p" [ -d %{buildroot}%{_datadir}/xmlto/xsl ] || \ mkdir %{buildroot}%{_datadir}/xmlto/xsl @@ -93,7 +94,7 @@ rm -rf %{buildroot} %files xhtml %defattr(-,root,root,-) %dir %{_datadir}/xmlto/format/xhtml1/ -%{_datadir}/xmlto/format/xhtml1 +%{_datadir}/xmlto/format/xhtml1/* %changelog * Wed Mar 25 2009 Ondrej Vasik