From 0a523161967921574e79a1c16e5d6045bd513943 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Nov 2010 16:36:46 +0000 Subject: [PATCH 01/59] Initial setup of the repo --- .gitignore | 0 sources | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 .gitignore create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 From 4af8359180e93e1872ca71975255e6287eb8ba72 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Wed, 24 Nov 2010 10:58:14 +0100 Subject: [PATCH 02/59] Initial import --- .gitignore | 1 + python-smbc.spec | 92 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 94 insertions(+) create mode 100644 python-smbc.spec diff --git a/.gitignore b/.gitignore index e69de29..2e20290 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pysmbc-1.0.10.tar.bz2 diff --git a/python-smbc.spec b/python-smbc.spec new file mode 100644 index 0000000..5e36c01 --- /dev/null +++ b/python-smbc.spec @@ -0,0 +1,92 @@ +%{?filter_setup: +%filter_provides_in %{python_sitearch}/.*\.so$ +%filter_setup +} + +Summary: Python bindings for libsmbclient API from Samba +Name: python-smbc +Version: 1.0.10 +Release: 2%{?dist} +URL: http://cyberelk.net/tim/software/pysmbc/ +Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 +License: GPLv2+ +Group: Development/Languages +BuildRequires: python2-devel +BuildRequires: python3-devel +BuildRequires: libsmbclient-devel >= 3.2 +BuildRequires: epydoc + +%description +This package provides Python bindings for the libsmbclient API +from Samba, known as pysmbc. It was written for use with +system-config-printer, but can be put to other uses as well. + +%package -n python3-smbc +Summary: Python3 bindings for libsmbclient API from Samba +Group: Development/Languages + +%description -n python3-smbc +This package provides Python bindings for the libsmbclient API +from Samba, known as pysmbc. It was written for use with +system-config-printer, but can be put to other uses as well. + +This is a ported release for python 3.1 + +%package doc +Summary: Documentation for python-smbc +Group: Documentation + +%description doc +Documentation for python-smbc. + +%prep +%setup -q -n pysmbc-%{version} + +rm -rf %{py3dir} +cp -a . %{py3dir} + + +%build +CFLAGS="%{optflags}" %{__python} setup.py build +rm -rf html +epydoc -o html --html build/lib*/smbc.so + +pushd %{py3dir} +CFLAGS="%{optflags}" %{__python3} setup.py build +popd + + +%install +pushd %{py3dir} +%{__python3} setup.py install -O1 --skip-build --root %{buildroot} +chmod 755 %{buildroot}%{python3_sitearch}/smbc.so +popd + +%{__python} setup.py install -O1 --skip-build --root %{buildroot} +chmod 755 %{buildroot}%{python_sitearch}/smbc.so + + +%files +%defattr(-,root,root,-) +%doc COPYING README NEWS +%{python_sitearch}/smbc.so +%{python_sitearch}/pysmbc*.egg-info + +%files doc +%defattr(-,root,root,-) +%doc html + +%files -n python3-smbc +%defattr(-,root,root,-) +%doc COPYING README NEWS +%{python3_sitearch}/smbc.so +%{python3_sitearch}/pysmbc*.egg-info + + +%changelog +* Wed Nov 17 2010 Jiri Popelka - 1.0.10-2 +- Fixed rpmlint errors/warnings (#648987) +- doc subpackage + +* Mon Nov 01 2010 Jiri Popelka - 1.0.10-1 +- Initial RPM spec file diff --git a/sources b/sources index e69de29..0291918 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +72cc12d6c037c68ca81355151a58083b pysmbc-1.0.10.tar.bz2 From f12e85e3f85d7e9cd406cf9aa6dd907bb23300aa Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Wed, 29 Dec 2010 20:18:49 -0500 Subject: [PATCH 03/59] rework python3 DSO name for PEP 3149, and rebuild for newer python3 --- python-smbc.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-smbc.spec b/python-smbc.spec index 5e36c01..c19b52d 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.10 -Release: 2%{?dist} +Release: 3%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -59,7 +59,7 @@ popd %install pushd %{py3dir} %{__python3} setup.py install -O1 --skip-build --root %{buildroot} -chmod 755 %{buildroot}%{python3_sitearch}/smbc.so +chmod 755 %{buildroot}%{python3_sitearch}/smbc*.so popd %{__python} setup.py install -O1 --skip-build --root %{buildroot} @@ -79,11 +79,14 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %files -n python3-smbc %defattr(-,root,root,-) %doc COPYING README NEWS -%{python3_sitearch}/smbc.so +%{python3_sitearch}/smbc.cpython-3?mu.so %{python3_sitearch}/pysmbc*.egg-info %changelog +* Wed Dec 29 2010 David Malcolm - 1.0.10-3 +- rework python3 DSO name for PEP 3149, and rebuild for newer python3 + * Wed Nov 17 2010 Jiri Popelka - 1.0.10-2 - Fixed rpmlint errors/warnings (#648987) - doc subpackage From 1cebea41387280636c30ef590c04c609fa9daadc Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Tue, 18 Jan 2011 10:51:11 +0000 Subject: [PATCH 04/59] Added in upstream GPG key. --- upstream-key.gpg | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 upstream-key.gpg diff --git a/upstream-key.gpg b/upstream-key.gpg new file mode 100644 index 0000000..666b4a9 --- /dev/null +++ b/upstream-key.gpg @@ -0,0 +1,30 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2.0.14 (GNU/Linux) + +mQGiBEqKBDsRBADje4pZPDB+9ZdAjdzQ0O+OnNkoYj0TDGDRxcGZA1l9F2dRs9vL +SRsp+q4zZqRxAo4oMlNzcXZC8/hMHT11N1k8oNssBN/thKafjLRa5veA6v+9rAIS +Smx+JXwO6BsbBscKwq2fdf9QJWBbfUAEBfDFNrYhNtQKcY4YWgfT+b1JawCg2QDq +CFnCE7JzfcspKKBg4AYS/ucD/1evuUhrZZf9wpxNfd/fUEBfURM7+Oew4+mYqPSh +Ru5Sqk5DIoq2seZ0WHfh89Lbh2QqQh81saRUFoh6r/d0BSw9ekWY0iKdkrUw3pKW +ECSc6DNF0sWYBinc9CALYxXO/kYVHhMXnLZwpaaND8Mvgrcw8gKr7LRTyQm7zefk +60Q5A/9ywy6rL6Cj1RpQVDOC0LA+oJkQFaZXyPW1fQBTdLyATsXCuNvsv1eQNXt4 +4n4uoULtPFqgwztQyvAxQ/91+AWCLUU6JHQ97Ar+fZ1DMOET0eB+39JYwfXdK9PW +t2fTbnIbo+3djPT0f1DORwWfWO22u6pwKk//93PE16jJJMEVerQlVHN1a2FzYSBI +YW1hbm8gPGhhbWFub0Bvc3N0ZWNoLmNvLmpwPohgBBMRAgAgBQJKigQ7AhsDBgsJ +CAcDAgQVAggDBBYCAwECHgECF4AACgkQFr7RAWBpvlWPMACfYHIUHkR1QwP2QEJY +FuYexm16a4EAoNHjSi2CdcrAhzWgPTXAMlyUw91XuQINBEqKBDsQCADkJTHSBj0+ +OR61XS29KMk9wbVpk9rCNc4iIyYj7hSR6fed56eEyKGkKfuY6b/joCwn9SAu+vX5 +r80buZFpToS5+yY1MKioOQGqtYUCctUlqRPOUG3chrsxAnWsFdaJh+T5gCfElI9v +yqlQQT4VfTYGXc7rmP0FyI/3uQUNdKm2E4jdqann6NKgjZ1KNjnYnkGcLx3bOkbY +H9zxhGOuHo+ZV2dqXH2W2JpJTPFSUIuIuEEU2lNJAEjE+6C/wLdpQWIEi8k8tEKF +2ERe024sXM1nQkRoQ4LP1ByOhJ5pytMwxnj5RqTVhWlN56g4TvYMTD0iEY50udR6 +o8toGgTd/y4HAAMHCACX+zGFo+ykMTzIcbPQWM/YD+jOrZhBz7ie7XSMS6NWyJS4 +PKC5JKAHyR/gEjVfBaiOkWxrL5aLgQ3ejrlzqzjugfpOMWU0Rwzfi4rkTSadhqYM +PZ4OPoro/FqPayneuPdRlw+HaE2KJzpCMWNiPVhU4zjpx80MDKFNgBatQaMaOtuW +jrAehmpAdgUNcjy06Iq9mF+lbvdNKoMq9KlIhbJrWx6s+P60I+6Po39CEPE/4Q8L +SQBYZ52bXSCbPc2FPPalTZrAlVyN/VI0mXATYqGvqEoKhmWd7EY2iVWDVR+c2YG+ +6fyECsghocK84uhVLOkyB4pS/5r74z52Uu1xDjHRiEkEGBECAAkFAkqKBDsCGwwA +CgkQFr7RAWBpvlUREgCgw6jTkvP26vYqRXt6WzD4XEP+sToAn1dAgtJS4CHcyOcD +WXLnBppT71IG +=12o+ +-----END PGP PUBLIC KEY BLOCK----- From 5fb8159a68c56a977b066155459771af60e76d48 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 9 Feb 2011 00:30:06 -0600 Subject: [PATCH 05/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index c19b52d..f26c141 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.10 -Release: 3%{?dist} +Release: 4%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -84,6 +84,9 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %changelog +* Wed Feb 09 2011 Fedora Release Engineering - 1.0.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Wed Dec 29 2010 David Malcolm - 1.0.10-3 - rework python3 DSO name for PEP 3149, and rebuild for newer python3 From d563ce909e6e6899d1b7f085f24b2cc5ba605e8a Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Fri, 20 May 2011 17:01:57 +0100 Subject: [PATCH 06/59] 1.0.11. --- .gitignore | 1 + pysmbc-1.0.11.tar.bz2.asc | 7 +++++ python-smbc.spec | 7 +++-- sources | 2 +- upstream-key.gpg | 60 +++++++++++++++++++++------------------ 5 files changed, 47 insertions(+), 30 deletions(-) create mode 100644 pysmbc-1.0.11.tar.bz2.asc diff --git a/.gitignore b/.gitignore index 2e20290..50ebfe5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /pysmbc-1.0.10.tar.bz2 +/pysmbc-1.0.11.tar.bz2 diff --git a/pysmbc-1.0.11.tar.bz2.asc b/pysmbc-1.0.11.tar.bz2.asc new file mode 100644 index 0000000..f16391b --- /dev/null +++ b/pysmbc-1.0.11.tar.bz2.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) + +iD8DBQBN1oonBLQafZpK2tcRAlpMAJ0XtD07MjDCNgp2vC70zB+hW60v+QCgt33d +EuP66uIdYWzEKWhZcf4mmvE= +=VXx5 +-----END PGP SIGNATURE----- diff --git a/python-smbc.spec b/python-smbc.spec index f26c141..1acdbc6 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -5,8 +5,8 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc -Version: 1.0.10 -Release: 4%{?dist} +Version: 1.0.11 +Release: 1%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -84,6 +84,9 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %changelog +* Fri May 20 2011 Tim Waugh - 1.0.11-1 +- 1.0.11. + * Wed Feb 09 2011 Fedora Release Engineering - 1.0.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 0291918..315208e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -72cc12d6c037c68ca81355151a58083b pysmbc-1.0.10.tar.bz2 +8593053cfe3cc0b79d8c4ab892044d4b pysmbc-1.0.11.tar.bz2 diff --git a/upstream-key.gpg b/upstream-key.gpg index 666b4a9..967ef1b 100644 --- a/upstream-key.gpg +++ b/upstream-key.gpg @@ -1,30 +1,36 @@ -----BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v2.0.14 (GNU/Linux) +Version: GnuPG v1.4.11 (GNU/Linux) -mQGiBEqKBDsRBADje4pZPDB+9ZdAjdzQ0O+OnNkoYj0TDGDRxcGZA1l9F2dRs9vL -SRsp+q4zZqRxAo4oMlNzcXZC8/hMHT11N1k8oNssBN/thKafjLRa5veA6v+9rAIS -Smx+JXwO6BsbBscKwq2fdf9QJWBbfUAEBfDFNrYhNtQKcY4YWgfT+b1JawCg2QDq -CFnCE7JzfcspKKBg4AYS/ucD/1evuUhrZZf9wpxNfd/fUEBfURM7+Oew4+mYqPSh -Ru5Sqk5DIoq2seZ0WHfh89Lbh2QqQh81saRUFoh6r/d0BSw9ekWY0iKdkrUw3pKW -ECSc6DNF0sWYBinc9CALYxXO/kYVHhMXnLZwpaaND8Mvgrcw8gKr7LRTyQm7zefk -60Q5A/9ywy6rL6Cj1RpQVDOC0LA+oJkQFaZXyPW1fQBTdLyATsXCuNvsv1eQNXt4 -4n4uoULtPFqgwztQyvAxQ/91+AWCLUU6JHQ97Ar+fZ1DMOET0eB+39JYwfXdK9PW -t2fTbnIbo+3djPT0f1DORwWfWO22u6pwKk//93PE16jJJMEVerQlVHN1a2FzYSBI -YW1hbm8gPGhhbWFub0Bvc3N0ZWNoLmNvLmpwPohgBBMRAgAgBQJKigQ7AhsDBgsJ -CAcDAgQVAggDBBYCAwECHgECF4AACgkQFr7RAWBpvlWPMACfYHIUHkR1QwP2QEJY -FuYexm16a4EAoNHjSi2CdcrAhzWgPTXAMlyUw91XuQINBEqKBDsQCADkJTHSBj0+ -OR61XS29KMk9wbVpk9rCNc4iIyYj7hSR6fed56eEyKGkKfuY6b/joCwn9SAu+vX5 -r80buZFpToS5+yY1MKioOQGqtYUCctUlqRPOUG3chrsxAnWsFdaJh+T5gCfElI9v -yqlQQT4VfTYGXc7rmP0FyI/3uQUNdKm2E4jdqann6NKgjZ1KNjnYnkGcLx3bOkbY -H9zxhGOuHo+ZV2dqXH2W2JpJTPFSUIuIuEEU2lNJAEjE+6C/wLdpQWIEi8k8tEKF -2ERe024sXM1nQkRoQ4LP1ByOhJ5pytMwxnj5RqTVhWlN56g4TvYMTD0iEY50udR6 -o8toGgTd/y4HAAMHCACX+zGFo+ykMTzIcbPQWM/YD+jOrZhBz7ie7XSMS6NWyJS4 -PKC5JKAHyR/gEjVfBaiOkWxrL5aLgQ3ejrlzqzjugfpOMWU0Rwzfi4rkTSadhqYM -PZ4OPoro/FqPayneuPdRlw+HaE2KJzpCMWNiPVhU4zjpx80MDKFNgBatQaMaOtuW -jrAehmpAdgUNcjy06Iq9mF+lbvdNKoMq9KlIhbJrWx6s+P60I+6Po39CEPE/4Q8L -SQBYZ52bXSCbPc2FPPalTZrAlVyN/VI0mXATYqGvqEoKhmWd7EY2iVWDVR+c2YG+ -6fyECsghocK84uhVLOkyB4pS/5r74z52Uu1xDjHRiEkEGBECAAkFAkqKBDsCGwwA -CgkQFr7RAWBpvlUREgCgw6jTkvP26vYqRXt6WzD4XEP+sToAn1dAgtJS4CHcyOcD -WXLnBppT71IG -=12o+ +mQGiBEpnDbARBADRsKGwS54yxqAoniGaI8X+saG4ezdZ1OmPr9f7L4PugzjjL7qR +p9O7hj+RZNVM7QR9nPUFTawBTfWQisyS8/a3xiBbQxlhW8uuORhM2gTkVGGlGbCc +jH+RT0T8t/75m6n2IXKATqugrMH60NXreQQuCKWgCrT6TroMldlVQpBaFwCgx/s0 +1KlfCY42Er0YA/DDpMgTYhUEAI0PgOpD6C8ncEpqvSYSs1qyvRsrpp86M/nyi+pm +15+7IZhlXE53gXeSLT+dTutvVQtbXbf2DwJmAKdjQw1Y4esjxwH1bPYnPnTlIlZ6 +CHQbYO0n6u2pDnSF8sxi3ene6BSuL7NvKpejwXqLEQFGjaop5eAdDs6YvHNU3Yev +os0UA/4t9TstI4laLwvCqZ7npwsNxT/1sXa5F09d26oTSZlJwSEmGe6+tOqAbDYn +1mrCajNt40pGPBKXhE2UNJIBrrWSjZCAp4LSmj6KCEXs35fpmUhUp54V79cC4AI/ +rezLlZIB6l4Dey1is5bkw1yOsBT6Qf4lGJHkggyUfW/ymGZfqbQdVGltIFdhdWdo +IDx0d2F1Z2hAcmVkaGF0LmNvbT6IZgQTEQIAJgUCSmcOPwIbAwUJA8JnAAYLCQgH +AwIEFQIIAwQWAgMBAh4BAheAAAoJEAS0Gn2aStrXYHMAoLxVaLxFP6P6rRlQtla+ +NO1KSkMBAJ9jNppMaAf2pHi1b9CoD4f4MEvOS4hGBBARAgAGBQJKZxDHAAoJEO3n +xuaBAwm91N0AoJROznoZyHKXRxgzLyXemIA4TYMAAJ9Y9HdZOenEMw9HMg36guZK +dBIVLLQcVGltIFdhdWdoIDx0aW1AY3liZXJlbGsubmV0PohmBBMRAgAmBQJKZw2w +AhsDBQkDwmcABgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQBLQafZpK2tet4gCf +VKhWbUJAcIlNpWpYD0kYgGty/ucAoIfsKq9FNBPw9pQPaDnxbKDyserxiEYEEBEC +AAYFAkpnEMcACgkQ7efG5oEDCb0RvACePTmfisPxeKkGo6QoA42MFH5wtPIAn329 +9ur6BKDz/QrKVT13CxRoKosLuQINBEpnDbAQCACCZaJHH6EctIyz+PYBCzz889PR +iLAOyKlbrgaR4KhVGBFttKyOJkEk+UvxLUuRkOOY6i6TWbT3qNUnZT6QkftGulal +8MAtBf2xnJXEsyKgPkRkeDAx3uvMBfrW0wgxcFw9K6E+p8x76bFFD+FtrduDRfxk +2jDwJgyYubnM3+nPZzZXfuFnxSRYjJcoAq4O61YdH8O79TElEGqTwd/BHeIexEf2 +BkBAscE4GCmGXTYCsLByY8sGD13U7OO3Kk4ul4FgI/mzM25zgqqhbAObjsIwJqE+ +6MXqkkylmo+noTe3zlfNdnR1xkmYUCfUc4+WeFyziHRiXMkt5OYY5wDW5WGnAAMF +B/4gvjt8SXekSxgdFCuEOQ0J2YM4DElQkaf+Tggbr9F3hnsWfJ49gEipCWEhKPt2 +ks4kDexO/Cn6SI7SQUPiNUWylm80G1Dd+xaQ9qrN1KTsReACXOCKoRgz64MooSOj +Qs8YIGI/ejLzPkn6mUEmFRHssd4jmmSCbF99AmVh6Z4VnkKLTG+z3KQUymF0ng5b +AAcwTOJhlAR7xrBJGfhnRUTIaNtD+UnBsoxApeUJie2lc84Pc10p56TGomkEy3Ib +se1kk4w3mZ8kkR57voh/PovSl/8NyPmv81oVHbJnGLKAVku4XT0IBQOBdDKeRKHB +tlPLsK9KFx2LxhtAmQN4C/j5iE8EGBECAA8FAkpnDbACGwwFCQPCZwAACgkQBLQa +fZpK2teQogCgg68475moQ7dh/HIUHRNJKZJfmoQAoIw92pM7V5VYMpz9kW+701Fu +JofS +=vrpj -----END PGP PUBLIC KEY BLOCK----- From ea48812b54fa6acb3d8a77c7a74288df5d70d1ff Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 13 Jan 2012 20:08:48 -0600 Subject: [PATCH 07/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 1acdbc6..17a0e06 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.11 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -84,6 +84,9 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %changelog +* Sat Jan 14 2012 Fedora Release Engineering - 1.0.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Fri May 20 2011 Tim Waugh - 1.0.11-1 - 1.0.11. From f1f24dfa6c18786a16234d926cdf93416f47d1b4 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Wed, 15 Feb 2012 16:28:55 +0000 Subject: [PATCH 08/59] 1.0.13. --- .gitignore | 1 + pysmbc-1.0.11.tar.bz2.asc | 7 ------- pysmbc-1.0.13.tar.bz2.asc | 11 +++++++++++ python-smbc.spec | 7 +++++-- sources | 2 +- 5 files changed, 18 insertions(+), 10 deletions(-) delete mode 100644 pysmbc-1.0.11.tar.bz2.asc create mode 100644 pysmbc-1.0.13.tar.bz2.asc diff --git a/.gitignore b/.gitignore index 50ebfe5..df5540f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /pysmbc-1.0.10.tar.bz2 /pysmbc-1.0.11.tar.bz2 +/pysmbc-1.0.13.tar.bz2 diff --git a/pysmbc-1.0.11.tar.bz2.asc b/pysmbc-1.0.11.tar.bz2.asc deleted file mode 100644 index f16391b..0000000 --- a/pysmbc-1.0.11.tar.bz2.asc +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.11 (GNU/Linux) - -iD8DBQBN1oonBLQafZpK2tcRAlpMAJ0XtD07MjDCNgp2vC70zB+hW60v+QCgt33d -EuP66uIdYWzEKWhZcf4mmvE= -=VXx5 ------END PGP SIGNATURE----- diff --git a/pysmbc-1.0.13.tar.bz2.asc b/pysmbc-1.0.13.tar.bz2.asc new file mode 100644 index 0000000..d6a8d73 --- /dev/null +++ b/pysmbc-1.0.13.tar.bz2.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQEVAwUATzvaqu7Fkar03pQsAQI8Ygf/b/mu91NiVwHMkdPgm9WpypvDaJCqYqDd +xAWVaB7/dVXfCAcKa5xdc6hjPFo5iuPZqEVpedFy81+u1iYmfZF62XKWuMQwQDFn +wUneyuh6xWztimz4UQNCvNCt9Wl9EW+m0nCwrtXGXDZq6Co7MhlGxRXPEEAvXoVo +JuKJ0QFwF6fOQ62i1DWlH9K9TrNAwzCn5IjSelleW/hnDEKn81KYwqMhAzA/Iy9d +yIkuxcfW83sZyXvut/t8VTXKDOhRh9abWxYjrwhHSQi3cTzcfPysHDxnaGFwhxB4 +kHHF98WDSKYrexMo78fSpvc2z+BATo+IjE/6jjH6DL1JYw3V3qfxxg== +=MLkF +-----END PGP SIGNATURE----- diff --git a/python-smbc.spec b/python-smbc.spec index 17a0e06..4200be6 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -5,8 +5,8 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc -Version: 1.0.11 -Release: 2%{?dist} +Version: 1.0.13 +Release: 1%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -84,6 +84,9 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %changelog +* Wed Feb 15 2012 Tim Waugh - 1.0.13-1 +- 1.0.13. + * Sat Jan 14 2012 Fedora Release Engineering - 1.0.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index 315208e..6dfd4a9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8593053cfe3cc0b79d8c4ab892044d4b pysmbc-1.0.11.tar.bz2 +019dbb3bc6ee217f7389a2330cda9fe0 pysmbc-1.0.13.tar.bz2 From f6ebebe977a45d6dbf9cc5bae0d55c21d884a45b Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 21 Jul 2012 04:22:54 -0500 Subject: [PATCH 09/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 4200be6..b4c5ba5 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.13 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -84,6 +84,9 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %changelog +* Sat Jul 21 2012 Fedora Release Engineering - 1.0.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Wed Feb 15 2012 Tim Waugh - 1.0.13-1 - 1.0.13. From 825d4f0dd5d222587dcab5a691b27f6b1d42759a Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Thu, 26 Jul 2012 14:52:13 -0400 Subject: [PATCH 10/59] 1.0.13-3: generalize file globbing to ease transition to Python 3.3 --- python-smbc.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-smbc.spec b/python-smbc.spec index b4c5ba5..5fbcca2 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.13 -Release: 2%{?dist} +Release: 3%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -79,11 +79,14 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %files -n python3-smbc %defattr(-,root,root,-) %doc COPYING README NEWS -%{python3_sitearch}/smbc.cpython-3?mu.so +%{python3_sitearch}/smbc.cpython-3*.so %{python3_sitearch}/pysmbc*.egg-info %changelog +* Thu Jul 26 2012 David Malcolm - 1.0.13-3 +- generalize file globbing to ease transition to Python 3.3 + * Sat Jul 21 2012 Fedora Release Engineering - 1.0.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From 7c7dba386f8172938a3bfd1e214a26f20b14862b Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Fri, 3 Aug 2012 13:56:29 -0400 Subject: [PATCH 11/59] add with_python3 conditionals --- python-smbc.spec | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/python-smbc.spec b/python-smbc.spec index 5fbcca2..0957f7e 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -1,3 +1,7 @@ +%if 0%{?fedora} > 12 +%global with_python3 1 +%endif + %{?filter_setup: %filter_provides_in %{python_sitearch}/.*\.so$ %filter_setup @@ -6,13 +10,15 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.13 -Release: 3%{?dist} +Release: 4%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ Group: Development/Languages BuildRequires: python2-devel +%if 0%{?with_python3} BuildRequires: python3-devel +%endif BuildRequires: libsmbclient-devel >= 3.2 BuildRequires: epydoc @@ -21,6 +27,7 @@ This package provides Python bindings for the libsmbclient API from Samba, known as pysmbc. It was written for use with system-config-printer, but can be put to other uses as well. +%if 0%{?with_python3} %package -n python3-smbc Summary: Python3 bindings for libsmbclient API from Samba Group: Development/Languages @@ -30,7 +37,8 @@ This package provides Python bindings for the libsmbclient API from Samba, known as pysmbc. It was written for use with system-config-printer, but can be put to other uses as well. -This is a ported release for python 3.1 +This is a ported release for python 3 +%endif %package doc Summary: Documentation for python-smbc @@ -42,8 +50,10 @@ Documentation for python-smbc. %prep %setup -q -n pysmbc-%{version} +%if 0%{?with_python3} rm -rf %{py3dir} cp -a . %{py3dir} +%endif %build @@ -51,16 +61,20 @@ CFLAGS="%{optflags}" %{__python} setup.py build rm -rf html epydoc -o html --html build/lib*/smbc.so +%if 0%{?with_python3} pushd %{py3dir} CFLAGS="%{optflags}" %{__python3} setup.py build popd +%endif %install +%if 0%{?with_python3} pushd %{py3dir} %{__python3} setup.py install -O1 --skip-build --root %{buildroot} chmod 755 %{buildroot}%{python3_sitearch}/smbc*.so popd +%endif %{__python} setup.py install -O1 --skip-build --root %{buildroot} chmod 755 %{buildroot}%{python_sitearch}/smbc.so @@ -76,14 +90,19 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %defattr(-,root,root,-) %doc html +%if 0%{?with_python3} %files -n python3-smbc %defattr(-,root,root,-) %doc COPYING README NEWS %{python3_sitearch}/smbc.cpython-3*.so %{python3_sitearch}/pysmbc*.egg-info +%endif %changelog +* Fri Aug 3 2012 David Malcolm - 1.0.13-4 +- add with_python3 conditionals + * Thu Jul 26 2012 David Malcolm - 1.0.13-3 - generalize file globbing to ease transition to Python 3.3 From e242512dbdffd7618d6aee530c34d90f131c6034 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Sat, 4 Aug 2012 07:06:02 -0400 Subject: [PATCH 12/59] rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 0957f7e..5462e20 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -10,7 +10,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.13 -Release: 4%{?dist} +Release: 5%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -100,6 +100,9 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %changelog +* Sat Aug 04 2012 David Malcolm - 1.0.13-5 +- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 + * Fri Aug 3 2012 David Malcolm - 1.0.13-4 - add with_python3 conditionals From d8fbcd20b5616915d510a9f158f704b154cbf44c Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Wed, 21 Nov 2012 11:38:11 +0000 Subject: [PATCH 13/59] Use pkg-config for smbclient include_dirs, fixing rebuild failure. --- python-smbc-pkg-config.patch | 58 ++++++++++++++++++++++++++++++++++++ python-smbc.spec | 7 ++++- 2 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 python-smbc-pkg-config.patch diff --git a/python-smbc-pkg-config.patch b/python-smbc-pkg-config.patch new file mode 100644 index 0000000..9586b86 --- /dev/null +++ b/python-smbc-pkg-config.patch @@ -0,0 +1,58 @@ +diff -up pysmbc-1.0.13/Makefile.pkg-config pysmbc-1.0.13/Makefile +--- pysmbc-1.0.13/Makefile.pkg-config 2010-08-22 15:59:36.000000000 +0100 ++++ pysmbc-1.0.13/Makefile 2012-11-21 12:44:29.051173967 +0000 +@@ -4,7 +4,7 @@ SDIST_ARGS=--formats=bztar -d. + + smbc.so: force + python setup.py build +- mv build/lib*/$@ . ++ mv build/lib*/smbc*.so . + + doc: smbc.so + rm -rf html +@@ -14,7 +14,7 @@ doczip: doc + cd html && zip ../smbc-html.zip * + + clean: +- -rm -rf build smbc.so *.pyc tests/*.pyc *~ tests/*~ ++ -rm -rf build smbc*.so *.pyc tests/*.pyc *~ tests/*~ + + dist: + python setup.py sdist $(SDIST_ARGS) +diff -up pysmbc-1.0.13/setup.py.pkg-config pysmbc-1.0.13/setup.py +--- pysmbc-1.0.13/setup.py.pkg-config 2012-02-15 16:12:44.000000000 +0000 ++++ pysmbc-1.0.13/setup.py 2012-11-21 12:45:05.362285519 +0000 +@@ -1,6 +1,6 @@ + #!/usr/bin/env python + +-## Copyright (C) 2002, 2005, 2006, 2007, 2008, 2010, 2011 Red Hat, Inc ++## Copyright (C) 2002, 2005, 2006, 2007, 2008, 2010, 2011, 2012 Red Hat, Inc + ## Copyright (C) 2010 Open Source Solution Technology Corporation + ## Authors: + ## Tim Waugh +@@ -51,6 +51,18 @@ hello + """ + + from distutils.core import setup, Extension ++import subprocess ++ ++def pkgconfig_I (pkg): ++ dirs = [] ++ c = subprocess.Popen (["pkg-config", "--cflags", pkg], ++ stdout=subprocess.PIPE) ++ (stdout, stderr) = c.communicate () ++ for p in stdout.decode (encoding='ascii').split (): ++ if p.startswith ("-I"): ++ dirs.append (p[2:]) ++ return dirs ++ + setup (name="pysmbc", + version="1.0.13", + description="Python bindings for libsmbclient", +@@ -74,4 +86,5 @@ setup (name="pysmbc", + "dir.c", + "file.c", + "smbcdirent.c"], +- libraries=["smbclient"])]) ++ libraries=["smbclient"], ++ include_dirs=pkgconfig_I("smbclient"))]) diff --git a/python-smbc.spec b/python-smbc.spec index 5462e20..86112e7 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -10,9 +10,10 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.13 -Release: 5%{?dist} +Release: 6%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 +Patch1: python-smbc-pkg-config.patch License: GPLv2+ Group: Development/Languages BuildRequires: python2-devel @@ -49,6 +50,7 @@ Documentation for python-smbc. %prep %setup -q -n pysmbc-%{version} +%patch1 -p1 -b .pkg-config %if 0%{?with_python3} rm -rf %{py3dir} @@ -100,6 +102,9 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %changelog +* Wed Nov 21 2012 Tim Waugh - 1.0.13-6 +- Use pkg-config for smbclient include_dirs, fixing rebuild failure. + * Sat Aug 04 2012 David Malcolm - 1.0.13-5 - rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 From 5fd0a2728d4532708fedd0dcfc384a789eac23af Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 14 Feb 2013 14:25:15 -0600 Subject: [PATCH 14/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 86112e7..e234764 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -10,7 +10,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.13 -Release: 6%{?dist} +Release: 7%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 Patch1: python-smbc-pkg-config.patch @@ -102,6 +102,9 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %changelog +* Thu Feb 14 2013 Fedora Release Engineering - 1.0.13-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Wed Nov 21 2012 Tim Waugh - 1.0.13-6 - Use pkg-config for smbclient include_dirs, fixing rebuild failure. From 7c98bd2c0acaeb3651551aa6f6ea8fce3650728e Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 04:50:45 -0500 Subject: [PATCH 15/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index e234764..463db50 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -10,7 +10,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.13 -Release: 7%{?dist} +Release: 8%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 Patch1: python-smbc-pkg-config.patch @@ -102,6 +102,9 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 1.0.13-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Thu Feb 14 2013 Fedora Release Engineering - 1.0.13-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From 9ace6755023335f1bed1f8a0f36b59d46890da20 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 28 May 2014 00:42:43 +0200 Subject: [PATCH 16/59] Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 463db50..7cb8dde 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -10,7 +10,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.13 -Release: 8%{?dist} +Release: 9%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 Patch1: python-smbc-pkg-config.patch @@ -102,6 +102,9 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %changelog +* Wed May 28 2014 Kalev Lember - 1.0.13-9 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + * Sun Aug 04 2013 Fedora Release Engineering - 1.0.13-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From b8e47de4171b65e22e1ad23cef69b62c3a6240ae Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 18:10:18 -0500 Subject: [PATCH 17/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 7cb8dde..4f03107 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -10,7 +10,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.13 -Release: 9%{?dist} +Release: 10%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 Patch1: python-smbc-pkg-config.patch @@ -102,6 +102,9 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 1.0.13-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Wed May 28 2014 Kalev Lember - 1.0.13-9 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 From 240f669826ba9aa8c54b227f376bcc3742812f41 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 17 Aug 2014 21:49:32 +0000 Subject: [PATCH 18/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 4f03107..654223b 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -10,7 +10,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.13 -Release: 10%{?dist} +Release: 11%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 Patch1: python-smbc-pkg-config.patch @@ -102,6 +102,9 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %changelog +* Sun Aug 17 2014 Fedora Release Engineering - 1.0.13-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sat Jun 07 2014 Fedora Release Engineering - 1.0.13-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From a9242c744f553f98e381b156d45e028478a411c2 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 18 Jun 2015 20:51:02 +0000 Subject: [PATCH 19/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 654223b..2c8712d 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -10,7 +10,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.13 -Release: 11%{?dist} +Release: 12%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 Patch1: python-smbc-pkg-config.patch @@ -102,6 +102,9 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %changelog +* Thu Jun 18 2015 Fedora Release Engineering - 1.0.13-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Sun Aug 17 2014 Fedora Release Engineering - 1.0.13-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From dad87657d9797888843dd45eaf9df2da1236e7c1 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Tue, 11 Aug 2015 17:35:30 +0200 Subject: [PATCH 20/59] %py_build && %py_install --- python-smbc.spec | 35 ++++++++--------------------------- 1 file changed, 8 insertions(+), 27 deletions(-) diff --git a/python-smbc.spec b/python-smbc.spec index 2c8712d..e60c04c 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -1,7 +1,3 @@ -%if 0%{?fedora} > 12 -%global with_python3 1 -%endif - %{?filter_setup: %filter_provides_in %{python_sitearch}/.*\.so$ %filter_setup @@ -10,16 +6,13 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.13 -Release: 12%{?dist} +Release: 13%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 Patch1: python-smbc-pkg-config.patch License: GPLv2+ -Group: Development/Languages BuildRequires: python2-devel -%if 0%{?with_python3} BuildRequires: python3-devel -%endif BuildRequires: libsmbclient-devel >= 3.2 BuildRequires: epydoc @@ -28,10 +21,8 @@ This package provides Python bindings for the libsmbclient API from Samba, known as pysmbc. It was written for use with system-config-printer, but can be put to other uses as well. -%if 0%{?with_python3} %package -n python3-smbc Summary: Python3 bindings for libsmbclient API from Samba -Group: Development/Languages %description -n python3-smbc This package provides Python bindings for the libsmbclient API @@ -39,11 +30,9 @@ from Samba, known as pysmbc. It was written for use with system-config-printer, but can be put to other uses as well. This is a ported release for python 3 -%endif %package doc Summary: Documentation for python-smbc -Group: Documentation %description doc Documentation for python-smbc. @@ -52,56 +41,48 @@ Documentation for python-smbc. %setup -q -n pysmbc-%{version} %patch1 -p1 -b .pkg-config -%if 0%{?with_python3} rm -rf %{py3dir} cp -a . %{py3dir} -%endif %build -CFLAGS="%{optflags}" %{__python} setup.py build +%py2_build rm -rf html epydoc -o html --html build/lib*/smbc.so -%if 0%{?with_python3} pushd %{py3dir} -CFLAGS="%{optflags}" %{__python3} setup.py build +%py3_build popd -%endif %install -%if 0%{?with_python3} pushd %{py3dir} -%{__python3} setup.py install -O1 --skip-build --root %{buildroot} +%py3_install chmod 755 %{buildroot}%{python3_sitearch}/smbc*.so popd -%endif -%{__python} setup.py install -O1 --skip-build --root %{buildroot} +%py2_install chmod 755 %{buildroot}%{python_sitearch}/smbc.so %files -%defattr(-,root,root,-) %doc COPYING README NEWS %{python_sitearch}/smbc.so %{python_sitearch}/pysmbc*.egg-info %files doc -%defattr(-,root,root,-) %doc html -%if 0%{?with_python3} %files -n python3-smbc -%defattr(-,root,root,-) %doc COPYING README NEWS %{python3_sitearch}/smbc.cpython-3*.so %{python3_sitearch}/pysmbc*.egg-info -%endif %changelog +* Tue Aug 11 2015 Jiri Popelka - 1.0.13-13 +- %%py_build && %%py_install + * Thu Jun 18 2015 Fedora Release Engineering - 1.0.13-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 98dfac44a4094e5358e63121d70cec058920b9ce Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Fri, 25 Sep 2015 17:31:05 +0100 Subject: [PATCH 21/59] New upstream release (and location). --- .gitignore | 1 + pysmbc-1.0.13.tar.bz2.asc | 11 ------- pysmbc-1.0.15.4.tar.bz2.asc | 7 +++++ python-smbc-pkg-config.patch | 58 ---------------------------------- python-smbc.spec | 19 +++++------ sources | 2 +- upstream-key.gpg | 61 +++++++++++++++++------------------- 7 files changed, 47 insertions(+), 112 deletions(-) delete mode 100644 pysmbc-1.0.13.tar.bz2.asc create mode 100644 pysmbc-1.0.15.4.tar.bz2.asc delete mode 100644 python-smbc-pkg-config.patch diff --git a/.gitignore b/.gitignore index df5540f..bd4f22d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /pysmbc-1.0.10.tar.bz2 /pysmbc-1.0.11.tar.bz2 /pysmbc-1.0.13.tar.bz2 +/pysmbc-1.0.15.4.tar.bz2 diff --git a/pysmbc-1.0.13.tar.bz2.asc b/pysmbc-1.0.13.tar.bz2.asc deleted file mode 100644 index d6a8d73..0000000 --- a/pysmbc-1.0.13.tar.bz2.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.12 (GNU/Linux) - -iQEVAwUATzvaqu7Fkar03pQsAQI8Ygf/b/mu91NiVwHMkdPgm9WpypvDaJCqYqDd -xAWVaB7/dVXfCAcKa5xdc6hjPFo5iuPZqEVpedFy81+u1iYmfZF62XKWuMQwQDFn -wUneyuh6xWztimz4UQNCvNCt9Wl9EW+m0nCwrtXGXDZq6Co7MhlGxRXPEEAvXoVo -JuKJ0QFwF6fOQ62i1DWlH9K9TrNAwzCn5IjSelleW/hnDEKn81KYwqMhAzA/Iy9d -yIkuxcfW83sZyXvut/t8VTXKDOhRh9abWxYjrwhHSQi3cTzcfPysHDxnaGFwhxB4 -kHHF98WDSKYrexMo78fSpvc2z+BATo+IjE/6jjH6DL1JYw3V3qfxxg== -=MLkF ------END PGP SIGNATURE----- diff --git a/pysmbc-1.0.15.4.tar.bz2.asc b/pysmbc-1.0.15.4.tar.bz2.asc new file mode 100644 index 0000000..8d32882 --- /dev/null +++ b/pysmbc-1.0.15.4.tar.bz2.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iEYEABECAAYFAlVQXj0ACgkQFr7RAWBpvlWmJACff+C5yyK9KMSqqrtx8P7/h96h +hZsAn37lHTsiwNDL9Zd8IxY1qdT9Na8S +=sUuD +-----END PGP SIGNATURE----- diff --git a/python-smbc-pkg-config.patch b/python-smbc-pkg-config.patch deleted file mode 100644 index 9586b86..0000000 --- a/python-smbc-pkg-config.patch +++ /dev/null @@ -1,58 +0,0 @@ -diff -up pysmbc-1.0.13/Makefile.pkg-config pysmbc-1.0.13/Makefile ---- pysmbc-1.0.13/Makefile.pkg-config 2010-08-22 15:59:36.000000000 +0100 -+++ pysmbc-1.0.13/Makefile 2012-11-21 12:44:29.051173967 +0000 -@@ -4,7 +4,7 @@ SDIST_ARGS=--formats=bztar -d. - - smbc.so: force - python setup.py build -- mv build/lib*/$@ . -+ mv build/lib*/smbc*.so . - - doc: smbc.so - rm -rf html -@@ -14,7 +14,7 @@ doczip: doc - cd html && zip ../smbc-html.zip * - - clean: -- -rm -rf build smbc.so *.pyc tests/*.pyc *~ tests/*~ -+ -rm -rf build smbc*.so *.pyc tests/*.pyc *~ tests/*~ - - dist: - python setup.py sdist $(SDIST_ARGS) -diff -up pysmbc-1.0.13/setup.py.pkg-config pysmbc-1.0.13/setup.py ---- pysmbc-1.0.13/setup.py.pkg-config 2012-02-15 16:12:44.000000000 +0000 -+++ pysmbc-1.0.13/setup.py 2012-11-21 12:45:05.362285519 +0000 -@@ -1,6 +1,6 @@ - #!/usr/bin/env python - --## Copyright (C) 2002, 2005, 2006, 2007, 2008, 2010, 2011 Red Hat, Inc -+## Copyright (C) 2002, 2005, 2006, 2007, 2008, 2010, 2011, 2012 Red Hat, Inc - ## Copyright (C) 2010 Open Source Solution Technology Corporation - ## Authors: - ## Tim Waugh -@@ -51,6 +51,18 @@ hello - """ - - from distutils.core import setup, Extension -+import subprocess -+ -+def pkgconfig_I (pkg): -+ dirs = [] -+ c = subprocess.Popen (["pkg-config", "--cflags", pkg], -+ stdout=subprocess.PIPE) -+ (stdout, stderr) = c.communicate () -+ for p in stdout.decode (encoding='ascii').split (): -+ if p.startswith ("-I"): -+ dirs.append (p[2:]) -+ return dirs -+ - setup (name="pysmbc", - version="1.0.13", - description="Python bindings for libsmbclient", -@@ -74,4 +86,5 @@ setup (name="pysmbc", - "dir.c", - "file.c", - "smbcdirent.c"], -- libraries=["smbclient"])]) -+ libraries=["smbclient"], -+ include_dirs=pkgconfig_I("smbclient"))]) diff --git a/python-smbc.spec b/python-smbc.spec index e60c04c..1678664 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -5,11 +5,10 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc -Version: 1.0.13 -Release: 13%{?dist} -URL: http://cyberelk.net/tim/software/pysmbc/ +Version: 1.0.15.4 +Release: 1%{?dist} +URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 -Patch1: python-smbc-pkg-config.patch License: GPLv2+ BuildRequires: python2-devel BuildRequires: python3-devel @@ -23,6 +22,7 @@ system-config-printer, but can be put to other uses as well. %package -n python3-smbc Summary: Python3 bindings for libsmbclient API from Samba +%{?python_provide:%python_provide python3-smbc} %description -n python3-smbc This package provides Python bindings for the libsmbclient API @@ -39,7 +39,6 @@ Documentation for python-smbc. %prep %setup -q -n pysmbc-%{version} -%patch1 -p1 -b .pkg-config rm -rf %{py3dir} cp -a . %{py3dir} @@ -47,6 +46,7 @@ cp -a . %{py3dir} %build %py2_build + rm -rf html epydoc -o html --html build/lib*/smbc.so @@ -67,19 +67,20 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %files %doc COPYING README NEWS -%{python_sitearch}/smbc.so -%{python_sitearch}/pysmbc*.egg-info +%{python_sitearch}/* %files doc %doc html %files -n python3-smbc %doc COPYING README NEWS -%{python3_sitearch}/smbc.cpython-3*.so -%{python3_sitearch}/pysmbc*.egg-info +%{python3_sitearch}/* %changelog +* Fri Sep 25 2015 Tim Waugh - 1.0.15.4-1 +- New upstream release (and location). + * Tue Aug 11 2015 Jiri Popelka - 1.0.13-13 - %%py_build && %%py_install diff --git a/sources b/sources index 6dfd4a9..b28e437 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -019dbb3bc6ee217f7389a2330cda9fe0 pysmbc-1.0.13.tar.bz2 +7e1d0b5438bf9c2660a60094d7eaabb3 pysmbc-1.0.15.4.tar.bz2 diff --git a/upstream-key.gpg b/upstream-key.gpg index 967ef1b..684463f 100644 --- a/upstream-key.gpg +++ b/upstream-key.gpg @@ -1,36 +1,31 @@ -----BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.4.11 (GNU/Linux) +Version: GnuPG v1 -mQGiBEpnDbARBADRsKGwS54yxqAoniGaI8X+saG4ezdZ1OmPr9f7L4PugzjjL7qR -p9O7hj+RZNVM7QR9nPUFTawBTfWQisyS8/a3xiBbQxlhW8uuORhM2gTkVGGlGbCc -jH+RT0T8t/75m6n2IXKATqugrMH60NXreQQuCKWgCrT6TroMldlVQpBaFwCgx/s0 -1KlfCY42Er0YA/DDpMgTYhUEAI0PgOpD6C8ncEpqvSYSs1qyvRsrpp86M/nyi+pm -15+7IZhlXE53gXeSLT+dTutvVQtbXbf2DwJmAKdjQw1Y4esjxwH1bPYnPnTlIlZ6 -CHQbYO0n6u2pDnSF8sxi3ene6BSuL7NvKpejwXqLEQFGjaop5eAdDs6YvHNU3Yev -os0UA/4t9TstI4laLwvCqZ7npwsNxT/1sXa5F09d26oTSZlJwSEmGe6+tOqAbDYn -1mrCajNt40pGPBKXhE2UNJIBrrWSjZCAp4LSmj6KCEXs35fpmUhUp54V79cC4AI/ -rezLlZIB6l4Dey1is5bkw1yOsBT6Qf4lGJHkggyUfW/ymGZfqbQdVGltIFdhdWdo -IDx0d2F1Z2hAcmVkaGF0LmNvbT6IZgQTEQIAJgUCSmcOPwIbAwUJA8JnAAYLCQgH -AwIEFQIIAwQWAgMBAh4BAheAAAoJEAS0Gn2aStrXYHMAoLxVaLxFP6P6rRlQtla+ -NO1KSkMBAJ9jNppMaAf2pHi1b9CoD4f4MEvOS4hGBBARAgAGBQJKZxDHAAoJEO3n -xuaBAwm91N0AoJROznoZyHKXRxgzLyXemIA4TYMAAJ9Y9HdZOenEMw9HMg36guZK -dBIVLLQcVGltIFdhdWdoIDx0aW1AY3liZXJlbGsubmV0PohmBBMRAgAmBQJKZw2w -AhsDBQkDwmcABgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQBLQafZpK2tet4gCf -VKhWbUJAcIlNpWpYD0kYgGty/ucAoIfsKq9FNBPw9pQPaDnxbKDyserxiEYEEBEC -AAYFAkpnEMcACgkQ7efG5oEDCb0RvACePTmfisPxeKkGo6QoA42MFH5wtPIAn329 -9ur6BKDz/QrKVT13CxRoKosLuQINBEpnDbAQCACCZaJHH6EctIyz+PYBCzz889PR -iLAOyKlbrgaR4KhVGBFttKyOJkEk+UvxLUuRkOOY6i6TWbT3qNUnZT6QkftGulal -8MAtBf2xnJXEsyKgPkRkeDAx3uvMBfrW0wgxcFw9K6E+p8x76bFFD+FtrduDRfxk -2jDwJgyYubnM3+nPZzZXfuFnxSRYjJcoAq4O61YdH8O79TElEGqTwd/BHeIexEf2 -BkBAscE4GCmGXTYCsLByY8sGD13U7OO3Kk4ul4FgI/mzM25zgqqhbAObjsIwJqE+ -6MXqkkylmo+noTe3zlfNdnR1xkmYUCfUc4+WeFyziHRiXMkt5OYY5wDW5WGnAAMF -B/4gvjt8SXekSxgdFCuEOQ0J2YM4DElQkaf+Tggbr9F3hnsWfJ49gEipCWEhKPt2 -ks4kDexO/Cn6SI7SQUPiNUWylm80G1Dd+xaQ9qrN1KTsReACXOCKoRgz64MooSOj -Qs8YIGI/ejLzPkn6mUEmFRHssd4jmmSCbF99AmVh6Z4VnkKLTG+z3KQUymF0ng5b -AAcwTOJhlAR7xrBJGfhnRUTIaNtD+UnBsoxApeUJie2lc84Pc10p56TGomkEy3Ib -se1kk4w3mZ8kkR57voh/PovSl/8NyPmv81oVHbJnGLKAVku4XT0IBQOBdDKeRKHB -tlPLsK9KFx2LxhtAmQN4C/j5iE8EGBECAA8FAkpnDbACGwwFCQPCZwAACgkQBLQa -fZpK2teQogCgg68475moQ7dh/HIUHRNJKZJfmoQAoIw92pM7V5VYMpz9kW+701Fu -JofS -=vrpj +mQGiBEqKBDsRBADje4pZPDB+9ZdAjdzQ0O+OnNkoYj0TDGDRxcGZA1l9F2dRs9vL +SRsp+q4zZqRxAo4oMlNzcXZC8/hMHT11N1k8oNssBN/thKafjLRa5veA6v+9rAIS +Smx+JXwO6BsbBscKwq2fdf9QJWBbfUAEBfDFNrYhNtQKcY4YWgfT+b1JawCg2QDq +CFnCE7JzfcspKKBg4AYS/ucD/1evuUhrZZf9wpxNfd/fUEBfURM7+Oew4+mYqPSh +Ru5Sqk5DIoq2seZ0WHfh89Lbh2QqQh81saRUFoh6r/d0BSw9ekWY0iKdkrUw3pKW +ECSc6DNF0sWYBinc9CALYxXO/kYVHhMXnLZwpaaND8Mvgrcw8gKr7LRTyQm7zefk +60Q5A/9ywy6rL6Cj1RpQVDOC0LA+oJkQFaZXyPW1fQBTdLyATsXCuNvsv1eQNXt4 +4n4uoULtPFqgwztQyvAxQ/91+AWCLUU6JHQ97Ar+fZ1DMOET0eB+39JYwfXdK9PW +t2fTbnIbo+3djPT0f1DORwWfWO22u6pwKk//93PE16jJJMEVeohJBCARAgAJBQJV +o4uiAh0BAAoJEBa+0QFgab5VWycAoNE7Hm+anHZIavel43DL25jLPy7IAJ4uG+qm +Q5qwYBuLMvXY+eGmCdZXzrQlVHN1a2FzYSBIYW1hbm8gPGhhbWFub0Bvc3N0ZWNo +LmNvLmpwPohgBBMRAgAgBQJKigQ7AhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AA +CgkQFr7RAWBpvlWPMACfYHIUHkR1QwP2QEJYFuYexm16a4EAoNHjSi2CdcrAhzWg +PTXAMlyUw91XuQINBEqKBDsQCADkJTHSBj0+OR61XS29KMk9wbVpk9rCNc4iIyYj +7hSR6fed56eEyKGkKfuY6b/joCwn9SAu+vX5r80buZFpToS5+yY1MKioOQGqtYUC +ctUlqRPOUG3chrsxAnWsFdaJh+T5gCfElI9vyqlQQT4VfTYGXc7rmP0FyI/3uQUN +dKm2E4jdqann6NKgjZ1KNjnYnkGcLx3bOkbYH9zxhGOuHo+ZV2dqXH2W2JpJTPFS +UIuIuEEU2lNJAEjE+6C/wLdpQWIEi8k8tEKF2ERe024sXM1nQkRoQ4LP1ByOhJ5p +ytMwxnj5RqTVhWlN56g4TvYMTD0iEY50udR6o8toGgTd/y4HAAMHCACX+zGFo+yk +MTzIcbPQWM/YD+jOrZhBz7ie7XSMS6NWyJS4PKC5JKAHyR/gEjVfBaiOkWxrL5aL +gQ3ejrlzqzjugfpOMWU0Rwzfi4rkTSadhqYMPZ4OPoro/FqPayneuPdRlw+HaE2K +JzpCMWNiPVhU4zjpx80MDKFNgBatQaMaOtuWjrAehmpAdgUNcjy06Iq9mF+lbvdN +KoMq9KlIhbJrWx6s+P60I+6Po39CEPE/4Q8LSQBYZ52bXSCbPc2FPPalTZrAlVyN +/VI0mXATYqGvqEoKhmWd7EY2iVWDVR+c2YG+6fyECsghocK84uhVLOkyB4pS/5r7 +4z52Uu1xDjHRiEkEGBECAAkFAkqKBDsCGwwACgkQFr7RAWBpvlUREgCgw6jTkvP2 +6vYqRXt6WzD4XEP+sToAn1dAgtJS4CHcyOcDWXLnBppT71IG +=WPuf -----END PGP PUBLIC KEY BLOCK----- From 8723631db1bdcb20b7cd0756b9a8a33c7e4c4990 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Fri, 25 Sep 2015 17:39:14 +0100 Subject: [PATCH 22/59] Fix build --- python-smbc.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python-smbc.spec b/python-smbc.spec index 1678664..f12fd2b 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -48,7 +48,7 @@ cp -a . %{py3dir} %py2_build rm -rf html -epydoc -o html --html build/lib*/smbc.so +epydoc -o html --html build/lib*/_smbc.so pushd %{py3dir} %py3_build @@ -58,11 +58,9 @@ popd %install pushd %{py3dir} %py3_install -chmod 755 %{buildroot}%{python3_sitearch}/smbc*.so popd %py2_install -chmod 755 %{buildroot}%{python_sitearch}/smbc.so %files From d70a290826d9bf5de09454c9de6a0c92356cd388 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Thu, 5 Nov 2015 11:09:15 +0100 Subject: [PATCH 23/59] Rebuilt for Python3.5 rebuild --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index f12fd2b..1f70eec 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -76,6 +76,9 @@ popd %changelog +* Thu Nov 05 2015 Jiri Popelka - 1.0.15.4-2 +- Rebuilt for Python3.5 rebuild + * Fri Sep 25 2015 Tim Waugh - 1.0.15.4-1 - New upstream release (and location). From 4faf2d80a68385bc8e09dbd29dbf9cb712ed44ee Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 10 Nov 2015 17:26:35 +0000 Subject: [PATCH 24/59] - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 1f70eec..23a5e03 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -76,6 +76,9 @@ popd %changelog +* Tue Nov 10 2015 Fedora Release Engineering - 1.0.15.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + * Thu Nov 05 2015 Jiri Popelka - 1.0.15.4-2 - Rebuilt for Python3.5 rebuild From c9916caf609887339474a514940159ca80470a33 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Fri, 20 Nov 2015 16:35:49 +0100 Subject: [PATCH 25/59] don't use py3dir, use python_provide --- python-smbc.spec | 37 ++++++++++++++++--------------------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/python-smbc.spec b/python-smbc.spec index 23a5e03..601f95d 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -15,6 +15,11 @@ BuildRequires: python3-devel BuildRequires: libsmbclient-devel >= 3.2 BuildRequires: epydoc +# defined in /usr/lib/rpm/macros.d/macros.python +# if python_provide() is defined, call python_provide(python-smbc) +# which may eventually add Provides: ... (see the function definition) +%{?python_provide:%python_provide python-smbc} + %description This package provides Python bindings for the libsmbclient API from Samba, known as pysmbc. It was written for use with @@ -38,44 +43,34 @@ Summary: Documentation for python-smbc Documentation for python-smbc. %prep -%setup -q -n pysmbc-%{version} - -rm -rf %{py3dir} -cp -a . %{py3dir} - +%setup -n pysmbc-%{version} %build %py2_build - +%py3_build rm -rf html epydoc -o html --html build/lib*/_smbc.so -pushd %{py3dir} -%py3_build -popd - - %install -pushd %{py3dir} -%py3_install -popd - %py2_install - +%py3_install %files %doc COPYING README NEWS -%{python_sitearch}/* - -%files doc -%doc html +%{python2_sitearch}/* %files -n python3-smbc %doc COPYING README NEWS %{python3_sitearch}/* +%files doc +%doc html + %changelog +* Fri Nov 20 2015 Jiri Popelka - 1.0.15.4-4 +- don't use py3dir, use python_provide + * Tue Nov 10 2015 Fedora Release Engineering - 1.0.15.4-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 From 3b7c53dd679cb95b5abee75440a81ea0296f585c Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Mon, 23 Nov 2015 13:53:30 +0100 Subject: [PATCH 26/59] python2 subpackage --- python-smbc.spec | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/python-smbc.spec b/python-smbc.spec index 601f95d..f92d2a3 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 4%{?dist} +Release: 5%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -15,13 +15,20 @@ BuildRequires: python3-devel BuildRequires: libsmbclient-devel >= 3.2 BuildRequires: epydoc +%description +This package provides Python bindings for the libsmbclient API +from Samba, known as pysmbc. It was written for use with +system-config-printer, but can be put to other uses as well. + +%package -n python2-smbc +Summary: Python2 bindings for libsmbclient API from Samba # defined in /usr/lib/rpm/macros.d/macros.python -# if python_provide() is defined, call python_provide(python-smbc) +# if python_provide() is defined, call python_provide(python2-smbc) # which may eventually add Provides: ... (see the function definition) -%{?python_provide:%python_provide python-smbc} +%{?python_provide:%python_provide python2-smbc} -%description -This package provides Python bindings for the libsmbclient API +%description -n python2-smbc +This package provides Python 2 bindings for the libsmbclient API from Samba, known as pysmbc. It was written for use with system-config-printer, but can be put to other uses as well. @@ -30,12 +37,10 @@ Summary: Python3 bindings for libsmbclient API from Samba %{?python_provide:%python_provide python3-smbc} %description -n python3-smbc -This package provides Python bindings for the libsmbclient API +This package provides Python 3 bindings for the libsmbclient API from Samba, known as pysmbc. It was written for use with system-config-printer, but can be put to other uses as well. -This is a ported release for python 3 - %package doc Summary: Documentation for python-smbc @@ -55,12 +60,14 @@ epydoc -o html --html build/lib*/_smbc.so %py2_install %py3_install -%files -%doc COPYING README NEWS +%files -n python2-smbc +%doc README NEWS +%license COPYING %{python2_sitearch}/* %files -n python3-smbc -%doc COPYING README NEWS +%doc README NEWS +%license COPYING %{python3_sitearch}/* %files doc @@ -68,6 +75,9 @@ epydoc -o html --html build/lib*/_smbc.so %changelog +* Mon Nov 23 2015 Jiri Popelka - 1.0.15.4-5 +- python2 subpackage + * Fri Nov 20 2015 Jiri Popelka - 1.0.15.4-4 - don't use py3dir, use python_provide From 41b2f295573293475a7328197f67bd1444a7372f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 4 Feb 2016 20:58:22 +0000 Subject: [PATCH 27/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index f92d2a3..c61c59b 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 5%{?dist} +Release: 6%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -75,6 +75,9 @@ epydoc -o html --html build/lib*/_smbc.so %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.15.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Mon Nov 23 2015 Jiri Popelka - 1.0.15.4-5 - python2 subpackage From 481f22cb8f69cff3259270253292347b21666640 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 19 Jul 2016 11:43:20 +0000 Subject: [PATCH 28/59] - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index c61c59b..a16d7f1 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 6%{?dist} +Release: 7%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -75,6 +75,9 @@ epydoc -o html --html build/lib*/_smbc.so %changelog +* Tue Jul 19 2016 Fedora Release Engineering - 1.0.15.4-7 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + * Thu Feb 04 2016 Fedora Release Engineering - 1.0.15.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 071817027b81be26a1f9da8acb12aed860fa044d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Dec 2016 18:20:38 +0100 Subject: [PATCH 29/59] Rebuild for Python 3.6 --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index a16d7f1..fc050e1 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 7%{?dist} +Release: 8%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -75,6 +75,9 @@ epydoc -o html --html build/lib*/_smbc.so %changelog +* Mon Dec 19 2016 Miro Hrončok - 1.0.15.4-8 +- Rebuild for Python 3.6 + * Tue Jul 19 2016 Fedora Release Engineering - 1.0.15.4-7 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages From e724c9537eb3056fffe7b6c2f31e9aa5f08c246f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 10:30:56 +0000 Subject: [PATCH 30/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index fc050e1..624404a 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 8%{?dist} +Release: 9%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -75,6 +75,9 @@ epydoc -o html --html build/lib*/_smbc.so %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 1.0.15.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Mon Dec 19 2016 Miro Hrončok - 1.0.15.4-8 - Rebuild for Python 3.6 From 9ce639b3a8b0d18fb2d17eed1a5d0ef804e4dfc2 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 7 Jul 2017 13:11:23 +0200 Subject: [PATCH 31/59] Rebuild due to bug in RPM (RHBZ #1468476) Signed-off-by: Igor Gnatenko --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 624404a..66ef2d0 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 9%{?dist} +Release: 10%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -75,6 +75,9 @@ epydoc -o html --html build/lib*/_smbc.so %changelog +* Fri Jul 07 2017 Igor Gnatenko - 1.0.15.4-10 +- Rebuild due to bug in RPM (RHBZ #1468476) + * Sat Feb 11 2017 Fedora Release Engineering - 1.0.15.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 4affc02e26cd0eafb560d73570984f7978436f29 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 11:51:49 +0000 Subject: [PATCH 32/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 66ef2d0..84052e3 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 10%{?dist} +Release: 11%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -75,6 +75,9 @@ epydoc -o html --html build/lib*/_smbc.so %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 1.0.15.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Jul 07 2017 Igor Gnatenko - 1.0.15.4-10 - Rebuild due to bug in RPM (RHBZ #1468476) From 717ad234e2b7f3d128c9a408e29cabb2f070b462 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 3 Aug 2017 07:00:25 +0000 Subject: [PATCH 33/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 84052e3..f44f5cf 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 11%{?dist} +Release: 12%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -75,6 +75,9 @@ epydoc -o html --html build/lib*/_smbc.so %changelog +* Thu Aug 03 2017 Fedora Release Engineering - 1.0.15.4-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.15.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 565cf6e90e42fc822953ae9aa2dc535ef4e6c728 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 10:54:15 +0000 Subject: [PATCH 34/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index f44f5cf..3eb8ab6 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 12%{?dist} +Release: 13%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -75,6 +75,9 @@ epydoc -o html --html build/lib*/_smbc.so %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.0.15.4-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Aug 03 2017 Fedora Release Engineering - 1.0.15.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 86b1c7a22d228265ee5c11cb1dab51bc2c36b749 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Mon, 19 Feb 2018 15:30:45 +0100 Subject: [PATCH 35/59] gcc is no longer in buildroot by default --- python-smbc.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 3eb8ab6..4eb6a3e 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,10 +6,14 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 13%{?dist} +Release: 14%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ + +# gcc is no longer in buildroot by default +BuildRequires: gcc + BuildRequires: python2-devel BuildRequires: python3-devel BuildRequires: libsmbclient-devel >= 3.2 @@ -75,6 +79,9 @@ epydoc -o html --html build/lib*/_smbc.so %changelog +* Mon Feb 19 2018 Zdenek Dohnal - 1.0.15.4-14 +- gcc is no longer in buildroot by default + * Fri Feb 09 2018 Fedora Release Engineering - 1.0.15.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 702bb367ac6179ce29cf2f17b449e0a84c54ee82 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Thu, 19 Apr 2018 15:37:14 +0200 Subject: [PATCH 36/59] make python2 subpackage optional --- python-smbc.spec | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/python-smbc.spec b/python-smbc.spec index 4eb6a3e..e636b63 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 14%{?dist} +Release: 15%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -14,16 +14,18 @@ License: GPLv2+ # gcc is no longer in buildroot by default BuildRequires: gcc +%if 0%{?rhel} <= 7 BuildRequires: python2-devel +%endif BuildRequires: python3-devel BuildRequires: libsmbclient-devel >= 3.2 -BuildRequires: epydoc %description This package provides Python bindings for the libsmbclient API from Samba, known as pysmbc. It was written for use with system-config-printer, but can be put to other uses as well. +%if 0%{?rhel} <= 7 %package -n python2-smbc Summary: Python2 bindings for libsmbclient API from Samba # defined in /usr/lib/rpm/macros.d/macros.python @@ -35,6 +37,7 @@ Summary: Python2 bindings for libsmbclient API from Samba This package provides Python 2 bindings for the libsmbclient API from Samba, known as pysmbc. It was written for use with system-config-printer, but can be put to other uses as well. +%endif %package -n python3-smbc Summary: Python3 bindings for libsmbclient API from Samba @@ -55,19 +58,27 @@ Documentation for python-smbc. %setup -n pysmbc-%{version} %build +%if 0%{?rhel} <= 7 %py2_build +%endif %py3_build -rm -rf html -epydoc -o html --html build/lib*/_smbc.so +export PYTHONPATH=build/lib.linux-x86_64-3.6 +%{_bindir}/pydoc3 -w smbc +%{_bindir}/mkdir html +%{_bindir}/mv smbc.html html %install +%if 0%{?rhel} <= 7 %py2_install +%endif %py3_install +%if 0%{?rhel} <= 7 %files -n python2-smbc %doc README NEWS %license COPYING %{python2_sitearch}/* +%endif %files -n python3-smbc %doc README NEWS @@ -79,6 +90,9 @@ epydoc -o html --html build/lib*/_smbc.so %changelog +* Thu Apr 19 2018 Zdenek Dohnal - 1.0.15.4-15 +- make python2 subpackage optional + * Mon Feb 19 2018 Zdenek Dohnal - 1.0.15.4-14 - gcc is no longer in buildroot by default From 5802f806eceb863c510b65a9830b80ffaf3086cd Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Fri, 20 Apr 2018 10:20:33 +0200 Subject: [PATCH 37/59] fix documentation --- python-smbc.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python-smbc.spec b/python-smbc.spec index e636b63..dd5fd27 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -62,16 +62,16 @@ Documentation for python-smbc. %py2_build %endif %py3_build -export PYTHONPATH=build/lib.linux-x86_64-3.6 -%{_bindir}/pydoc3 -w smbc -%{_bindir}/mkdir html -%{_bindir}/mv smbc.html html %install %if 0%{?rhel} <= 7 %py2_install %endif %py3_install +export PYTHONPATH=%{buildroot}%{python3_sitearch} +%{_bindir}/pydoc3 -w smbc +%{_bindir}/mkdir html +%{_bindir}/mv smbc.html html %if 0%{?rhel} <= 7 %files -n python2-smbc @@ -92,6 +92,7 @@ export PYTHONPATH=build/lib.linux-x86_64-3.6 %changelog * Thu Apr 19 2018 Zdenek Dohnal - 1.0.15.4-15 - make python2 subpackage optional +- fix documentation * Mon Feb 19 2018 Zdenek Dohnal - 1.0.15.4-14 - gcc is no longer in buildroot by default From f4b102c64047857ed6137c1f01fcce32849132d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 19 Jun 2018 11:19:41 +0200 Subject: [PATCH 38/59] Rebuilt for Python 3.7 --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index dd5fd27..33e6d5b 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 15%{?dist} +Release: 16%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -90,6 +90,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Tue Jun 19 2018 Miro Hrončok - 1.0.15.4-16 +- Rebuilt for Python 3.7 + * Thu Apr 19 2018 Zdenek Dohnal - 1.0.15.4-15 - make python2 subpackage optional - fix documentation From a082c0dc3ad05f298bee4e7ef42537e584ec4bb8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 02:07:11 +0000 Subject: [PATCH 39/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 33e6d5b..21236ba 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 16%{?dist} +Release: 17%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -90,6 +90,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 1.0.15.4-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Tue Jun 19 2018 Miro Hrončok - 1.0.15.4-16 - Rebuilt for Python 3.7 From c7df9ee680db11a2e72ce876e3c38de85b64078e Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Fri, 21 Sep 2018 14:52:25 +0200 Subject: [PATCH 40/59] 1630335 - python-smbc: Remove (sub)packages from Fedora 30+: python2-smbc --- python-smbc.spec | 35 ++++------------------------------- 1 file changed, 4 insertions(+), 31 deletions(-) diff --git a/python-smbc.spec b/python-smbc.spec index 21236ba..b9cd80c 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 17%{?dist} +Release: 18%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -14,9 +14,6 @@ License: GPLv2+ # gcc is no longer in buildroot by default BuildRequires: gcc -%if 0%{?rhel} <= 7 -BuildRequires: python2-devel -%endif BuildRequires: python3-devel BuildRequires: libsmbclient-devel >= 3.2 @@ -25,20 +22,6 @@ This package provides Python bindings for the libsmbclient API from Samba, known as pysmbc. It was written for use with system-config-printer, but can be put to other uses as well. -%if 0%{?rhel} <= 7 -%package -n python2-smbc -Summary: Python2 bindings for libsmbclient API from Samba -# defined in /usr/lib/rpm/macros.d/macros.python -# if python_provide() is defined, call python_provide(python2-smbc) -# which may eventually add Provides: ... (see the function definition) -%{?python_provide:%python_provide python2-smbc} - -%description -n python2-smbc -This package provides Python 2 bindings for the libsmbclient API -from Samba, known as pysmbc. It was written for use with -system-config-printer, but can be put to other uses as well. -%endif - %package -n python3-smbc Summary: Python3 bindings for libsmbclient API from Samba %{?python_provide:%python_provide python3-smbc} @@ -58,28 +41,15 @@ Documentation for python-smbc. %setup -n pysmbc-%{version} %build -%if 0%{?rhel} <= 7 -%py2_build -%endif %py3_build %install -%if 0%{?rhel} <= 7 -%py2_install -%endif %py3_install export PYTHONPATH=%{buildroot}%{python3_sitearch} %{_bindir}/pydoc3 -w smbc %{_bindir}/mkdir html %{_bindir}/mv smbc.html html -%if 0%{?rhel} <= 7 -%files -n python2-smbc -%doc README NEWS -%license COPYING -%{python2_sitearch}/* -%endif - %files -n python3-smbc %doc README NEWS %license COPYING @@ -90,6 +60,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Fri Sep 21 2018 Zdenek Dohnal - 1.0.15.4-18 +- 1630335 - python-smbc: Remove (sub)packages from Fedora 30+: python2-smbc + * Sat Jul 14 2018 Fedora Release Engineering - 1.0.15.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 89b219cc089f629b4084351d512a8193698de178 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 09:22:06 +0000 Subject: [PATCH 41/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index b9cd80c..21b826c 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 18%{?dist} +Release: 19%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -60,6 +60,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 1.0.15.4-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Sep 21 2018 Zdenek Dohnal - 1.0.15.4-18 - 1630335 - python-smbc: Remove (sub)packages from Fedora 30+: python2-smbc From c261db218da485ad6660a8271b773628bb285cf8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 16:20:14 +0000 Subject: [PATCH 42/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 21b826c..5a2b448 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 19%{?dist} +Release: 20%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -60,6 +60,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 1.0.15.4-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sat Feb 02 2019 Fedora Release Engineering - 1.0.15.4-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 68053ad6e18d6ec6d4095e0b0b4c71fe7b3a4fe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Aug 2019 10:57:12 +0200 Subject: [PATCH 43/59] Rebuilt for Python 3.8 --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 5a2b448..00ec359 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 20%{?dist} +Release: 21%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -60,6 +60,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Mon Aug 19 2019 Miro Hrončok - 1.0.15.4-21 +- Rebuilt for Python 3.8 + * Fri Jul 26 2019 Fedora Release Engineering - 1.0.15.4-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 27d8e83b588d60b2cd99c19cad92e753f58cd781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 3 Oct 2019 14:30:43 +0200 Subject: [PATCH 44/59] Rebuilt for Python 3.8.0rc1 (#1748018) --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 00ec359..0393b5d 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 21%{?dist} +Release: 22%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -60,6 +60,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Thu Oct 03 2019 Miro Hrončok - 1.0.15.4-22 +- Rebuilt for Python 3.8.0rc1 (#1748018) + * Mon Aug 19 2019 Miro Hrončok - 1.0.15.4-21 - Rebuilt for Python 3.8 From 91548034921ce32daea2d214970635408527f697 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 15:21:11 +0000 Subject: [PATCH 45/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 0393b5d..6682723 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 22%{?dist} +Release: 23%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -60,6 +60,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 1.0.15.4-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Oct 03 2019 Miro Hrončok - 1.0.15.4-22 - Rebuilt for Python 3.8.0rc1 (#1748018) From c14a4f7627bd01d471cf61b8aae17817890211f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 03:39:59 +0200 Subject: [PATCH 46/59] Rebuilt for Python 3.9 --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 6682723..cfa22c4 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 23%{?dist} +Release: 24%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -60,6 +60,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Tue May 26 2020 Miro Hrončok - 1.0.15.4-24 +- Rebuilt for Python 3.9 + * Thu Jan 30 2020 Fedora Release Engineering - 1.0.15.4-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From ce7dddc9e0aac5ea7f77e8f594f79049431ce03d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 03:55:53 +0000 Subject: [PATCH 47/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index cfa22c4..eee920c 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 24%{?dist} +Release: 25%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -60,6 +60,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 1.0.15.4-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue May 26 2020 Miro Hrončok - 1.0.15.4-24 - Rebuilt for Python 3.9 From 5b8131991ae5c27fd76d45e983b2bf238ccc379c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 07:28:25 +0000 Subject: [PATCH 48/59] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-smbc.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index eee920c..931b061 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 25%{?dist} +Release: 26%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -60,6 +60,10 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 1.0.15.4-26 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 1.0.15.4-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From c477c6ba316a2ff80bb52a5b5f9789c5930ac456 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Tue, 4 Aug 2020 06:53:54 +0200 Subject: [PATCH 49/59] use versioned python3 sitearch --- python-smbc.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-smbc.spec b/python-smbc.spec index 931b061..e739a54 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -1,12 +1,12 @@ %{?filter_setup: -%filter_provides_in %{python_sitearch}/.*\.so$ +%filter_provides_in %{python3_sitearch}/.*\.so$ %filter_setup } Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.15.4 -Release: 26%{?dist} +Release: 27%{?dist} URL: https://github.com/hamano/pysmbc Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -60,6 +60,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Tue Aug 04 2020 Zdenek Dohnal - 1.0.15.4-27 +- use versioned python3 sitearch + * Sat Aug 01 2020 Fedora Release Engineering - 1.0.15.4-26 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 603c006016b31be4fdf167baaf6ed1482beda9b2 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Tue, 27 Oct 2020 06:36:47 +0100 Subject: [PATCH 50/59] 1.0.23 --- .gitignore | 1 + python-smbc.spec | 11 +++++++---- sources | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index bd4f22d..d7c7f2f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /pysmbc-1.0.11.tar.bz2 /pysmbc-1.0.13.tar.bz2 /pysmbc-1.0.15.4.tar.bz2 +/pysmbc-1.0.23.tar.gz diff --git a/python-smbc.spec b/python-smbc.spec index e739a54..45ed2c8 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -5,10 +5,10 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc -Version: 1.0.15.4 -Release: 27%{?dist} +Version: 1.0.23 +Release: 1%{?dist} URL: https://github.com/hamano/pysmbc -Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 +Source: %{URL}/archive/%{version}/pysmbc-%{version}.tar.gz License: GPLv2+ # gcc is no longer in buildroot by default @@ -51,7 +51,7 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %{_bindir}/mv smbc.html html %files -n python3-smbc -%doc README NEWS +%doc README.md NEWS %license COPYING %{python3_sitearch}/* @@ -60,6 +60,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Tue Oct 27 2020 Zdenek Dohnal - 1.0.23-1 +- 1.0.23 + * Tue Aug 04 2020 Zdenek Dohnal - 1.0.15.4-27 - use versioned python3 sitearch diff --git a/sources b/sources index b28e437..50e88d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7e1d0b5438bf9c2660a60094d7eaabb3 pysmbc-1.0.15.4.tar.bz2 +SHA512 (pysmbc-1.0.23.tar.gz) = 91323044268cb91d40f693a833b12ab47c24edb0d027a6a5ce8936298b8dff4666be3ecd619b41449104ee3505766180355e9f92fd5cead0a8f50e86ef69e4fc From 1bd58818d5a96573fe15af8d59eb3034be98934f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 13:26:55 +0000 Subject: [PATCH 51/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 45ed2c8..c599754 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.23 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/hamano/pysmbc Source: %{URL}/archive/%{version}/pysmbc-%{version}.tar.gz License: GPLv2+ @@ -60,6 +60,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.0.23-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Oct 27 2020 Zdenek Dohnal - 1.0.23-1 - 1.0.23 From 237127e386857bebdcb372314f13caceeece802e Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Mon, 19 Apr 2021 13:18:32 +0200 Subject: [PATCH 52/59] BuildRequire setuptools explicitly See https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools --- python-smbc.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-smbc.spec b/python-smbc.spec index c599754..f719dea 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -15,6 +15,7 @@ License: GPLv2+ BuildRequires: gcc BuildRequires: python3-devel +BuildRequires: python3-setuptools BuildRequires: libsmbclient-devel >= 3.2 %description From 8923c5ad9f29bfb24e7a059034ef6914a8f1972e Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 21:01:59 +0200 Subject: [PATCH 53/59] Rebuilt for Python 3.10 --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index f719dea..c681d7a 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.23 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://github.com/hamano/pysmbc Source: %{URL}/archive/%{version}/pysmbc-%{version}.tar.gz License: GPLv2+ @@ -61,6 +61,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Fri Jun 04 2021 Python Maint - 1.0.23-3 +- Rebuilt for Python 3.10 + * Wed Jan 27 2021 Fedora Release Engineering - 1.0.23-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 03031529acbb9887098895aee3ee93fa276f1b8c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 09:32:40 +0000 Subject: [PATCH 54/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index c681d7a..3e98cc9 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.23 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://github.com/hamano/pysmbc Source: %{URL}/archive/%{version}/pysmbc-%{version}.tar.gz License: GPLv2+ @@ -61,6 +61,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 1.0.23-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 1.0.23-3 - Rebuilt for Python 3.10 From 39810a7dbfed91ceb0ade245066b4a224ef3148f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 15:34:24 +0000 Subject: [PATCH 55/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 3e98cc9..2acfa7f 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.23 -Release: 4%{?dist} +Release: 5%{?dist} URL: https://github.com/hamano/pysmbc Source: %{URL}/archive/%{version}/pysmbc-%{version}.tar.gz License: GPLv2+ @@ -61,6 +61,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 1.0.23-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 1.0.23-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From c74bb5fd25acb0f2357f674ea6b972b47499cd98 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 15:24:15 +0200 Subject: [PATCH 56/59] Rebuilt for Python 3.11 --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 2acfa7f..133c4ab 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.23 -Release: 5%{?dist} +Release: 6%{?dist} URL: https://github.com/hamano/pysmbc Source: %{URL}/archive/%{version}/pysmbc-%{version}.tar.gz License: GPLv2+ @@ -61,6 +61,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Mon Jun 13 2022 Python Maint - 1.0.23-6 +- Rebuilt for Python 3.11 + * Fri Jan 21 2022 Fedora Release Engineering - 1.0.23-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 7ad6a3ab787e81b59e511e980330cf6a4fc6e5c0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 22:23:55 +0000 Subject: [PATCH 57/59] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index 133c4ab..7007a2f 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.23 -Release: 6%{?dist} +Release: 7%{?dist} URL: https://github.com/hamano/pysmbc Source: %{URL}/archive/%{version}/pysmbc-%{version}.tar.gz License: GPLv2+ @@ -61,6 +61,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 1.0.23-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 1.0.23-6 - Rebuilt for Python 3.11 From c50e02ba24b0dbda789a5bd9fcb0ec446c99e4cc Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Tue, 10 Jan 2023 12:35:16 +0100 Subject: [PATCH 58/59] 1.0.25.1, fixes #2155419 --- .gitignore | 1 + python-smbc.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d7c7f2f..f1f57f3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /pysmbc-1.0.13.tar.bz2 /pysmbc-1.0.15.4.tar.bz2 /pysmbc-1.0.23.tar.gz +/pysmbc-1.0.25.1.tar.gz diff --git a/python-smbc.spec b/python-smbc.spec index 7007a2f..be127e4 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -5,8 +5,8 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc -Version: 1.0.23 -Release: 7%{?dist} +Version: 1.0.25.1 +Release: 1%{?dist} URL: https://github.com/hamano/pysmbc Source: %{URL}/archive/%{version}/pysmbc-%{version}.tar.gz License: GPLv2+ @@ -61,6 +61,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Tue Jan 10 2023 Zdenek Dohnal - 1.0.25.1-1 +- 1.0.25.1, fixes #2155419 + * Fri Jul 22 2022 Fedora Release Engineering - 1.0.23-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 50e88d7..f53ea56 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pysmbc-1.0.23.tar.gz) = 91323044268cb91d40f693a833b12ab47c24edb0d027a6a5ce8936298b8dff4666be3ecd619b41449104ee3505766180355e9f92fd5cead0a8f50e86ef69e4fc +SHA512 (pysmbc-1.0.25.1.tar.gz) = 777960fb15e16f9cb7fb03cbf9985cca1f734fc1e078bd570a28833c70013008f921b02c1755a6d92c902797cf2f7a7c0a05e866b2b7a380bdedcb1cd555efba From 5bfe36a44acf3585d6ea2b89e9917c30b939cf4e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 17:22:31 +0000 Subject: [PATCH 59/59] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-smbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-smbc.spec b/python-smbc.spec index be127e4..1d57526 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.25.1 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/hamano/pysmbc Source: %{URL}/archive/%{version}/pysmbc-%{version}.tar.gz License: GPLv2+ @@ -61,6 +61,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 1.0.25.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Tue Jan 10 2023 Zdenek Dohnal - 1.0.25.1-1 - 1.0.25.1, fixes #2155419