Mageia Bugzilla – Attachment 11524 Details for
Bug 26273
pycharm-community new security issue CVE-2019-14958
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
New spec file for pycharm-community
pycharm-community.spec (text/plain), 6.34 KB, created by
Kristoffer Grundström
on 2020-02-29 01:17:29 CET
(
hide
)
Description:
New spec file for pycharm-community
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2020-02-29 01:17:29 CET
Size:
6.34 KB
patch
obsolete
># disable debuginfo subpackage >%global debug_package %{nil} ># don't strip bundled binaries because pycharm checks length (!!!) of binary fsnotif ># and if you strip debug stuff from it, it will complain >%global __strip /bin/true ># dont repack jars >%global __jar_repack %{nil} ># there are some python 2 and python 3 scripts so there is no way out to bytecompile them ^_^ >%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') > >Name: pycharm-community >Version: 2019.3.3 >Release: %mkrel 1 >Summary: Intelligent Python IDE >License: ASL 2.0 >URL: http://www.jetbrains.com/pycharm/ >Group: Development/Python >Source0: http://download.jetbrains.com/python/%{name}-%{version}.tar.gz >Source101: pycharm.xml >Source102: pycharm-community.desktop >Source103: pycharm-community.appdata.xml >BuildRequires: desktop-file-utils >BuildRequires: appstream-util >BuildRequires: pkgconfig(python2) >%if %{with python3} >BuildRequires: pkgconfig(python3) >%endif >Requires: java > >%description >The intelligent Python IDE with unique code assistance and analysis, >for productive Python development on all levels > >%package doc >Summary: Documentation for intelligent Python IDE >BuildArch: noarch >Requires: %{name} = %{version}-%{release} > >%ifarch x86_64 >%package jre >Summary: Patched OpenJDK for intelligent Python IDE by JetBrains >Requires: %{name}%{?_isa} = %{version}-%{release} >AutoReq: no >AutoReqProv: no >%endif > >%description doc >This package contains documentation for Intelligent Python IDE. > >%ifarch x86_64 >%description jre >This package contains patched OpenJDK designed specially for Intelligent >Python IDE by JetBrains, Inc. >%endif > >%prep >%autosetup > >%if %{with python3} >find bin -type f -name "*.py" -exec sed -e 's@/usr/bin/env python@%{__python3}@g' -e 's@python2@python3@g' -i "{}" \; >%endif > >%install >mkdir -p %{buildroot}%{_javadir}/%{name} >mkdir -p %{buildroot}%{_datadir}/%{name} >mkdir -p %{buildroot}%{_datadir}/pixmaps >mkdir -p %{buildroot}%{_datadir}/mime/packages >mkdir -p %{buildroot}%{_datadir}/applications >mkdir -p %{buildroot}%{_datadir}/metainfo >mkdir -p %{buildroot}%{_bindir} > >cp -arf ./{lib,bin,help,index,plugins,build.txt,product-info.json} %{buildroot}%{_javadir}/%{name}/ >%ifarch x86_64 >cp -arf ./jbr %{buildroot}%{_javadir}/%{name}/ >%endif > >rm -f %{buildroot}%{_javadir}/%{name}/bin/fsnotifier{,-arm} ># this will be in docs >rm -f %{buildroot}%{_javadir}/help/*.pdf >cp -af ./bin/pycharm.png %{buildroot}%{_datadir}/pixmaps/pycharm.png >cp -af %{SOURCE101} %{buildroot}%{_datadir}/mime/packages/%{name}.xml >cp -af %{SOURCE102} %{buildroot}%{_datadir}/pycharm-community.desktop >cp -a %{SOURCE103} %{buildroot}%{_datadir}/metainfo >ln -s %{_javadir}/%{name}/bin/pycharm.sh %{buildroot}%{_bindir}/pycharm >desktop-file-install \ >--add-category="Development" \ >--delete-original \ >--dir=%{buildroot}%{_datadir}/applications \ >%{buildroot}%{_datadir}/pycharm-community.desktop > >%check >appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/pycharm-community.appdata.xml > >%files >%{_datadir}/applications/pycharm-community.desktop >%{_datadir}/mime/packages/%{name}.xml >%{_datadir}/pixmaps/pycharm.png >%{_datadir}/metainfo/pycharm-community.appdata.xml >%{_javadir}/%{name} >%ifarch x86_64 >%exclude %{_javadir}/%{name}/jbr >%endif >%{_bindir}/pycharm > >%files doc >%doc *.txt >%doc help/*.pdf >%license license/ > >%ifarch x86_64 >%files jre >%{_javadir}/%{name}/jbr >%endif > >%changelog >* Fri Feb 28 2020 Kristoffer Grundström <hamnisdude@gmai.com> 2019.3.3-1.mga7 >- Update to version 2019.3.3 > >* Mon Jul 15 2019 kekepower <kekepower> 2019.1.3-1.mga8 >+ Revision: 1421567 >- Fix plugins download links >- Update to version 2019.1.3 >- Update plugins > >* Fri Apr 19 2019 daviddavid <daviddavid> 2019.1.1-2.mga7 >+ Revision: 1393341 >- fix again 64bit files in i586 pkg > >* Sat Apr 13 2019 kekepower <kekepower> 2019.1.1-1.mga7 >+ Revision: 1389815 >- Update to version 2019.1.1 >- Updated plugins > >* Mon Mar 04 2019 kekepower <kekepower> 2018.3.5-1.mga7 >+ Revision: 1371562 >- Update to version 2018.3.5 > >* Mon Feb 11 2019 kekepower <kekepower> 2018.3.4-1.mga7 >+ Revision: 1365309 >- Update to version 2018.3.4 >- Updated plugins > >* Tue Feb 05 2019 daviddavid <daviddavid> 2018.3.3-2.mga7 >+ Revision: 1363406 >- exclude arm and aarch64 arches >- fix 64bit files in i586 pkg > >* Mon Jan 21 2019 kekepower <kekepower> 2018.3.3-1.mga7 >+ Revision: 1358806 >- Update to version 2018.3.3 >- Update a few plugins > >* Sun Dec 23 2018 kekepower <kekepower> 2018.3.2-1.mga7 >+ Revision: 1344593 >- Update to version 2018.3.2 >- Updated the plugins > >* Mon Dec 10 2018 kekepower <kekepower> 2018.3.1-1.mga7 >+ Revision: 1339672 >- Update to version 2018.3.1 >- Updated a few plugins > >* Tue Nov 27 2018 kekepower <kekepower> 2018.3-3.mga7 >+ Revision: 1336051 >- Bump rel >- Can't have files in /opt. Do it post instead. > >* Tue Nov 27 2018 kekepower <kekepower> 2018.3-2.mga7 >+ Revision: 1336032 >- Fixed installation on i586 >- Cleaned up spec file >- Updated one plugin >- Cleaned up file list > >* Thu Nov 22 2018 kekepower <kekepower> 2018.3-1.mga7 >+ Revision: 1333304 >- Update to version 2018.3 >- Updated the plugins > >* Thu Oct 04 2018 kekepower <kekepower> 2018.2.4-1.mga7 >+ Revision: 1317349 >- Update to version 2018.2.4 > >* Sat Sep 08 2018 kekepower <kekepower> 2018.2.3-1.mga7 >+ Revision: 1257888 >- Update to version 2018.2.3 > >* Fri Aug 24 2018 kekepower <kekepower> 2018.2.2-1.mga7 >+ Revision: 1253839 >- Update to version 2018.2.2 > >* Wed Aug 15 2018 kekepower <kekepower> 2018.2.1-1.mga7 >+ Revision: 1251787 >- Update to version 2018.2.1 > >* Tue Aug 07 2018 kekepower <kekepower> 2018.2-1.mga7 >+ Revision: 1248831 >- Update to version 2018.2 > >* Sun Jun 10 2018 kekepower <kekepower> 2018.1.4-1.mga7 >+ Revision: 1235922 >- Update to version 2018.1.4 > >* Tue May 22 2018 kekepower <kekepower> 2018.1.3-1.mga7 >+ Revision: 1231470 >- Update to version 2018.1.3 > >* Fri May 11 2018 kekepower <kekepower> 2018.1.2-1.mga7 >+ Revision: 1228289 >- Update to version 2018.1.2 >- Update plugings > >* Sun Mar 25 2018 neoclust <neoclust> 2017.3.4-1.mga7 >+ Revision: 1212498 >- New version 2017.3.4 > >* Thu Jan 11 2018 neoclust <neoclust> 2017.3.2-1.mga7 >+ Revision: 1192246 >- New version 2017.3.2 > >* Mon Aug 07 2017 neoclust <neoclust> 2017.1.5-1.mga7 >+ Revision: 1138135 >- imported package pycharm-community >
# disable debuginfo subpackage %global debug_package %{nil} # don't strip bundled binaries because pycharm checks length (!!!) of binary fsnotif # and if you strip debug stuff from it, it will complain %global __strip /bin/true # dont repack jars %global __jar_repack %{nil} # there are some python 2 and python 3 scripts so there is no way out to bytecompile them ^_^ %global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') Name: pycharm-community Version: 2019.3.3 Release: %mkrel 1 Summary: Intelligent Python IDE License: ASL 2.0 URL: http://www.jetbrains.com/pycharm/ Group: Development/Python Source0: http://download.jetbrains.com/python/%{name}-%{version}.tar.gz Source101: pycharm.xml Source102: pycharm-community.desktop Source103: pycharm-community.appdata.xml BuildRequires: desktop-file-utils BuildRequires: appstream-util BuildRequires: pkgconfig(python2) %if %{with python3} BuildRequires: pkgconfig(python3) %endif Requires: java %description The intelligent Python IDE with unique code assistance and analysis, for productive Python development on all levels %package doc Summary: Documentation for intelligent Python IDE BuildArch: noarch Requires: %{name} = %{version}-%{release} %ifarch x86_64 %package jre Summary: Patched OpenJDK for intelligent Python IDE by JetBrains Requires: %{name}%{?_isa} = %{version}-%{release} AutoReq: no AutoReqProv: no %endif %description doc This package contains documentation for Intelligent Python IDE. %ifarch x86_64 %description jre This package contains patched OpenJDK designed specially for Intelligent Python IDE by JetBrains, Inc. %endif %prep %autosetup %if %{with python3} find bin -type f -name "*.py" -exec sed -e 's@/usr/bin/env python@%{__python3}@g' -e 's@python2@python3@g' -i "{}" \; %endif %install mkdir -p %{buildroot}%{_javadir}/%{name} mkdir -p %{buildroot}%{_datadir}/%{name} mkdir -p %{buildroot}%{_datadir}/pixmaps mkdir -p %{buildroot}%{_datadir}/mime/packages mkdir -p %{buildroot}%{_datadir}/applications mkdir -p %{buildroot}%{_datadir}/metainfo mkdir -p %{buildroot}%{_bindir} cp -arf ./{lib,bin,help,index,plugins,build.txt,product-info.json} %{buildroot}%{_javadir}/%{name}/ %ifarch x86_64 cp -arf ./jbr %{buildroot}%{_javadir}/%{name}/ %endif rm -f %{buildroot}%{_javadir}/%{name}/bin/fsnotifier{,-arm} # this will be in docs rm -f %{buildroot}%{_javadir}/help/*.pdf cp -af ./bin/pycharm.png %{buildroot}%{_datadir}/pixmaps/pycharm.png cp -af %{SOURCE101} %{buildroot}%{_datadir}/mime/packages/%{name}.xml cp -af %{SOURCE102} %{buildroot}%{_datadir}/pycharm-community.desktop cp -a %{SOURCE103} %{buildroot}%{_datadir}/metainfo ln -s %{_javadir}/%{name}/bin/pycharm.sh %{buildroot}%{_bindir}/pycharm desktop-file-install \ --add-category="Development" \ --delete-original \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/pycharm-community.desktop %check appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/pycharm-community.appdata.xml %files %{_datadir}/applications/pycharm-community.desktop %{_datadir}/mime/packages/%{name}.xml %{_datadir}/pixmaps/pycharm.png %{_datadir}/metainfo/pycharm-community.appdata.xml %{_javadir}/%{name} %ifarch x86_64 %exclude %{_javadir}/%{name}/jbr %endif %{_bindir}/pycharm %files doc %doc *.txt %doc help/*.pdf %license license/ %ifarch x86_64 %files jre %{_javadir}/%{name}/jbr %endif %changelog * Fri Feb 28 2020 Kristoffer Grundström <hamnisdude@gmai.com> 2019.3.3-1.mga7 - Update to version 2019.3.3 * Mon Jul 15 2019 kekepower <kekepower> 2019.1.3-1.mga8 + Revision: 1421567 - Fix plugins download links - Update to version 2019.1.3 - Update plugins * Fri Apr 19 2019 daviddavid <daviddavid> 2019.1.1-2.mga7 + Revision: 1393341 - fix again 64bit files in i586 pkg * Sat Apr 13 2019 kekepower <kekepower> 2019.1.1-1.mga7 + Revision: 1389815 - Update to version 2019.1.1 - Updated plugins * Mon Mar 04 2019 kekepower <kekepower> 2018.3.5-1.mga7 + Revision: 1371562 - Update to version 2018.3.5 * Mon Feb 11 2019 kekepower <kekepower> 2018.3.4-1.mga7 + Revision: 1365309 - Update to version 2018.3.4 - Updated plugins * Tue Feb 05 2019 daviddavid <daviddavid> 2018.3.3-2.mga7 + Revision: 1363406 - exclude arm and aarch64 arches - fix 64bit files in i586 pkg * Mon Jan 21 2019 kekepower <kekepower> 2018.3.3-1.mga7 + Revision: 1358806 - Update to version 2018.3.3 - Update a few plugins * Sun Dec 23 2018 kekepower <kekepower> 2018.3.2-1.mga7 + Revision: 1344593 - Update to version 2018.3.2 - Updated the plugins * Mon Dec 10 2018 kekepower <kekepower> 2018.3.1-1.mga7 + Revision: 1339672 - Update to version 2018.3.1 - Updated a few plugins * Tue Nov 27 2018 kekepower <kekepower> 2018.3-3.mga7 + Revision: 1336051 - Bump rel - Can't have files in /opt. Do it post instead. * Tue Nov 27 2018 kekepower <kekepower> 2018.3-2.mga7 + Revision: 1336032 - Fixed installation on i586 - Cleaned up spec file - Updated one plugin - Cleaned up file list * Thu Nov 22 2018 kekepower <kekepower> 2018.3-1.mga7 + Revision: 1333304 - Update to version 2018.3 - Updated the plugins * Thu Oct 04 2018 kekepower <kekepower> 2018.2.4-1.mga7 + Revision: 1317349 - Update to version 2018.2.4 * Sat Sep 08 2018 kekepower <kekepower> 2018.2.3-1.mga7 + Revision: 1257888 - Update to version 2018.2.3 * Fri Aug 24 2018 kekepower <kekepower> 2018.2.2-1.mga7 + Revision: 1253839 - Update to version 2018.2.2 * Wed Aug 15 2018 kekepower <kekepower> 2018.2.1-1.mga7 + Revision: 1251787 - Update to version 2018.2.1 * Tue Aug 07 2018 kekepower <kekepower> 2018.2-1.mga7 + Revision: 1248831 - Update to version 2018.2 * Sun Jun 10 2018 kekepower <kekepower> 2018.1.4-1.mga7 + Revision: 1235922 - Update to version 2018.1.4 * Tue May 22 2018 kekepower <kekepower> 2018.1.3-1.mga7 + Revision: 1231470 - Update to version 2018.1.3 * Fri May 11 2018 kekepower <kekepower> 2018.1.2-1.mga7 + Revision: 1228289 - Update to version 2018.1.2 - Update plugings * Sun Mar 25 2018 neoclust <neoclust> 2017.3.4-1.mga7 + Revision: 1212498 - New version 2017.3.4 * Thu Jan 11 2018 neoclust <neoclust> 2017.3.2-1.mga7 + Revision: 1192246 - New version 2017.3.2 * Mon Aug 07 2017 neoclust <neoclust> 2017.1.5-1.mga7 + Revision: 1138135 - imported package pycharm-community
View Attachment As Raw
Actions:
View
Attachments on
bug 26273
: 11524 |
11525
|
12123