public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kdevelop-python] f44: use %{?kdevelop_requires}, cosmetics
@ 2026-07-04 0:59 Rex Dieter
0 siblings, 0 replies; only message in thread
From: Rex Dieter @ 2026-07-04 0:59 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/kdevelop-python
Branch : f44
Commit : 7bc6ec85e552d49262573a0cc19ff0746c673a62
Author : Rex Dieter <rdieter@math.unl.edu>
Date : 2016-09-07T07:55:19-05:00
Stats : +16/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/kdevelop-python/c/7bc6ec85e552d49262573a0cc19ff0746c673a62?branch=f44
Log:
use %{?kdevelop_requires}, cosmetics
---
diff --git a/kdevelop-python.spec b/kdevelop-python.spec
index 1656f6f..8802931 100644
--- a/kdevelop-python.spec
+++ b/kdevelop-python.spec
@@ -1,10 +1,12 @@
+
+## silly, fixme when/if version is bumped again -- rex
%global kdevelop_version 5.0
Name: kdevelop-python
Version: 5.0.0
%global py3_suffix -py3
%global py3_tag .py3
-Release: 1%{?py3_tag}%{?dist}
+Release: 2%{?py3_tag}%{?dist}
License: GPLv2
Source0: http://download.kde.org/stable/kdevelop/%{version}/src/kdev-python-%{kdevelop_version}.tar.xz
@@ -45,13 +47,15 @@ BuildRequires: qt5-qtwebkit-devel
# force using Python 3 for bytecompiling
%global __python %{__python3}
-Requires: kdevelop = 9:%{kdevelop_version}
+%{?kdevelop_requires}
%description
Python 3 language support for the KDevelop Integrated Development Environment.
+
%prep
-%setup -qn kdev-python-%{version}
+%setup -qn kdev-python-%{kdevelop_version}
+
# don't use backups because CMakeLists.txt installs the whole directory
# shebang
%patch0 -p1
@@ -61,13 +65,16 @@ Python 3 language support for the KDevelop Integrated Development Environment.
# add missing dependency on kdelibs4support
%patch2 -p1 -b .missing-dependency
+
%build
-mkdir -p %{_target_platform}
+mkdir %{_target_platform}
pushd %{_target_platform}
-%{cmake_kf5} ../
+%{cmake_kf5} ..
popd
+
make %{?_smp_mflags} -C %{_target_platform}
+
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
@@ -75,6 +82,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
# documentation_files, it is not needed at runtime
rm -f %{buildroot}%{_datadir}/kdevpythonsupport/documentation_files/PyKDE4/parse_xml.py
+
%find_lang kdevpython
%post -p /sbin/ldconfig
@@ -92,6 +100,9 @@ rm -f %{buildroot}%{_datadir}/kdevpythonsupport/documentation_files/PyKDE4/parse
%changelog
+* Wed Sep 07 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.0.0-2
+- use %%{?kdevelop_requires}, cosmetics
+
* Wed Aug 31 2016 Helio Chissini de Castro <helio@kde.org> - 5.0.0-1
- New upstream version
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-04 0:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-04 0:59 [rpms/kdevelop-python] f44: use %{?kdevelop_requires}, cosmetics Rex Dieter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox