forked from pool/spec-cleaner
Accepting request 378528 from home:pjanouch:branches:openSUSE:Tools
Add build files for Debian, second try OBS-URL: https://build.opensuse.org/request/show/378528 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=72
This commit is contained in:
parent
06b70807bc
commit
9d1170b0b1
5
debian.changelog
Normal file
5
debian.changelog
Normal file
@ -0,0 +1,5 @@
|
||||
spec-cleaner (0.7.9-1) stable; urgency=low
|
||||
|
||||
* Initial Debian release
|
||||
|
||||
-- Přemysl Janouch <pjanouch@suse.de> Tue, 22 Mar 2016 18:00:00 +0100
|
1
debian.compat
Normal file
1
debian.compat
Normal file
@ -0,0 +1 @@
|
||||
9
|
14
debian.control
Normal file
14
debian.control
Normal file
@ -0,0 +1,14 @@
|
||||
Source: spec-cleaner
|
||||
Section: devel
|
||||
Priority: optional
|
||||
Standards-Version: 3.9.2
|
||||
Maintainer: Přemysl Janouch <pjanouch@suse.de>
|
||||
Build-Depends: debhelper (>= 9), python3-dev, python3-mock, python3-nose,
|
||||
python3-setuptools, dh-python
|
||||
|
||||
Package: spec-cleaner
|
||||
Architecture: all
|
||||
Depends: ${python3:Depends}, ${misc:Depends}
|
||||
Conflicts: obs-service-format-spec-file
|
||||
Description: RPM .spec files cleaner
|
||||
Command-line tool for cleaning various formatting errors in RPM .spec files.
|
3
debian.rules
Normal file
3
debian.rules
Normal file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/make -f
|
||||
%:
|
||||
dh $@ --with python3 --buildsystem=pybuild
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 23 10:27:36 UTC 2016 - pjanouch@suse.de
|
||||
|
||||
- Added build files for Debian
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 3 10:00:17 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
|
8
spec-cleaner.dsc
Normal file
8
spec-cleaner.dsc
Normal file
@ -0,0 +1,8 @@
|
||||
Format: 3.0 (quilt)
|
||||
Source: spec-cleaner
|
||||
Version: 0.7.9-1
|
||||
Binary: spec-cleaner
|
||||
Maintainer: Přemysl Janouch <pjanouch@suse.de>
|
||||
Architecture: all
|
||||
Build-Depends: debhelper (>= 9), python3-dev, python3-mock, python3-nose,
|
||||
python3-setuptools, dh-python
|
@ -27,6 +27,11 @@ License: BSD-3-Clause
|
||||
Group: Development/Tools/Other
|
||||
Url: http://github.com/openSUSE/spec-cleaner
|
||||
Source0: https://github.com/openSUSE/%{name}/archive/%{name}-%{version}.tar.gz
|
||||
Source1: debian.changelog
|
||||
Source2: debian.compat
|
||||
Source3: debian.control
|
||||
Source4: debian.rules
|
||||
Source5: %{name}.dsc
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-mock
|
||||
BuildRequires: python3-nose
|
||||
@ -56,7 +61,7 @@ user to use spec-cleaner rather than to stick to perl based format_spec_file.
|
||||
|
||||
# set libexec properly so it works on Fedora too
|
||||
sed -i \
|
||||
-e 's:/usr/lib/obs/:%{_libexecdir}/obs/:g' \
|
||||
-e 's:%{_prefix}/lib/obs/:%{_libexecdir}/obs/:g' \
|
||||
setup.py
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user