public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-markups] f45: Subpackage python2-markups has been removed
@ 2026-10-22 17:37
0 siblings, 0 replies; only message in thread
From: @ 2026-10-22 17:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-markups
Branch : f45
Commit : 903c3b2ef1db5c7b9cab362f9e885c9112156fcf
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date : 2018-10-18T10:56:50+02:00
Stats : +8/-64 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-markups/c/903c3b2ef1db5c7b9cab362f9e885c9112156fcf?branch=f45
Log:
Subpackage python2-markups has been removed
---
diff --git a/python-markups.spec b/python-markups.spec
index c91b29a..c8a06f4 100644
--- a/python-markups.spec
+++ b/python-markups.spec
@@ -1,30 +1,16 @@
-%if 0%{?fedora} > 12
-%global with_python3 1
-%else
-%{!?__python2: %global __python2 /usr/bin/python2}
-%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
-%endif
-
Name: python-markups
Version: 2.0.0
-Release: 10%{?dist}
+Release: 11%{?dist}
License: BSD
Summary: A wrapper around various text markups
URL: https://pypi.python.org/pypi/Markups
Source0: http://pypi.python.org/packages/source/M/Markups/Markups-%{version}.tar.gz
-BuildRequires: python2-devel
-BuildRequires: python2-docutils
-BuildRequires: python2-markdown
-BuildRequires: python2-setuptools
-BuildRequires: python2-textile
-%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-docutils
BuildRequires: python3-markdown
BuildRequires: python3-setuptools
BuildRequires: python3-textile
-%endif # if with_python3
BuildArch: noarch
@@ -35,16 +21,6 @@ by default).
%description %_description
-%package -n python2-markups
-Summary: %summary
-Requires: python2-docutils
-Requires: python2-markdown
-Requires: python2-textile
-%{?python_provide:%python_provide python2-markups}
-
-%description -n python2-markups %_description
-
-%if 0%{?with_python3}
%package -n python3-markups
Summary: A wrapper around various text markups
@@ -57,7 +33,6 @@ This module provides a Python 3 wrapper around the various text markup
languages, such as Markdown and reStructuredText (these two are supported
by default).
-%endif # with_python3
%prep
%setup -q -n Markups-%{version}
@@ -65,56 +40,25 @@ by default).
# The source tarball contains a bundled egg-info.
rm -rf Markups.egg-info
-%if 0%{?with_python3}
-rm -rf %{py3dir}
-cp -a . %{py3dir}
-%endif # with_python3
-
%build
-%{__python2} setup.py build
-
-%if 0%{?with_python3}
-pushd %{py3dir}
-%{__python3} setup.py build
-popd
-%endif # with_python3
+%py3_build
%install
-
-# Must do the python3 install first because the scripts in /usr/bin
-# (if any) are overwritten with every setup.py install (and we want
-# the python2 version to be the default for now).
-%if 0%{?with_python3}
-pushd %{py3dir}
-%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
-popd
-%endif # with_python3
-
-%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
+%py3_install
%check
-#%%{__python2} setup.py test
+%{__python3} setup.py test -v
-#%%if 0%%{?with_python3}
-#pushd %%{py3dir}
-#%%{__python3} setup.py test
-#popd
-#%%endif # with_python3
-
-
-%files -n python2-markups
-%doc changelog README.rst
-%license LICENSE
-%{python2_sitelib}/*
-
-%if 0%{?with_python3}
%files -n python3-markups
%doc changelog README.rst
%license LICENSE
%{python3_sitelib}/*
-%endif # with_python3
%changelog
+* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0.0-11
+- Subpackage python2-markups has been removed
+ See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
+
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-22 17:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-22 17:37 [rpms/python-markups] f45: Subpackage python2-markups has been removed
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox