sergiomb pushed to python-bitarray (f23). "Upgrade to version 0.8.1
(..more)"
by notificationsï¼ fedoraproject.org
From acbbea3ad2c8c859e0f7296165b2b299574c3966 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= <sergio(a)serjux.com>
Date: Fri, 1 Jul 2016 00:15:06 +0100
Subject: Upgrade to version 0.8.1
Add Python 3
Clean up the spec
---
.gitignore | 1 +
python-bitarray.spec | 87 +++++++++++++++++++++++++++++++++++++++-------------
sources | 2 +-
3 files changed, 67 insertions(+), 23 deletions(-)
diff --git a/.gitignore b/.gitignore
index a65fcfc..7dc5874 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
bitarray-0.3.5.tar.gz
+/bitarray-0.8.1.tar.gz
diff --git a/python-bitarray.spec b/python-bitarray.spec
index 0ca610c..f5116cc 100644
--- a/python-bitarray.spec
+++ b/python-bitarray.spec
@@ -1,17 +1,23 @@
+%global srcname bitarray
+%global sum Efficient Array of Booleans --C Extensions
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-Name: python-bitarray
-Version: 0.3.5
-Release: 12%{?dist}
-Summary: Efficient Array of Booleans --C Extensions
+Name: python-%{srcname}
+Version: 0.8.1
+Release: 1%{?dist}
+Summary: %{sum}
Group: Development/Languages
License: Python
-URL: http://pypi.python.org/pypi/bitarray/
-Source0: http://pypi.python.org/packages/source/b/bitarray/bitarray-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: python-devel python-setuptools
+URL: http://pypi.python.org/pypi/%{srcname}/
+Source0: http://pypi.python.org/packages/source/b/%{srcname}/%{srcname}-%{version}...
+
+BuildRequires: python2-devel
+BuildRequires: python2-setuptools
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
%description
Bitarrays are sequence types and behave very much like usual lists.
@@ -23,32 +29,71 @@ files is required, such as portable bitmap image files (.pbm). Also, when
dealing with compressed data which uses variable bit length encoding
you may find this module useful.
+
+%package -n python2-%{srcname}
+Summary: %{sum}
+%{?python_provide:%python_provide python2-%{srcname}}
+
+%description -n python2-%{srcname}
+Bitarrays are sequence types and behave very much like usual lists.
+Eight bits are represented by one byte in contiguous block of memory.
+The user can select between two representations; little-endian and big-endian.
+Most of the functionality is implemented in C.Methods for accessing the machine
+representation are provided. This can be useful when bit level access to binary
+files is required, such as portable bitmap image files (.pbm). Also, when
+dealing with compressed data which uses variable bit length encoding
+you may find this module useful.
+This is Python 2 version.
+
+
+%package -n python3-%{srcname}
+Summary: %{sum}
+%{?python_provide:%python_provide python3-%{srcname}}
+
+%description -n python3-%{srcname}
+Bitarrays are sequence types and behave very much like usual lists.
+Eight bits are represented by one byte in contiguous block of memory.
+The user can select between two representations; little-endian and big-endian.
+Most of the functionality is implemented in C.Methods for accessing the machine
+representation are provided. This can be useful when bit level access to binary
+files is required, such as portable bitmap image files (.pbm). Also, when
+dealing with compressed data which uses variable bit length encoding
+you may find this module useful.
+This is Python 3 version.
+
+
%prep
-%setup -q -n bitarray-%{version}
+%setup -q -n %{srcname}-%{version}
%build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+%py2_build
+%py3_build
%install
-rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%py2_install
+%py3_install
-%clean
-rm -rf $RPM_BUILD_ROOT
-
+%files -n python2-%{srcname}
+%license LICENSE
+%{python2_sitearch}/*
-%files
-%defattr(-,root,root,-)
-%doc LICENSE
-%{python_sitearch}/*
+%files -n python3-%{srcname}
+%license LICENSE
+%{python3_sitearch}/*
-
%changelog
+* Thu Jun 30 2016 Sérgio Basto <sergio(a)serjux.com> - 0.8.1-1
+- Clean up the spec
+
+* Thu Jun 09 2016 Dominika Krejci <dkrejci(a)redhat.com>
+- Add Python 3
+- Upgrade to version 0.8.1
+
* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.5-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
@@ -85,5 +130,3 @@ rm -rf $RPM_BUILD_ROOT
* Wed Apr 08 2009 Ramakrishna Reddy Yekulla <ramkrsna(a)fedoraproject.org> 0.3.5-1
- Initial RPM release
-
-
diff --git a/sources b/sources
index d8e38b0..3972092 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-322a25e04e7aece5e028e5b068329291 bitarray-0.3.5.tar.gz
+3825184f54f4d93508a28031b4c65d3b bitarray-0.8.1.tar.gz
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/python-bitarray.git/commit/?h=f23&id=a...
7Â years, 5Â months
sergiomb pushed to python-bitarray (f24). "Upgrade to version 0.8.1
(..more)"
by notificationsï¼ fedoraproject.org
From acbbea3ad2c8c859e0f7296165b2b299574c3966 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= <sergio(a)serjux.com>
Date: Fri, 1 Jul 2016 00:15:06 +0100
Subject: Upgrade to version 0.8.1
Add Python 3
Clean up the spec
---
.gitignore | 1 +
python-bitarray.spec | 87 +++++++++++++++++++++++++++++++++++++++-------------
sources | 2 +-
3 files changed, 67 insertions(+), 23 deletions(-)
diff --git a/.gitignore b/.gitignore
index a65fcfc..7dc5874 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
bitarray-0.3.5.tar.gz
+/bitarray-0.8.1.tar.gz
diff --git a/python-bitarray.spec b/python-bitarray.spec
index 0ca610c..f5116cc 100644
--- a/python-bitarray.spec
+++ b/python-bitarray.spec
@@ -1,17 +1,23 @@
+%global srcname bitarray
+%global sum Efficient Array of Booleans --C Extensions
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-Name: python-bitarray
-Version: 0.3.5
-Release: 12%{?dist}
-Summary: Efficient Array of Booleans --C Extensions
+Name: python-%{srcname}
+Version: 0.8.1
+Release: 1%{?dist}
+Summary: %{sum}
Group: Development/Languages
License: Python
-URL: http://pypi.python.org/pypi/bitarray/
-Source0: http://pypi.python.org/packages/source/b/bitarray/bitarray-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: python-devel python-setuptools
+URL: http://pypi.python.org/pypi/%{srcname}/
+Source0: http://pypi.python.org/packages/source/b/%{srcname}/%{srcname}-%{version}...
+
+BuildRequires: python2-devel
+BuildRequires: python2-setuptools
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
%description
Bitarrays are sequence types and behave very much like usual lists.
@@ -23,32 +29,71 @@ files is required, such as portable bitmap image files (.pbm). Also, when
dealing with compressed data which uses variable bit length encoding
you may find this module useful.
+
+%package -n python2-%{srcname}
+Summary: %{sum}
+%{?python_provide:%python_provide python2-%{srcname}}
+
+%description -n python2-%{srcname}
+Bitarrays are sequence types and behave very much like usual lists.
+Eight bits are represented by one byte in contiguous block of memory.
+The user can select between two representations; little-endian and big-endian.
+Most of the functionality is implemented in C.Methods for accessing the machine
+representation are provided. This can be useful when bit level access to binary
+files is required, such as portable bitmap image files (.pbm). Also, when
+dealing with compressed data which uses variable bit length encoding
+you may find this module useful.
+This is Python 2 version.
+
+
+%package -n python3-%{srcname}
+Summary: %{sum}
+%{?python_provide:%python_provide python3-%{srcname}}
+
+%description -n python3-%{srcname}
+Bitarrays are sequence types and behave very much like usual lists.
+Eight bits are represented by one byte in contiguous block of memory.
+The user can select between two representations; little-endian and big-endian.
+Most of the functionality is implemented in C.Methods for accessing the machine
+representation are provided. This can be useful when bit level access to binary
+files is required, such as portable bitmap image files (.pbm). Also, when
+dealing with compressed data which uses variable bit length encoding
+you may find this module useful.
+This is Python 3 version.
+
+
%prep
-%setup -q -n bitarray-%{version}
+%setup -q -n %{srcname}-%{version}
%build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+%py2_build
+%py3_build
%install
-rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%py2_install
+%py3_install
-%clean
-rm -rf $RPM_BUILD_ROOT
-
+%files -n python2-%{srcname}
+%license LICENSE
+%{python2_sitearch}/*
-%files
-%defattr(-,root,root,-)
-%doc LICENSE
-%{python_sitearch}/*
+%files -n python3-%{srcname}
+%license LICENSE
+%{python3_sitearch}/*
-
%changelog
+* Thu Jun 30 2016 Sérgio Basto <sergio(a)serjux.com> - 0.8.1-1
+- Clean up the spec
+
+* Thu Jun 09 2016 Dominika Krejci <dkrejci(a)redhat.com>
+- Add Python 3
+- Upgrade to version 0.8.1
+
* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.5-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
@@ -85,5 +130,3 @@ rm -rf $RPM_BUILD_ROOT
* Wed Apr 08 2009 Ramakrishna Reddy Yekulla <ramkrsna(a)fedoraproject.org> 0.3.5-1
- Initial RPM release
-
-
diff --git a/sources b/sources
index d8e38b0..3972092 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-322a25e04e7aece5e028e5b068329291 bitarray-0.3.5.tar.gz
+3825184f54f4d93508a28031b4c65d3b bitarray-0.8.1.tar.gz
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/python-bitarray.git/commit/?h=f24&id=a...
7Â years, 5Â months
pstodulk pushed to gzip (master). "rebase to v1.8 (..more)"
by notificationsï¼ fedoraproject.org
From 065fe88b598bf56686a9c573faa26618ab73fc08 Mon Sep 17 00:00:00 2001
From: Petr Stodulka <pstodulk(a)redhat.com>
Date: Fri, 1 Jul 2016 01:22:18 +0200
Subject: rebase to v1.8
- gzip -l no longer falsely reports a write error when writing to a pipe
---
.gitignore | 1 +
gzip.spec | 6 +++++-
sources | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index cfccf7b..b7935ef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ gzip-1.4.tar.xz
/gzip-1.5.tar.xz
/gzip-1.6.tar.xz
/gzip-1.7.tar.xz
+/gzip-1.8.tar.xz
diff --git a/gzip.spec b/gzip.spec
index aaf92eb..3f7685d 100644
--- a/gzip.spec
+++ b/gzip.spec
@@ -1,6 +1,6 @@
Summary: The GNU data compression program
Name: gzip
-Version: 1.7
+Version: 1.8
Release: 1%{?dist}
# info pages are under GFDL license
License: GPLv3+ and GFDL
@@ -91,6 +91,10 @@ fi
%{profiledir}/*
%changelog
+* Fri Jul 01 2016 Petr Stodulka <pstodulk(a)redhat.com> - 1.8-1
+- rebase to v1.8
+- gzip -l no longer falsely reports a write error when writing to a pipe
+
* Tue Apr 05 2016 Petr Stodulka <pstodulk(a)redhat.com> - 1.7-1
- rebase to new upstream version 1.7
- dropped all patches (almost all issues are fixed in new upstream version,
diff --git a/sources b/sources
index 6ce9902..b5f412d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d9ae97206a703a20e6c1c868deb3eb47 gzip-1.7.tar.xz
+f7caabb65cddc1a4165b398009bd05b9 gzip-1.8.tar.xz
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/gzip.git/commit/?h=master&id=065fe88b5...
7Â years, 5Â months
sergiomb pushed to python-bitarray (master). "Upgrade to version
0.8.1 (..more)"
by notificationsï¼ fedoraproject.org
From acbbea3ad2c8c859e0f7296165b2b299574c3966 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= <sergio(a)serjux.com>
Date: Fri, 1 Jul 2016 00:15:06 +0100
Subject: Upgrade to version 0.8.1
Add Python 3
Clean up the spec
---
.gitignore | 1 +
python-bitarray.spec | 87 +++++++++++++++++++++++++++++++++++++++-------------
sources | 2 +-
3 files changed, 67 insertions(+), 23 deletions(-)
diff --git a/.gitignore b/.gitignore
index a65fcfc..7dc5874 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
bitarray-0.3.5.tar.gz
+/bitarray-0.8.1.tar.gz
diff --git a/python-bitarray.spec b/python-bitarray.spec
index 0ca610c..f5116cc 100644
--- a/python-bitarray.spec
+++ b/python-bitarray.spec
@@ -1,17 +1,23 @@
+%global srcname bitarray
+%global sum Efficient Array of Booleans --C Extensions
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-Name: python-bitarray
-Version: 0.3.5
-Release: 12%{?dist}
-Summary: Efficient Array of Booleans --C Extensions
+Name: python-%{srcname}
+Version: 0.8.1
+Release: 1%{?dist}
+Summary: %{sum}
Group: Development/Languages
License: Python
-URL: http://pypi.python.org/pypi/bitarray/
-Source0: http://pypi.python.org/packages/source/b/bitarray/bitarray-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: python-devel python-setuptools
+URL: http://pypi.python.org/pypi/%{srcname}/
+Source0: http://pypi.python.org/packages/source/b/%{srcname}/%{srcname}-%{version}...
+
+BuildRequires: python2-devel
+BuildRequires: python2-setuptools
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
%description
Bitarrays are sequence types and behave very much like usual lists.
@@ -23,32 +29,71 @@ files is required, such as portable bitmap image files (.pbm). Also, when
dealing with compressed data which uses variable bit length encoding
you may find this module useful.
+
+%package -n python2-%{srcname}
+Summary: %{sum}
+%{?python_provide:%python_provide python2-%{srcname}}
+
+%description -n python2-%{srcname}
+Bitarrays are sequence types and behave very much like usual lists.
+Eight bits are represented by one byte in contiguous block of memory.
+The user can select between two representations; little-endian and big-endian.
+Most of the functionality is implemented in C.Methods for accessing the machine
+representation are provided. This can be useful when bit level access to binary
+files is required, such as portable bitmap image files (.pbm). Also, when
+dealing with compressed data which uses variable bit length encoding
+you may find this module useful.
+This is Python 2 version.
+
+
+%package -n python3-%{srcname}
+Summary: %{sum}
+%{?python_provide:%python_provide python3-%{srcname}}
+
+%description -n python3-%{srcname}
+Bitarrays are sequence types and behave very much like usual lists.
+Eight bits are represented by one byte in contiguous block of memory.
+The user can select between two representations; little-endian and big-endian.
+Most of the functionality is implemented in C.Methods for accessing the machine
+representation are provided. This can be useful when bit level access to binary
+files is required, such as portable bitmap image files (.pbm). Also, when
+dealing with compressed data which uses variable bit length encoding
+you may find this module useful.
+This is Python 3 version.
+
+
%prep
-%setup -q -n bitarray-%{version}
+%setup -q -n %{srcname}-%{version}
%build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+%py2_build
+%py3_build
%install
-rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%py2_install
+%py3_install
-%clean
-rm -rf $RPM_BUILD_ROOT
-
+%files -n python2-%{srcname}
+%license LICENSE
+%{python2_sitearch}/*
-%files
-%defattr(-,root,root,-)
-%doc LICENSE
-%{python_sitearch}/*
+%files -n python3-%{srcname}
+%license LICENSE
+%{python3_sitearch}/*
-
%changelog
+* Thu Jun 30 2016 Sérgio Basto <sergio(a)serjux.com> - 0.8.1-1
+- Clean up the spec
+
+* Thu Jun 09 2016 Dominika Krejci <dkrejci(a)redhat.com>
+- Add Python 3
+- Upgrade to version 0.8.1
+
* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.5-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
@@ -85,5 +130,3 @@ rm -rf $RPM_BUILD_ROOT
* Wed Apr 08 2009 Ramakrishna Reddy Yekulla <ramkrsna(a)fedoraproject.org> 0.3.5-1
- Initial RPM release
-
-
diff --git a/sources b/sources
index d8e38b0..3972092 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-322a25e04e7aece5e028e5b068329291 bitarray-0.3.5.tar.gz
+3825184f54f4d93508a28031b4c65d3b bitarray-0.8.1.tar.gz
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/python-bitarray.git/commit/?h=master&i...
7Â years, 5Â months
dcallagh pushed to python-unidiff (f23). "use %license and
%python_provide, wrap %description"
by notificationsï¼ fedoraproject.org
From 80c310b85e1e6df82340883ed892e504ff680004 Mon Sep 17 00:00:00 2001
From: Dan Callaghan <dcallagh(a)redhat.com>
Date: Wed, 29 Jun 2016 12:09:02 +1000
Subject: use %license and %python_provide, wrap %description
---
python-unidiff.spec | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/python-unidiff.spec b/python-unidiff.spec
index 58298fb..63d56a8 100644
--- a/python-unidiff.spec
+++ b/python-unidiff.spec
@@ -2,7 +2,7 @@
Name: python-%{modname}
Version: 0.5.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Python library to parse and interact with unified diffs (patches)
License: MIT
URL: http://github.com/matiasb/python-unidiff
@@ -16,19 +16,24 @@ Patch1: 0001-don-t-install-tests-as-a-top-level-package.patch
Patch2: 0002-use-setuptools-console_scripts-for-usr-bin-unidiff.patch
%description
-%{name} is a %{summary}.
+python-unidiff is a Python library to parse and interact with unified diffs
+(patches).
%package -n python2-%{modname}
+%{?python_provide:%python_provide python2-%{modname}}
Summary: %{summary}
%description -n python2-%{modname}
-%{name} is a %{summary}.
+python-unidiff is a Python library to parse and interact with unified diffs
+(patches).
%package -n python3-%{modname}
+%{?python_provide:%python_provide python3-%{modname}}
Summary: %{summary}
%description -n python3-%{modname}
-%{name} is a %{summary}.
+python-unidiff is a Python library to parse and interact with unified diffs
+(patches).
%prep
%setup -q -n %{modname}-%{version}
@@ -51,16 +56,21 @@ rm -r unidiff.egg-info
#%%{__python3} setup.py test
%files -n python2-%{modname}
-%doc README.md LICENSE
+%license LICENSE
+%doc README.md
%{python2_sitelib}/%{modname}
%{python2_sitelib}/%{modname}*.egg-info
%files -n python3-%{modname}
-%doc README.md LICENSE
+%license LICENSE
+%doc README.md
%{_bindir}/%{modname}
%{python3_sitelib}/%{modname}
%{python3_sitelib}/%{modname}*.egg-info
%changelog
+* Wed Jun 29 2016 Dan Callaghan <dcallagh(a)redhat.com> - 0.5.2-2
+- use %%license and %%python_provide, wrap %%description
+
* Fri Jun 17 2016 Dan Callaghan <dcallagh(a)redhat.com> - 0.5.2-1
- initial version
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/python-unidiff.git/commit/?h=f23&id=80...
7Â years, 5Â months