- pproper redirect to /dev/null for uninstall
This commit is contained in:
parent
8d0f4bb67c
commit
216b7ed82c
@ -1,7 +1,7 @@
|
||||
Summary: A DSSSL implementation.
|
||||
Name: openjade
|
||||
Version: 1.3.2
|
||||
Release: 24
|
||||
Release: 25
|
||||
Prereq: sgml-common >= 0.5
|
||||
Source: http://download.sourceforge.net/openjade/openjade-%{version}.tar.gz
|
||||
Patch0: openjade-ppc64.patch
|
||||
@ -27,13 +27,11 @@ XML, RTF, TeX, MIF (FrameMaker), SGML, or XML.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch0 -p1 -b .ppc64
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
|
||||
%build
|
||||
|
||||
%configure --disable-static --datadir=%{_datadir}/sgml/%{name}-%{version} \
|
||||
--enable-splibdir=%{_libdir}
|
||||
make %{?_smp_mflags}
|
||||
@ -74,10 +72,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%preun
|
||||
/usr/bin/install-catalog --remove /etc/sgml/%{name}-%{version}-%{release}.soc \
|
||||
%{_datadir}/sgml/%{name}-%{version}/catalog /dev/null 2>/dev/null || :
|
||||
%{_datadir}/sgml/%{name}-%{version}/catalog >/dev/null 2>/dev/null || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -93,6 +90,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/*.la
|
||||
|
||||
%changelog
|
||||
* Mon Jun 26 2006 Florian La Roche <laroche@redhat.com>
|
||||
- add redirection to /dev/null for preun
|
||||
|
||||
* Tue Jun 13 2006 Tim Waugh <twaugh@redhat.com> 1.3.2-24
|
||||
- Rebuild against opensp.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user