Notification time stamped 2021-05-31 16:23:57 UTC
From 8f771ef366c42307af81ff31bc61d12cacb17be3 Mon Sep 17 00:00:00 2001 From: Miro Hrončok miro@hroncok.cz Date: May 31 2021 11:15:07 +0000 Subject: Populate .egg-info with some real metadata
An empty egg-info file is not good enough for our Python RPM generators.
---
diff --git a/pythia8.spec b/pythia8.spec index d82401a..be5d648 100644 --- a/pythia8.spec +++ b/pythia8.spec @@ -7,7 +7,7 @@
Name: pythia8 Version: 8.3.03 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Pythia Event Generator for High Energy Physics
License: GPLv2+ @@ -173,19 +173,22 @@ rm %{buildroot}%{_datadir}/Pythia8/examples/runmains mkdir -p %{buildroot}%{python2_sitearch} mv %{buildroot}%{_libdir}/pythia8$(%{__python2}-config --extension-suffix) \ %{buildroot}%{python2_sitearch} -touch %{buildroot}%{python2_sitearch}/%{name}-%{version}.egg-info +echo 'Name: %{name}' > %{buildroot}%{python2_sitearch}/%{name}-%{version}.egg-info +echo 'Version: %{version}' >> %{buildroot}%{python2_sitearch}/%{name}-%{version}.egg-info %endif
mkdir -p %{buildroot}%{python3_sitearch} mv %{buildroot}%{_libdir}/pythia8$(%{__python3}-config --extension-suffix) \ %{buildroot}%{python3_sitearch} -touch %{buildroot}%{python3_sitearch}/%{name}-%{version}.egg-info +echo 'Name: %{name}' > %{buildroot}%{python3_sitearch}/%{name}-%{version}.egg-info +echo 'Version: %{version}' >> %{buildroot}%{python3_sitearch}/%{name}-%{version}.egg-info
%if %{?rhel}%{!?rhel:0} == 7 mkdir -p %{buildroot}%{python3_other_sitearch} mv %{buildroot}%{_libdir}/pythia8$(%{__python3_other}-config --extension-suffix) \ %{buildroot}%{python3_other_sitearch} -touch %{buildroot}%{python3_other_sitearch}/%{name}-%{version}.egg-info +echo 'Name: %{name}' > %{buildroot}%{python3_other_sitearch}/%{name}-%{version}.egg-info +echo 'Version: %{version}' >> %{buildroot}%{python3_other_sitearch}/%{name}-%{version}.egg-info %endif
%ldconfig_scriptlets @@ -239,6 +242,9 @@ touch %{buildroot}%{python3_other_sitearch}/%{name}-%{version}.egg-info %license COPYING
%changelog +* Mon May 31 2021 Miro Hrončok mhroncok@redhat.com - 8.3.03-2 +- Populate .egg-info with some real metadata + * Sun Feb 14 2021 Mattias Ellert mattias.ellert@physics.uu.se - 8.3.03-1 - Update to version 8.3.03
https://src.fedoraproject.org/rpms/pythia8/c/8f771ef366c42307af81ff31bc61d12...
scm-commits@lists.fedoraproject.org