aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-09-24 13:30:32 (GMT)
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-09-26 06:34:05 (GMT)
commit3d7cd6992f6d987b3c96d3616c26480a854968cf (patch)
treea3fb1e772252bcfdef23787d2304ced52f8d250f
parent6d3a703ecf9e4f0ce85a978ea14e3c168680c6dd (diff)
emit pythonegg requires/provides back
-rw-r--r--Makefile.am3
-rw-r--r--NEWS1
-rw-r--r--pythoneggs.attr4
3 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index d573bff..fbe18df 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -57,7 +57,8 @@ pkg_attr_defs = \
perlapi.attr \
perl_base.attr \
perl_from_meta.attr \
- php.attr
+ php.attr \
+ pythoneggs.attr
BUILT_SOURCES = macros-perarch make_arch_macrosfiles.sh rpmgenplatform
diff --git a/NEWS b/NEWS
index 13a3697..cda201c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- emit pythonegg requires/provides back
- remove kmod.* from git (now SRPMS sources)
- remove dwz.macros from git (now SRPMS sources)
- remove now useless g-ir-extract-deps
diff --git a/pythoneggs.attr b/pythoneggs.attr
new file mode 100644
index 0000000..172605f
--- /dev/null
+++ b/pythoneggs.attr
@@ -0,0 +1,4 @@
+%__pythoneggs_provides %{_rpmconfigdir}/mageia/pythoneggs.py --provides
+%__pythoneggs_requires %{_rpmconfigdir}/mageia/pythoneggs.py --requires
+%__pythoneggs_path ^((/usr/lib(64)?/python[[:digit:]]\\.[[:digit:]]/.*\\.(py[oc]?|egg.*))|(%{_bindir}/python[[:digit:]]\\.[[:digit:]]))$
+%__pythoneggs_magic [Pp]ython.*(executable|byte-compiled)