| |
@@ -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 @@
|
| |
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 @@
|
| |
%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
|
| |
|
| |
An empty egg-info file is not good enough for our Python RPM generators.
Alternate approach: https://src.fedoraproject.org/rpms/pythia8/pull-request/1