Blob Blame History Raw
commit 568d26cc0b523a4ab4423c0128d90893ba0c74b7
Author: Michal Domonkos <mdomonko@redhat.com>
Date:   Mon Apr 24 11:55:03 2023 +0200

    Revert "Generate Python egg-info from automake builds"
    
    This reverts commits:
        ab77e0dfb3c683ced4c7f6e3f72293c49550ff89
        35c62dce0a327600bc0d947a8c01cc649c6e8646

diff --git a/configure.ac b/configure.ac
index e6676c581..6773ef8aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -964,6 +964,5 @@ AC_CONFIG_FILES([Makefile
  	tests/Makefile
  	plugins/Makefile
 	python/setup.py
-	python/rpm.egg-info
   ])
 AC_OUTPUT
diff --git a/python/Makefile.am b/python/Makefile.am
index 04168406d..ec3608134 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -3,21 +3,14 @@
 include $(top_srcdir)/rpm.am
 AM_CFLAGS = @RPMCFLAGS@
 
-CLEANFILES =
-EXTRA_DIST = rpm/__init__.py rpm/transaction.py rpm.egg-info.in
+EXTRA_DIST = rpm/__init__.py rpm/transaction.py
 
 AM_CPPFLAGS = -I$(top_srcdir)/include/
 AM_CPPFLAGS += -I$(top_srcdir)/python
 AM_CPPFLAGS += @PYTHON_CFLAGS@
 
-egginfo = $(PACKAGE_NAME)-$(PACKAGE_VERSION)-py$(PYTHON_VERSION).egg-info
-$(egginfo):
-	cat rpm.egg-info > $(egginfo)
-CLEANFILES += $(egginfo)
-
 pkgpyexec_LTLIBRARIES = _rpm.la
 pkgpyexec_DATA = rpm/__init__.py rpm/transaction.py
-pyexec_DATA = $(egginfo)
 
 _rpm_la_LDFLAGS = -module -avoid-version -shared
 _rpm_la_LIBADD = \
diff --git a/python/rpm.egg-info.in b/python/rpm.egg-info.in
deleted file mode 100644
index 0fb0922a3..000000000
--- a/python/rpm.egg-info.in
+++ /dev/null
@@ -1,10 +0,0 @@
-Metadata-Version: 1.0
-Name: @PACKAGE_NAME@
-Version: @PACKAGE_VERSION@
-Summary: Python bindings for rpm
-Home-page: http://www.rpm.org/
-Author: Rpm community
-Author-email: rpm-maint@lists.rpm.org
-License: GNU General Public License v2
-Description: Python bindings for rpm
-Platform: UNKNOWN