e30ec0
Name:           devscripts
8c22fa
Version:        2.15.10
6228b0
Release:        3%{?dist}
e30ec0
Summary:        Scripts for Debian Package maintainers
e30ec0
e30ec0
License:        GPLv2+
ec2db6
URL:            https://packages.debian.org/sid/%{name}
e30ec0
Source0:        http://ftp.debian.org/debian/pool/main/d/%{name}/%{name}_%{version}.tar.xz
e30ec0
# Fixes path to xsl-stylesheet manpages docbook.xsl
e30ec0
Patch0:         devscripts_docbook.patch
e30ec0
# Removes the debian-only --install-layout python-setuptools option
e30ec0
Patch1:         devscripts_install-layout.patch
e1d8d2
# Install some additional man pages
e1d8d2
Patch2:         devscripts_install-man.patch
6228b0
# Backport: uscan: fix regression in uscan when --destdir is set
6228b0
Patch3:         e13eaad1c972cd7540bb5a3ba1ca24bc12cfb5e9.patch
e30ec0
e30ec0
# rpmdevtools < 8.4 bundled some of the scripts provided by this package
e30ec0
Conflicts:      rpmdevtools < 8.4
e30ec0
e30ec0
BuildRequires:  perl
c7a191
BuildRequires:  perl(autodie)
c7a191
BuildRequires:  perl(base)
c7a191
BuildRequires:  perl(Carp)
c7a191
BuildRequires:  perl(constant)
c7a191
BuildRequires:  perl(Cwd)
c7a191
BuildRequires:  perl(Data::Dumper)
e30ec0
BuildRequires:  perl(DB_File)
c7a191
BuildRequires:  perl(Digest::MD5)
c7a191
BuildRequires:  perl(Dpkg::Changelog::Debian)
c7a191
BuildRequires:  perl(Dpkg::Changelog::Parse)
c7a191
BuildRequires:  perl(Dpkg::Compression)
c7a191
BuildRequires:  perl(Dpkg::Control)
c7a191
BuildRequires:  perl(Dpkg::Control::Hash)
c7a191
BuildRequires:  perl(Dpkg::Vendor)
c7a191
BuildRequires:  perl(Dpkg::Version)
c7a191
BuildRequires:  perl(Encode)
c7a191
BuildRequires:  perl(Encode::Locale)
c7a191
BuildRequires:  perl(Exporter)
c7a191
BuildRequires:  perl(Fcntl)
c7a191
BuildRequires:  perl(feature)
c7a191
BuildRequires:  perl(File::Basename)
c7a191
BuildRequires:  perl(File::Copy)
e30ec0
BuildRequires:  perl(File::DesktopEntry)
c7a191
BuildRequires:  perl(File::Find)
c7a191
BuildRequires:  perl(FileHandle)
c7a191
BuildRequires:  perl(File::Path)
c7a191
BuildRequires:  perl(File::Spec)
c7a191
BuildRequires:  perl(File::Temp)
c7a191
BuildRequires:  perl(filetest)
c7a191
BuildRequires:  perl(Getopt::Long)
c7a191
BuildRequires:  perl(IO::Dir)
c7a191
BuildRequires:  perl(IO::File)
c7a191
BuildRequires:  perl(IO::Handle)
657eda
BuildRequires:  perl(IPC::Run)
c7a191
BuildRequires:  perl(List::Util)
c7a191
BuildRequires:  perl(LWP::UserAgent)
c7a191
BuildRequires:  perl(Net::SMTP)
c7a191
BuildRequires:  perl(open)
c7a191
BuildRequires:  perl(Parse::DebControl)
e30ec0
BuildRequires:  perl(Pod::Checker)
c7a191
BuildRequires:  perl(Pod::Text)
c7a191
BuildRequires:  perl(Pod::Usage)
c7a191
BuildRequires:  perl(POSIX)
c7a191
BuildRequires:  perl(Scalar::Util)
c7a191
BuildRequires:  perl(strict)
c7a191
BuildRequires:  perl(Symbol)
c7a191
BuildRequires:  perl(Text::ParseWords)
c7a191
BuildRequires:  perl(Text::Wrap)
c7a191
BuildRequires:  perl(URI) >= 1.37
c7a191
BuildRequires:  perl(URI::QueryParam)
c7a191
BuildRequires:  perl(utf8)
c7a191
BuildRequires:  perl(vars)
c7a191
BuildRequires:  perl(warnings)
c7a191
e30ec0
BuildRequires:  docbook-style-xsl
e30ec0
BuildRequires:  libxslt
e30ec0
BuildRequires:  po4a
e30ec0
BuildRequires:  python3-devel
e30ec0
BuildRequires:  python3-setuptools
c7a191
BuildRequires:  /usr/bin/dpkg-buildflags
c7a191
BuildRequires:  /usr/bin/dpkg-vendor
c7a191
BuildRequires:  /usr/bin/dpkg-parsechangelog
c7a191
BuildRequires:  pkgconfig(bash-completion)
e30ec0
288e74
Requires: 	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
e30ec0
Requires:       dpkg-dev
d14fde
Requires:       sensible-utils
622876
# man for manpage-alert
622876
Requires:       %{_bindir}/man
e30ec0
f9c5d3
Requires: %{name}-minimal
e1d8d2
e1d8d2
e30ec0
%description
e30ec0
Scripts to make the life of a Debian Package maintainer easier.
e30ec0
e1d8d2
f9c5d3
%package minimal
f9c5d3
Summary:        Minimal subset of devscripts
e1d8d2
f9c5d3
%description minimal
830799
This package contains the following subset of the devscripts scripts:
830799
- licensecheck
830799
- checkbashisms
e1d8d2
e1d8d2
e30ec0
%prep
e30ec0
%setup -q
e30ec0
%patch0 -p1
e30ec0
%patch1 -p1
e1d8d2
%patch2 -p1
6228b0
%patch3 -p1
aca3e8
e30ec0
e30ec0
%build
c7a191
make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
e30ec0
e30ec0
e30ec0
%install
c7a191
%make_install
e30ec0
e30ec0
# Install docs through %%doc
e30ec0
rm -rf %{buildroot}%{_datadir}/doc
e30ec0
250beb
# archpath requires tla (gnu-arch) or baz (bazaar), both of which are obsolete
250beb
# and the respective Fedora packages dead. See #1128503
c7a191
rm %{buildroot}%{_bindir}/archpath %{buildroot}%{_mandir}/man1/archpath*
250beb
a87ada
# whodepends requires configured deb repositories
c7a191
rm %{buildroot}%{_bindir}/whodepends %{buildroot}%{_mandir}/man1/whodepends*
a87ada
0f3df0
# Create symlinks like the debian package does
0f3df0
ln -s %{_bindir}/cvs-debi      %{buildroot}%{_bindir}/cvs-debc
0f3df0
ln -s %{_bindir}/debchange     %{buildroot}%{_bindir}/dch
0f3df0
ln -s %{_bindir}/debi          %{buildroot}%{_bindir}/debc
0f3df0
ln -s %{_bindir}/pts-subscribe %{buildroot}%{_bindir}/pts-unsubscribe
0f3df0
ln -s %{_mandir}/man1/debchange.1.gz     %{buildroot}%{_mandir}/man1/dch.1.gz
0f3df0
ln -s %{_mandir}/man1/pts-subscribe.1.gz %{buildroot}%{_mandir}/man1/pts-unsubscribe.1.gz
0f3df0
aca306
# This already is in bash-completion
aca306
rm -f %{buildroot}%{_datadir}/bash-completion/completions/bts
aca306
e30ec0
e30ec0
%files
a87ada
%doc README
a87ada
%license COPYING
c7a191
%{_datadir}/bash-completion
e30ec0
%{_bindir}/*
e30ec0
%{python3_sitelib}/%{name}
e30ec0
%{python3_sitelib}/%{name}*.egg-info/
e30ec0
%{_datadir}/%{name}/
e30ec0
%{_mandir}/man1/*
c7a191
%{perl_vendorlib}/Devscripts
f9c5d3
%exclude %{_bindir}/checkbashisms
e1d8d2
%exclude %{_bindir}/licensecheck
f9c5d3
%exclude %{_mandir}/man1/checkbashisms.1*
e1d8d2
%exclude %{_mandir}/man1/licensecheck.1*
e30ec0
f9c5d3
%files minimal
a87ada
%license COPYING
f9c5d3
%{_bindir}/checkbashisms
e1d8d2
%{_bindir}/licensecheck
f9c5d3
%{_mandir}/man1/checkbashisms.1*
e1d8d2
%{_mandir}/man1/licensecheck.1*
e30ec0
f9c5d3
e30ec0
%changelog
6228b0
* Sat Jul 16 2016 Sandro Mani <manisandro@gmail.com> - 2.15.10-3
6228b0
- Backport: uscan: fix regression in uscan when --destdir is set (#1357206)
6228b0
aca306
* Sun Jan 03 2016 Sandro Mani <manisandro@gmail.com> - 2.15.10-2
aca306
- Exclude %%{_datadir}/bash-completion/completions/bts which already is in bash-completion
aca306
8c22fa
* Thu Dec 31 2015 Sandro Mani <manisandro@gmail.com> - 2.15.10-1
8c22fa
- Update to 2.15.10
8c22fa
7d80c9
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.15.9-3
7d80c9
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
7d80c9
657eda
* Fri Oct 09 2015 Sandro Mani <manisandro@gmail.com> - 2.15.9-2
657eda
- Add devscripts_ipc-run.patch to remove dpkg-perl dependency on licensecheck
657eda
5e16e7
* Tue Oct 06 2015 Sandro Mani <manisandro@gmail.com> - 2.15.9-1
5e16e7
- Update to 2.15.9
5e16e7
30b4a2
* Mon Aug 03 2015 Sandro Mani <manisandro@gmail.com> - 2.15.8-1
30b4a2
- Update to 2.15.8
30b4a2
aca3e8
* Sat Aug 01 2015 Sandro Mani <manisandro@gmail.com> - 2.15.7-1
aca3e8
- Update to 2.15.7
aca3e8
81b2b4
* Sat Aug 01 2015 Sandro Mani <manisandro@gmail.com> - 2.15.6-2
81b2b4
- Fix licensecheck incorrectly detecting mime strings such as text/x-c++ as a binary file (#1249227)
81b2b4
677f50
* Wed Jul 29 2015 Sandro Mani <manisandro@gmail.com> - 2.15.6-1
677f50
- Update to 2.15.6
677f50
93dc30
* Thu Jul 09 2015 Sandro Mani <manisandro@gmail.com> - 2.15.5-6
93dc30
- Make licensecheck print a warning when scanned file is not a text file (#1240914)
93dc30
0f3df0
* Fri Jun 26 2015 Sandro Mani <manisandro@gmail.com> - 2.15.5-5
0f3df0
- Create symlinks like the debian package does (#1236122)
0f3df0
288e74
* Wed Jun 17 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.15.5-4
288e74
- Add: "Requires: perl(:MODULE_COMPAT_...)"
288e74
c7a191
* Wed Jun 17 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.15.5-3
c7a191
- Fix FTBFS.
c7a191
- Eliminate libvfork, PKGLIBDIR (Abandoned upstream).
c7a191
- Rework perl-BRs.
c7a191
- Reflect upstream installing perl-modules into perl_vendordir.
c7a191
- Reflect upstream installing bash-completion into /usr/share/bash-completion.
c7a191
- BR: /usr/bin/dpkg-buildflags, /usr/bin/dpkg-vendor, /usr/bin/dpkg-parsechangelog.
c7a191
- BR: pkgconfig(bash-completion).
c7a191
- Remove archpath, whodepends's man-pages.
c7a191
- Rebase patches.
c7a191
2da11e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.15.5-2
2da11e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2da11e
7cbea6
* Fri Jun 12 2015 Sandro Mani <manisandro@gmail.com> - 2.15.5-1
7cbea6
- Update to 2.15.5
7cbea6
5d392e
* Tue Apr 28 2015 Sandro Mani <manisandro@gmail.com> - 2.15.4-1
5d392e
- Update to 2.15.4
5d392e
93ff25
* Mon Apr 13 2015 Sandro Mani <manisandro@gmail.com> - 2.15.3-1
93ff25
- Update to 2.15.3
93ff25
a87ada
* Fri Apr 03 2015 Sandro Mani <manisandro@gmail.com> - 2.15.2-1
a87ada
- Update to 2.15.2
a87ada
- Don't install whodepends (#1185511)
a87ada
7876b8
* Fri Jan 02 2015 Sandro Mani <manisandro@gmail.com> - 2.15.1-1
a87ada
- Update to 2.15.1
7876b8
b2c34f
* Thu Dec 04 2014 Sandro Mani <manisandro@gmail.com> - 2.14.11-1
b2c34f
- Update to 2.14.11
b2c34f
5aa85b
* Wed Oct 15 2014 Sandro Mani <manisandro@gmail.com> - 2.14.10-1
5aa85b
- Update to 2.14.10
5aa85b
95dbcc
* Mon Oct 13 2014 Sandro Mani <manisandro@gmail.com> - 2.14.9-1
95dbcc
- Update to 2.14.9
95dbcc
a8da58
* Sat Oct 11 2014 Sandro Mani <manisandro@gmail.com> - 2.14.8-1
a8da58
- Update to 2.14.8, fixes CVE-2014-1833 (#1059947)
a8da58
d77b0a
* Fri Sep 26 2014 Sandro Mani <manisandro@gmail.com> - 2.14.7-1
d77b0a
- Update to 2.14.7
d77b0a
2dc22a
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14.6-3
2dc22a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2dc22a
250beb
* Mon Aug 11 2014 Sandro Mani <manisandro@gmail.com> - 2.14.6-2
250beb
- Remove /usr/bin/archpath from package (#1128503)
250beb
3cfbec
* Wed Aug 06 2014 Sandro Mani <manisandro@gmail.com> - 2.14.6-1
3cfbec
- Update to 2.14.6
3cfbec
09b406
* Wed Jun 11 2014 Sandro Mani <manisandro@gmail.com> - 2.14.5-1
09b406
- Update to 2.14.5
09b406
63c261
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14.4-2
63c261
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
63c261
ed0b97
* Mon Jun 02 2014 Sandro Mani <manisandro@gmail.com> - 2.14.4-1
ed0b97
- Update to 2.14.4
ed0b97
ec2db6
* Thu May 29 2014 Sandro Mani <manisandro@gmail.com> - 2.14.3-1
ec2db6
- Update to 2.14.3
ec2db6
58cc33
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 2.14.2-2
58cc33
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
58cc33
9f294b
* Mon May 12 2014 Sandro Mani <manisandro@gmail.com> - 2.14.2-1
9f294b
- Update to 2.14.2
9f294b
d14fde
* Thu Feb 27 2014 Sandro Mani <manisandro@gmail.com> - 2.14.1-2
d14fde
- Require sensible-utils (rhbz#1067869)
d14fde
f1dadb
* Sun Jan 26 2014 Sandro Mani <manisandro@gmail.com> - 2.14.1-1
9070aa
- Update to 2.14.1
f1dadb
ce3c0e
* Wed Dec 25 2013 Sandro Mani <manisandro@gmail.com> - 2.13.9-1
ce3c0e
- Update to 2.13.9
ce3c0e
- Fixes CVE-2013-7085 (rhbz#1040949)
ce3c0e
b3721b
* Wed Dec 11 2013 Sandro Mani <manisandro@gmail.com> - 2.13.8-1
b3721b
- Update to 2.13.8
b3721b
227633
* Wed Dec 11 2013 Sandro Mani <manisandro@gmail.com> - 2.13.5-2
227633
- Add upstream patch to fix arbitrary command execution when using
227633
  USCAN_EXCLUSION (rhbz#1040266, debian#731849)
227633
eca4b1
* Thu Dec 05 2013 Sandro Mani <manisandro@gmail.com> - 2.13.5-1
eca4b1
- Update to 2.13.5
eca4b1
268bd2
* Sun Oct 20 2013 Sandro Mani <manisandro@gmail.com> - 2.13.4-5
268bd2
- Honour RPM_LD_FLAGS
268bd2
17dd68
* Sat Oct 19 2013 Sandro Mani <manisandro@gmail.com> - 2.13.4-4
830799
- Honour optflags
830799
- Improve -minimal subpackage description
830799
e1d8d2
* Thu Oct 17 2013 Sandro Mani <manisandro@gmail.com> - 2.13.4-3
f9c5d3
- Split scripts used by rpm developers into a subpackage
e1d8d2
- Install some additional manpages
e1d8d2
622876
* Mon Oct  7 2013 Ville Skyttä <ville.skytta@iki.fi> - 2.13.4-2
622876
- Add dependency on man for manpage-alert.
622876
e30ec0
* Mon Oct 07 2013 Sandro Mani <manisandro@gmail.com> - 2.13.4-1
e30ec0
- Update to 2.13.4
e30ec0
- Drop devscripts_item.patch
e30ec0
- Drop devscripts_spurious-pod.patch
e30ec0
e30ec0
* Sat Sep 21 2013 Sandro Mani <manisandro@gmail.com> - 2.13.3-5
e30ec0
- Fix typo builroot -> buildroot
e30ec0
- Require perl modules instead of the providing packages
e30ec0
e30ec0
* Fri Sep 20 2013 Sandro Mani <manisandro@gmail.com> - 2.13.3-4
e30ec0
- Conflict with rpmdevtools < 8.4
e30ec0
e30ec0
* Fri Sep 20 2013 Sandro Mani <manisandro@gmail.com> - 2.13.3-3
e30ec0
- Revert: Require rpmdevtools and drop scripts which are in rpmdevtools
e30ec0
- Add conflicts from rpmdevtools < 8.3-6
e30ec0
e30ec0
* Thu Sep 19 2013 Sandro Mani <manisandro@gmail.com> - 2.13.3-2
e30ec0
- Require rpmdevtools and drop scripts which are in rpmdevtools
e30ec0
e30ec0
* Thu Sep 19 2013 Sandro Mani <manisandro@gmail.com> - 2.13.3-1
e30ec0
- Initial package