[packages/elogind] drop dead code. why keep it around in vcs?

glen glen at pld-linux.org
Wed Apr 25 17:53:56 CEST 2018


commit 6c2095b9ab7e8673a0084a69631836480363aead
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Apr 25 18:53:47 2018 +0300

    drop dead code. why keep it around in vcs?

 elogind.spec | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/elogind.spec b/elogind.spec
index 0d6631c..632fc9d 100644
--- a/elogind.spec
+++ b/elogind.spec
@@ -142,9 +142,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %meson_install -C build
 
-#%{__rm} $RPM_BUILD_ROOT%{_libdir}/libelogind.la \
-#	$RPM_BUILD_ROOT/%{_lib}/security/*.la
-
 %{__sed} -i -e 's, at elogind@,%{_libexecdir}/%{name}/elogind,' \
 	$RPM_BUILD_ROOT%{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
 
@@ -157,9 +154,6 @@ rm -rf $RPM_BUILD_ROOT
 # provided by udev-core
 %{__rm} $RPM_BUILD_ROOT/lib/udev/rules.d/70-power-switch.rules
 
-# packaged as %doc
-#%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
-
 %find_lang %{name}
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/elogind.git/commitdiff/6c2095b9ab7e8673a0084a69631836480363aead



More information about the pld-cvs-commit mailing list