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