remove obsolete macros
This commit is contained in:
parent
7840dce85d
commit
f601d38ad9
@ -69,7 +69,6 @@ fi
|
|||||||
make test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
|
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
|
||||||
# remove memcached-debug
|
# remove memcached-debug
|
||||||
rm -f %{buildroot}/%{_bindir}/memcached-debug
|
rm -f %{buildroot}/%{_bindir}/memcached-debug
|
||||||
@ -95,9 +94,6 @@ EOF
|
|||||||
# Constant timestamp on the config file.
|
# Constant timestamp on the config file.
|
||||||
touch -r %{SOURCE1} %{buildroot}/%{_sysconfdir}/sysconfig/%{name}
|
touch -r %{SOURCE1} %{buildroot}/%{_sysconfdir}/sysconfig/%{name}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
getent group %{groupname} >/dev/null || groupadd -r %{groupname}
|
getent group %{groupname} >/dev/null || groupadd -r %{groupname}
|
||||||
@ -130,7 +126,6 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS ChangeLog COPYING NEWS README.md doc/CONTRIBUTORS doc/*.txt
|
%doc AUTHORS ChangeLog COPYING NEWS README.md doc/CONTRIBUTORS doc/*.txt
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
||||||
%{_bindir}/memcached-tool
|
%{_bindir}/memcached-tool
|
||||||
@ -141,7 +136,6 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,0755)
|
|
||||||
%{_includedir}/memcached/*
|
%{_includedir}/memcached/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user