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
|
||||
Name: which
|
||||
Version: 2.18
|
||||
Release: 1%{?dist}
|
||||
License: GPL
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2
|
||||
Group: Applications/System
|
||||
Source0: http://www.xs4all.nl/~carlo17/which/%{name}-%{version}.tar.gz
|
||||
Source1: which-2.sh
|
||||
@ -34,8 +34,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/profile.d
|
||||
install -p -m 644 %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d/
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
||||
install -p -m 644 %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
|
||||
|
||||
%post
|
||||
/sbin/install-info --quiet --info-dir=%{_infodir} %{_infodir}/which.info.gz
|
||||
@ -51,12 +51,15 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING EXAMPLES README AUTHORS NEWS
|
||||
/etc/profile.d/which-2.*
|
||||
%{_sysconfdir}/profile.d/which-2.*
|
||||
%{_bindir}/*
|
||||
%{_infodir}/which.info.gz
|
||||
%{_mandir}/*/*
|
||||
|
||||
%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
|
||||
- 2.18
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user