- cleanup specfile
- get rid of dev dependency
This commit is contained in:
parent
4115656251
commit
95a542240f
16
which.spec
16
which.spec
@ -1,7 +1,7 @@
|
||||
Summary: Displays where a particular program in your path is located
|
||||
Name: which
|
||||
Version: 2.16
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
License: GPL
|
||||
Group: Applications/System
|
||||
Source0: http://www.xs4all.nl/~carlo17/which/%{name}-%{version}.tar.gz
|
||||
@ -35,14 +35,14 @@ rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/profile.d
|
||||
install -p -m 755 %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d/
|
||||
install -p -m 644 %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d/
|
||||
|
||||
%post
|
||||
/sbin/install-info --quiet --info-dir=%{_infodir} %{_infodir}/which.info.gz > /dev/null 2>&1 || :
|
||||
/sbin/install-info --quiet --info-dir=%{_infodir} %{_infodir}/which.info.gz
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/which.info.gz > /dev/null 2>&1 || :
|
||||
/sbin/install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/which.info.gz
|
||||
fi
|
||||
|
||||
%clean
|
||||
@ -51,13 +51,17 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING AUTHORS LICENSE EXAMPLES README AUTHORS NEWS
|
||||
%config /etc/profile.d/which-2.*
|
||||
/etc/profile.d/which-2.*
|
||||
%{_bindir}/*
|
||||
%{_infodir}/which.info.gz
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Mon Apr 23 2007 Than Ngo <than@redhat.com> - 2.16-9.fc7
|
||||
* Tue Nov 13 2007 Than Ngo <than@redhat.com> 2.16-10
|
||||
- cleanup specfile
|
||||
- get rid of dev dependency
|
||||
|
||||
* Mon Apr 23 2007 Than Ngo <than@redhat.com> - 2.16-9
|
||||
- add missing which-2 script for csh
|
||||
- cleanup specfile #226539
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user