remove obsolete macros
This commit is contained in:
parent
4e5b3e09c8
commit
80622736d7
@ -11,8 +11,6 @@ URL: https://github.com/ago/pps-tools
|
||||
# git archive --prefix=pps-tools/ ac0aa6 | gzip > pps-tools-20120215gitac0aa6.tar.gz
|
||||
Source0: pps-tools-20120215gitac0aa6.tar.gz
|
||||
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
%description
|
||||
This package includes the LinuxPPS user-space tools.
|
||||
|
||||
@ -31,22 +29,16 @@ applications.
|
||||
CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/sys}
|
||||
install -m755 -t $RPM_BUILD_ROOT%{_bindir} ppsctl ppsfind ppstest ppswatch
|
||||
install -p -m644 -t $RPM_BUILD_ROOT%{_includedir} timepps.h
|
||||
ln -s ../timepps.h $RPM_BUILD_ROOT%{_includedir}/sys
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING debian/README debian/copyright
|
||||
%{_bindir}/pps*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/timepps.h
|
||||
%{_includedir}/sys/timepps.h
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user