Compare commits
10 Commits
95a4f1dde9
...
45fdd313fa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45fdd313fa | ||
|
|
b1cdff293f | ||
|
|
ed2f6a6840 | ||
|
|
42d3fe5981 | ||
|
|
3a102e882b | ||
|
|
98371f91e5 | ||
|
|
1c0eeb052e | ||
|
|
efec4728d7 | ||
|
|
b8f90a9e36 | ||
|
|
eca814858f |
BIN
0.177.0.tar.gz
Normal file
BIN
0.177.0.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
53
osc.spec
53
osc.spec
@ -1,19 +1,16 @@
|
||||
Name: osc
|
||||
Version: 0.163.0
|
||||
Release: 237.1.2
|
||||
Version: 0.177.0
|
||||
Release: 1
|
||||
Summary: The Command Line Interface to work with an Open Build Service
|
||||
License: GPLv2+
|
||||
Url: https://github.com/openSUSE/osc
|
||||
Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Source: https://github.com/openSUSE/osc/archive/refs/tags/%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel python2-rpm python2-urlgrabber
|
||||
Requires: python2-rpm m2crypto python2-lxml python2-urlgrabber
|
||||
Requires: m2crypto
|
||||
Requires: python2-lxml
|
||||
Requires: python2-urlgrabber
|
||||
|
||||
Conflicts: obs-build < 20180816
|
||||
BuildRequires: python3-devel python3-distro python3-rpm python3-progressbar2 python3-setuptools diffstat
|
||||
Requires: python3-distro python3-rpm python3-m2crypto python3-lxml python3-progressbar2 vim
|
||||
Recommends: obs-build
|
||||
Recommends: obs-service-source_validator
|
||||
Conflicts: obs-build < 20191205
|
||||
|
||||
%description
|
||||
The osc is an opensuse-commander with svn like handling.
|
||||
@ -28,27 +25,29 @@ Requires: %{name} = %{version}-%{release}
|
||||
This package contains some man help files for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%autosetup -p1 -n osc-%{version}
|
||||
|
||||
iconv -f ISO8859-1 -t UTF-8 -o TODO.new TODO
|
||||
mv TODO.new TODO
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
ln -s osc-wrapper.py %{buildroot}%{_bindir}/osc
|
||||
|
||||
install -d %{buildroot}%{_localstatedir}/lib/osc-plugins
|
||||
install -d %{buildroot}%{_prefix}/lib/obs/service
|
||||
install -d %{buildroot}%{_prefix}/lib/osc-plugins
|
||||
install -d %{buildroot}%{_rpmconfigdir}/macros.d/
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/osc-plugins
|
||||
mkdir -p %{buildroot}%{_prefix}/lib/obs/service
|
||||
mkdir -p %{buildroot}%{_prefix}/lib/osc-plugins
|
||||
mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d/
|
||||
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
|
||||
|
||||
install -Dm644 dist/complete.csh %{buildroot}%{_sysconfdir}/profile.d/osc.csh
|
||||
install -Dm644 dist/complete.sh %{buildroot}%{_datadir}/bash-completion/completions/osc
|
||||
install -Dm755 dist/osc.complete %{buildroot}%{_datadir}/osc/complete
|
||||
install -Dm0644 osc.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/osc.fish
|
||||
|
||||
cat > %{buildroot}%{_rpmconfigdir}/macros.d/macros.osc <<EOF
|
||||
%%obs_srcsvc_dir %{_prefix}/lib/obs/service
|
||||
@ -59,9 +58,10 @@ EOF
|
||||
%doc AUTHORS README TODO NEWS
|
||||
%license COPYING
|
||||
%{_bindir}/osc*
|
||||
%{python2_sitelib}/*
|
||||
%{python3_sitelib}/osc*
|
||||
%{_sysconfdir}/profile.d/osc.csh
|
||||
%{_datadir}/bash-completion/completions/osc
|
||||
%{_datadir}/fish/vendor_completions.d/osc.fish
|
||||
%dir %{_localstatedir}/lib/osc-plugins
|
||||
%{_datadir}/osc
|
||||
%{_rpmconfigdir}/macros.d/macros.osc
|
||||
@ -73,5 +73,20 @@ EOF
|
||||
%{_mandir}/man1/osc.*
|
||||
|
||||
%changelog
|
||||
* Tue May 10 2022 Wei, Qiang <qiang.wei@suse.com> - 0.177.0-1
|
||||
- Upgrade to 0.177.0
|
||||
|
||||
* Wed Apr 27 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 0.175.0-1
|
||||
- Upgrade to 0.175.0
|
||||
|
||||
* Thu Sep 17 2020 maminjie <maminjie1@huawei.com> - 0.169.1-3
|
||||
- Add vim to Requires list
|
||||
|
||||
* Fri Sep 11 2020 maminjie <maminjie1@huawei.com> - 0.169.1-2
|
||||
- Rebuilt for Python 3.8.5
|
||||
|
||||
* Wed Aug 05 2020 yaokai <yaokai13@huawei.com> - 0.169.1-1
|
||||
- Upgrade to 0.169.1 to fix CVE-2019-3681
|
||||
|
||||
* Wed Nov 27 2019 catastrowings <jianghuhao1994@163.com> - 0.163.0-237.1.2
|
||||
- Update to 0.163.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user