[packages/atom] don't provide internal deps

glen glen at pld-linux.org
Thu Jan 7 19:03:06 CET 2016


commit cc3f92d2870b404b33655330b2eaba5c45a2e499
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jan 7 20:03:01 2016 +0200

    don't provide internal deps

 atom.spec | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/atom.spec b/atom.spec
index 4430fcc..00f8e1b 100644
--- a/atom.spec
+++ b/atom.spec
@@ -4,7 +4,7 @@
 Summary:	A hackable text editor for the 21st century
 Name:		atom
 Version:	1.2.4
-Release:	0.4
+Release:	0.5
 License:	MIT
 Group:		Applications/Editors
 Source0:	https://github.com/atom/atom/releases/download/v%{version}/%{name}.x86_64.rpm
@@ -19,6 +19,15 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_appdir		%{_libdir}/%{name}
 
+# internal caps not to provide
+%define		int_caps	libgcrypt.so.11 libnode.so libnotify.so.4
+
+# list of files (regexps) which don't generate Provides
+%define		_noautoprovfiles	%{_libdir}/%{name}
+# list of script capabilities (regexps) not to be used in Provides
+%define		_noautoprov			%{int_caps}
+%define		_noautoreq  		%{_noautoprov}
+
 %description
 Atom is a desktop application based on web technologies. Like other
 desktop apps, it has its own icon in the dock, native menus and
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/atom.git/commitdiff/cc3f92d2870b404b33655330b2eaba5c45a2e499



More information about the pld-cvs-commit mailing list