cleanup specfile
This commit is contained in:
parent
825d478439
commit
b49882f1e4
13
which.spec
13
which.spec
@ -1,8 +1,8 @@
|
|||||||
Summary: Displays where a particular program in your path is located
|
Summary: Displays where a particular program in your path is located
|
||||||
Name: which
|
Name: which
|
||||||
Version: 2.18
|
Version: 2.18
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPL
|
License: GPLv2
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Source0: http://www.xs4all.nl/~carlo17/which/%{name}-%{version}.tar.gz
|
Source0: http://www.xs4all.nl/~carlo17/which/%{name}-%{version}.tar.gz
|
||||||
Source1: which-2.sh
|
Source1: which-2.sh
|
||||||
@ -34,8 +34,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/profile.d
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
||||||
install -p -m 644 %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d/
|
install -p -m 644 %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/install-info --quiet --info-dir=%{_infodir} %{_infodir}/which.info.gz
|
/sbin/install-info --quiet --info-dir=%{_infodir} %{_infodir}/which.info.gz
|
||||||
@ -51,12 +51,15 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING EXAMPLES README AUTHORS NEWS
|
%doc COPYING EXAMPLES README AUTHORS NEWS
|
||||||
/etc/profile.d/which-2.*
|
%{_sysconfdir}/profile.d/which-2.*
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_infodir}/which.info.gz
|
%{_infodir}/which.info.gz
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 20 2007 Than Ngo <than@redhat.com> 2.18-2
|
||||||
|
- cleanup specfile
|
||||||
|
|
||||||
* Tue Nov 13 2007 Than Ngo <than@redhat.com> 2.18-1
|
* Tue Nov 13 2007 Than Ngo <than@redhat.com> 2.18-1
|
||||||
- 2.18
|
- 2.18
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user