public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Robinson <pbrobinson@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-venusian] epel10.2: - Bump release so a7 is higher than the a3 in F18+
Date: Mon, 22 Jun 2026 16:02:35 GMT [thread overview]
Message-ID: <178214415598.1.278312703437108112.rpms-python-venusian-4f815fe5a805@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-venusian
Branch : epel10.2
Commit : 4f815fe5a8057e0f6de263d5beaa639c08431245
Author : Peter Robinson <pbrobinson@gmail.com>
Date : 2013-02-21T17:58:53+00:00
Stats : +12/-35 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-venusian/c/4f815fe5a8057e0f6de263d5beaa639c08431245?branch=epel10.2
Log:
- Bump release so a7 is higher than the a3 in F18+
- Drop Fedora 12 conditionals as it's long gone
- Modernise spec
---
diff --git a/python-venusian.spec b/python-venusian.spec
index 0d93525..216aa13 100644
--- a/python-venusian.spec
+++ b/python-venusian.spec
@@ -1,34 +1,25 @@
-%if 0%{?fedora} > 12
-%global with_python3 1
-%endif
-
%global modname venusian
%global alphaver a7
Name: python-%{modname}
Version: 1.0
-Release: 0.1.%{alphaver}%{?dist}
+Release: 0.5.%{alphaver}%{?dist}
Summary: A library for deferring decorator actions
Group: Development/Libraries
License: BSD
URL: http://pypi.python.org/pypi/venusian
Source0: http://pypi.python.org/packages/source/v/venusian/%{modname}-%{version}%{alphaver}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-setuptools-devel
BuildRequires: python2-devel
BuildRequires: python-nose
BuildRequires: python-nose-exclude
-
-
-%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-nose
BuildRequires: python3-nose-exclude
-%endif
%description
@@ -38,7 +29,6 @@ executed at import time, you can defer the action usually taken by the
decorator until a separate "scan" phase.
-%if 0%{?with_python3}
%package -n python3-venusian
Summary: A library for deferring decorator actions
Group: Development/Libraries
@@ -48,66 +38,53 @@ Venusian is a library which allows framework authors to defer decorator
actions. Instead of taking actions when a function (or class) decorator is
executed at import time, you can defer the action usually taken by the
decorator until a separate "scan" phase.
-%endif
%prep
%setup -q -n %{modname}-%{version}%{alphaver}
# Remove bundled egg info if it exists
rm -rf %{modname}.egg-info
-
-%if 0%{?with_python3}
rm -rf %{py3dir}
cp -a . %{py3dir}
-%endif
%build
-%{__python} setup.py build
+python setup.py build
-%if 0%{?with_python3}
pushd %{py3dir}
-%{__python3} setup.py build
+python3 setup.py build
popd
-%endif
%install
-rm -rf %{buildroot}
-
-%if 0%{?with_python3}
pushd %{py3dir}
-%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
+python3 setup.py install -O1 --skip-build --root %{buildroot}
popd
-%endif
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+python setup.py install -O1 --skip-build --root %{buildroot}
%check
-%if 0%{?with_python3}
pushd %{py3dir}
-%{__python3} setup.py nosetests
+python3 setup.py nosetests
popd
-%endif
-
-%{__python} setup.py nosetests
-%clean
-rm -rf %{buildroot}
+python setup.py nosetests
%files
-%defattr(-,root,root,-)
%doc README.txt LICENSE.txt
%{python_sitelib}/%{modname}/
%{python_sitelib}/%{modname}-%{version}*.egg-info
-%if 0%{?with_python3}
%files -n python3-venusian
%doc README.txt LICENSE.txt
%{python3_sitelib}/%{modname}/
%{python3_sitelib}/%{modname}-%{version}*.egg-info
-%endif
%changelog
+* Thu Feb 21 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.0-0.5.a7
+- Bump release so a7 is higher than the a3 in F18+
+- Drop Fedora 12 conditionals as it's long gone
+- Modernise spec
+
* Fri Jan 18 2013 Ralph Bean <rbean@redhat.com> - 1.0-0.1.a7
- Latest upstream version
- Python3 subpackage
reply other threads:[~2026-06-22 16:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178214415598.1.278312703437108112.rpms-python-venusian-4f815fe5a805@fedoraproject.org \
--to=pbrobinson@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox