Use %{_cups_serverbin} instead of the hardcoded path. (#772240)
This commit is contained in:
parent
e064ed5d96
commit
78a3b8eafc
11
paps.spec
11
paps.spec
@ -1,6 +1,6 @@
|
||||
Name: paps
|
||||
Version: 0.6.8
|
||||
Release: 17%{?dist}
|
||||
Release: 18%{?dist}
|
||||
|
||||
License: LGPLv2+
|
||||
URL: http://paps.sourceforge.net/
|
||||
@ -79,8 +79,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/libpaps.la
|
||||
|
||||
# make a symlink for CUPS filter
|
||||
%{__mkdir_p} $RPM_BUILD_ROOT/usr/lib/cups/filter # Not libdir
|
||||
ln -s %{_bindir}/paps $RPM_BUILD_ROOT/usr/lib/cups/filter/texttopaps
|
||||
%{__mkdir_p} $RPM_BUILD_ROOT%{_cups_serverbin}/filter # Not libdir
|
||||
ln -s %{_bindir}/paps $RPM_BUILD_ROOT%{_cups_serverbin}/filter/texttopaps
|
||||
|
||||
install -d $RPM_BUILD_ROOT%{_sysconfdir}/cups
|
||||
install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/cups
|
||||
@ -95,7 +95,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc AUTHORS COPYING.LIB README TODO
|
||||
%{_bindir}/paps
|
||||
%{_mandir}/man1/paps.1*
|
||||
/usr/lib/cups/filter/texttopaps
|
||||
%{_cups_serverbin}/filter/texttopaps
|
||||
%dir %attr (0755, root, lp) %{_sysconfdir}/cups
|
||||
%{_sysconfdir}/cups/paps.convs
|
||||
|
||||
@ -111,6 +111,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/libpaps.so
|
||||
|
||||
%changelog
|
||||
* Wed Jan 11 2012 Akira TAGOH <tagoh@redhat.com> - 0.6.8-18
|
||||
- Use %%{_cups_serverbin} instead of the hardcoded path. (#772240)
|
||||
|
||||
* Mon Dec 5 2011 Akira TAGOH <tagoh@redhat.com> - 0.6.8-17
|
||||
- Add ldconfig in %%post/%%postun for paps-libs (#759880)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user