|
|
@ -1,8 +1,8 @@
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
## (rpmautospec version 0.6.3)
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
release_number = 9;
|
|
|
|
release_number = 6;
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
@ -20,17 +20,20 @@ Version: 3.3.3^%{date}git%{shortcommit}
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Python bindings to FreeDesktop.org Secret Service API
|
|
|
|
Summary: Python bindings to FreeDesktop.org Secret Service API
|
|
|
|
URL: https://github.com/mitya57/secretstorage
|
|
|
|
URL: https://github.com/mitya57/secretstorage
|
|
|
|
Source: https://github.com/mitya57/secretstorage/archive/%{commit}/secretstorage-%{shortcommit}.tar.gz
|
|
|
|
Source0: https://github.com/mitya57/secretstorage/archive/%{commit}/secretstorage-%{shortcommit}.tar.gz
|
|
|
|
License: BSD-3-Clause
|
|
|
|
License: BSD-3-Clause
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Use the latest libsecret from upstream to run the tests as
|
|
|
|
|
|
|
|
# built libsecret does not ship those Python files, TODO make it so
|
|
|
|
|
|
|
|
Source1: http://download.gnome.org/sources/libsecret/0.21/libsecret-0.21.4.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
|
|
|
|
|
|
|
# Test dependencies
|
|
|
|
# Test dependencies
|
|
|
|
%if %{with tests}
|
|
|
|
%if %{with tests}
|
|
|
|
BuildRequires: /usr/bin/dbus-launch
|
|
|
|
BuildRequires: /usr/bin/dbus-launch
|
|
|
|
BuildRequires: /usr/bin/xvfb-run
|
|
|
|
BuildRequires: /usr/bin/xvfb-run
|
|
|
|
BuildRequires: libsecret-mock-service
|
|
|
|
|
|
|
|
BuildRequires: python3-dbus
|
|
|
|
BuildRequires: python3-dbus
|
|
|
|
BuildRequires: python3-gobject-base
|
|
|
|
BuildRequires: python3-gobject-base
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -86,6 +89,7 @@ Documentation for SecretStorage.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n secretstorage-%{commit}
|
|
|
|
%autosetup -n secretstorage-%{commit}
|
|
|
|
|
|
|
|
tar xf %{SOURCE1}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%pyproject_wheel
|
|
|
|
%pyproject_wheel
|
|
|
@ -107,7 +111,7 @@ find build -name 'doctrees' -type d -print -exec rm -r '{}' +
|
|
|
|
%pyproject_check_import
|
|
|
|
%pyproject_check_import
|
|
|
|
%if %{with tests}
|
|
|
|
%if %{with tests}
|
|
|
|
export %{py3_test_envvars}
|
|
|
|
export %{py3_test_envvars}
|
|
|
|
for MOCK in /usr/share/libsecret/mock-service-{normal,only-plain,lock}.py; do
|
|
|
|
for MOCK in libsecret-0.21.4/libsecret/mock-service-{normal,only-plain,lock}.py; do
|
|
|
|
xvfb-run -a dbus-launch --exit-with-session %{python3} tests/run_tests.py ${MOCK}
|
|
|
|
xvfb-run -a dbus-launch --exit-with-session %{python3} tests/run_tests.py ${MOCK}
|
|
|
|
done
|
|
|
|
done
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -121,18 +125,9 @@ done
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Feb 10 2025 Eduard Basov <ebasov@msvsphere-os.ru> - 3.3.3^20240314git3e5097c-9
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.3^20240314git3e5097c-9
|
|
|
|
* Mon Feb 10 2025 Eduard Basov <ebasov@msvsphere-os.ru> - 3.3.3^20240314git3e5097c-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 08 2024 Miro Hrončok <miro@hroncok.cz> - 3.3.3^20240314git3e5097c-8
|
|
|
|
|
|
|
|
- Use Fedora-packaged libsecret-mock-service to run the tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 3.3.3^20240314git3e5097c-7
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 28 2024 Charalampos Stratakis <cstratak@redhat.com> - 3.3.3^20240314git3e5097c-6
|
|
|
|
* Thu Mar 28 2024 Charalampos Stratakis <cstratak@redhat.com> - 3.3.3^20240314git3e5097c-6
|
|
|
|
- Convert to SPDX license
|
|
|
|
- Convert to SPDX license
|
|
|
|