cvsdist 68a24ec
# set to zero to avoid running test suite
81df6ad
826f2c3
%bcond_without kwallet
826f2c3
%bcond_without python2
826f2c3
%bcond_with python3
826f2c3
f71da83
%ifarch %{power64} s390x
3ccba7d
%global with_java 0
a52dae1
%global make_check 0
3ccba7d
%else
3ccba7d
%global with_java 1
2e3dd3d
%global make_check 1
3ccba7d
%endif
0006eb7
0006eb7
%if %{with python2} == %{with python3}
0006eb7
%error Pick exactly one Python version
0006eb7
%endif
cvsdist e8ab74e
1339ab2
# set JDK path to build javahl; default for JPackage
31fb30f
%define jdk_path /usr/lib/jvm/java
1339ab2
98ddd79
%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}}
98ddd79
cvsdist 82a5bfa
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
cvsdist 82a5bfa
0006eb7
%if %{with python2}
0006eb7
%global svn_python_sitearch %{python2_sitearch}
193e2e3
%global svn_python %{__python2}
0006eb7
%else
0006eb7
%global svn_python_sitearch %{python3_sitearch}
193e2e3
%global svn_python %{__python3}
0006eb7
%endif
061c4e0
36ee946
Summary: A Modern Concurrent Version Control System
cvsdist e8ab74e
Name: subversion
2e3dd3d
Version: 1.10.0
2e3dd3d
Release: 1%{?dist}
41a6b20
License: ASL 2.0
cvsdist e8ab74e
Group: Development/Tools
cf4f0b2
URL: https://subversion.apache.org/
f9f97b2
cf4f0b2
Source0: https://www.apache.org/dist/subversion/subversion-%{version}.tar.bz2
cvsdist 27abd71
Source1: subversion.conf
cvsdist 27abd71
Source3: filter-requires.sh
357017e
Source4: http://www.xsteve.at/prg/emacs/psvn.el
36ee946
Source5: psvn-init.el
72a39f6
Source6: svnserve.service
72a39f6
Source7: svnserve.tmpfiles
7dacfa7
Source8: svnserve.sysconf
2e3dd3d
Patch1: subversion-1.10.0-rpath.patch
2e3dd3d
Patch2: subversion-1.10.0-pie.patch
b3a52ef
Patch4: subversion-1.8.0-rubybind.patch
f9f97b2
Patch5: subversion-1.8.5-swigplWall.patch
193e2e3
Patch6: subversion-1.9.7-pybinary.patch
f9f97b2
0006eb7
BuildRequires: autoconf, libtool, texinfo, which
f3c95b6
BuildRequires: libdb-devel >= 4.1.25, swig >= 1.3.24, gettext
2f6bdb0
BuildRequires: apr-devel >= 1.3.0, apr-util-devel >= 1.3.0
0624185
BuildRequires: libserf-devel >= 1.3.0, cyrus-sasl-devel
72a39f6
BuildRequires: sqlite-devel >= 3.4.0, file-devel, systemd-units
2e3dd3d
BuildRequires: utf8proc-devel, lz4-devel
7bad70a
# Any apr-util crypto backend needed
7bad70a
BuildRequires: apr-util-openssl
081fa7e
# For systemctl scriptlets
081fa7e
Requires(post): systemd
081fa7e
Requires(preun): systemd
081fa7e
Requires(postun): systemd
452f21b
Provides: svn = %{version}-%{release}
a960fbc
Requires: subversion-libs%{?_isa} = %{version}-%{release}
cvsdist e8ab74e
cvsdist 27abd71
%define __perl_requires %{SOURCE3}
cvsdist 8ec9651
cvsdist 27abd71
# Put Python bindings in site-packages
0006eb7
%define swigdirs swig_pydir=%{svn_python_sitearch}/libsvn swig_pydir_extra=%{svn_python_sitearch}/svn
cvsdist e8ab74e
cvsdist 27abd71
%description
cvsdist 27abd71
Subversion is a concurrent version control system which enables one
cvsdist 27abd71
or more users to collaborate in developing and maintaining a
cvsdist 27abd71
hierarchy of files and directories while keeping a history of all
cvsdist 27abd71
changes.  Subversion only stores the differences between versions,
cvsdist 27abd71
instead of every complete file.  Subversion is intended to be a
cvsdist 27abd71
compelling replacement for CVS.
cvsdist e8ab74e
9f91546
%package libs
9f91546
Group: Development/Tools
9f91546
Summary: Libraries for Subversion Version Control system
9f91546
# APR 1.3.x interfaces are required
c4444b4
Conflicts: apr%{?_isa} < 1.3.0
0624185
# Enforced at run-time by ra_serf
0624185
Conflicts: libserf%{?_isa} < 1.3.0
9f91546
9f91546
%description libs
9f91546
The subversion-libs package includes the essential shared libraries
9f91546
used by the Subversion version control tools.
9f91546
0006eb7
%if %{with python2}
8fefc4d
%package -n python2-subversion
8fefc4d
%{?python_provide:%python_provide python2-subversion}
8fefc4d
# Remove before F30
8fefc4d
Provides: %{name}-python = %{version}-%{release}
8fefc4d
Provides: %{name}-python%{?_isa} = %{version}-%{release}
8fefc4d
Obsoletes: %{name}-python < %{version}-%{release}
0006eb7
BuildRequires: python2, python2-devel
e9cc4c8
Group: Development/Libraries
e9cc4c8
Summary: Python bindings for Subversion Version Control system
e9cc4c8
8fefc4d
%description -n python2-subversion
0006eb7
The python2-subversion package includes the Python 2.x bindings to the
0006eb7
Subversion libraries.
0006eb7
%else
0006eb7
0006eb7
%package -n python3-subversion
0006eb7
%{?python_provide:%python_provide python3-subversion}
0006eb7
Group: Development/Libraries
0006eb7
Summary: Python bindings for Subversion Version Control system
0006eb7
BuildRequires: python3, python3-devel
0006eb7
0006eb7
%description -n python3-subversion
0006eb7
The python3-subversion package includes the Python 3.x bindings to the
83638c4
Subversion libraries.
0006eb7
%endif
e9cc4c8
cvsdist e8ab74e
%package devel
cvsdist e8ab74e
Group: Development/Tools
c06fbf3
Summary: Development package for the Subversion libraries
de42b54
Requires: subversion%{?_isa} = %{version}-%{release}
de42b54
Requires: apr-devel%{?_isa}, apr-util-devel%{?_isa}
cvsdist e8ab74e
cvsdist e8ab74e
%description devel
9f91546
The subversion-devel package includes the libraries and include files
9f91546
for developers interacting with the subversion package.
cvsdist 27abd71
a1b02af
%package gnome
a1b02af
Group: Development/Tools
a1b02af
Summary: GNOME Keyring support for Subversion
de42b54
Requires: subversion%{?_isa} = %{version}-%{release}
2e3dd3d
BuildRequires: libgnome-keyring-devel, dbus-devel, libsecret-devel
a1b02af
a1b02af
%description gnome
a1b02af
The subversion-gnome package adds support for storing Subversion
a1b02af
passwords in the GNOME Keyring.
a1b02af
0006eb7
%if %{with kwallet}
a1b02af
%package kde
a1b02af
Group: Development/Tools
a1b02af
Summary: KDE Wallet support for Subversion
de42b54
Requires: subversion%{?_isa} = %{version}-%{release}
6264eab
BuildRequires: kdelibs-devel >= 4.0.0
a1b02af
a1b02af
%description kde
a1b02af
The subversion-kde package adds support for storing Subversion
a1b02af
passwords in the KDE Wallet.
6264eab
%endif
a1b02af
cvsdist 27abd71
%package -n mod_dav_svn
cvsdist 27abd71
Group: System Environment/Daemons
36ee946
Summary: Apache httpd module for Subversion server
98ddd79
Requires: httpd-mmn = %{_httpd_mmn}
a960fbc
Requires: subversion-libs%{?_isa} = %{version}-%{release}
cvsdist 6887387
BuildRequires: httpd-devel >= 2.0.45
cvsdist 27abd71
cvsdist 27abd71
%description -n mod_dav_svn
cvsdist 27abd71
The mod_dav_svn package allows access to a Subversion repository
cvsdist 27abd71
using HTTP, via the Apache httpd server.
cvsdist e8ab74e
cvsdist 6887387
%package perl
cvsdist 6887387
Group: Development/Libraries
cvsdist 6887387
Summary: Perl bindings to the Subversion libraries
5f5fc2f
BuildRequires: perl-devel >= 2:5.8.0, perl-generators, perl(ExtUtils::MakeMaker)
3a41c57
BuildRequires: perl(Test::More), perl(ExtUtils::Embed)
cvsdist 82a5bfa
Requires: %(eval `perl -V:version`; echo "perl(:MODULE_COMPAT_$version)")
de42b54
Requires: subversion%{?_isa} = %{version}-%{release}
cvsdist 6887387
cvsdist 6887387
%description perl
cvsdist 6887387
This package includes the Perl bindings to the Subversion libraries.
cvsdist 6887387
5be0495
%if %{with_java}
1339ab2
%package javahl
1339ab2
Group: Development/Libraries
1339ab2
Summary: JNI bindings to the Subversion libraries
fa677f6
Requires: subversion = %{version}-%{release}
e84be42
BuildRequires: java-devel-openjdk
2df1e85
# JAR repacking requires both zip and unzip in the buildroot
2df1e85
BuildRequires: zip, unzip
cdf5e0d
# For the tests
cdf5e0d
BuildRequires: junit
3ccba7d
BuildArch: noarch
1339ab2
1339ab2
%description javahl
1339ab2
This package includes the JNI bindings to the Subversion libraries.
5be0495
%endif
1339ab2
9ebf152
%package ruby
9ebf152
Group: Development/Libraries
9ebf152
Summary: Ruby bindings to the Subversion libraries
1c7f325
BuildRequires: ruby-devel >= 1.9.1, ruby >= 1.9.1
962179d
BuildRequires: rubygem(test-unit)
de42b54
Requires: subversion%{?_isa} = %{version}-%{release}
de42b54
Conflicts: ruby-libs%{?_isa} < 1.8.2
9ebf152
9ebf152
%description ruby
9ebf152
This package includes the Ruby bindings to the Subversion libraries.
9ebf152
856c4a9
%package tools
856c4a9
Group: Development/Tools
856c4a9
Summary: Supplementary tools for Subversion
856c4a9
Requires: subversion%{?_isa} = %{version}-%{release}
856c4a9
856c4a9
%description tools
856c4a9
This package includes supplementary tools for use with Subversion.
856c4a9
cvsdist e8ab74e
%prep
cvsdist c376579
%setup -q
41a6b20
%patch1 -p1 -b .rpath
41a6b20
%patch2 -p1 -b .pie
b3a52ef
%patch4 -p1 -b .rubybind
f9f97b2
%patch5 -p1 -b .swigplWall
193e2e3
%patch6 -p1 -b .pybinary
915a2c6
cvsdist e8ab74e
%build
fa6854e
# Regenerate the buildsystem, so that:
fa6854e
#  1) patches applied to configure.in take effect
fa6854e
#  2) the swig bindings are regenerated using the system swig
6985711
# (2) is not ideal since typically upstream test with a different
6985711
# swig version
bc0273b
# This PATH order makes the fugly test for libtoolize work...
9c77a54
mv build-outputs.mk build-outputs.mk.old
193e2e3
export PYTHON=%{svn_python}
193e2e3
061c4e0
PATH=/usr/bin:$PATH ./autogen.sh --release
cvsdist e8ab74e
cvsdist 4c54eef
# fix shebang lines, #111498
cvsdist 4c54eef
perl -pi -e 's|/usr/bin/env perl -w|/usr/bin/perl -w|' tools/hook-scripts/*.pl.in
5ac98aa
# fix python executable
5ac98aa
perl -pi -e 's|/usr/bin/env python.*|%{svn_python}|' subversion/tests/cmdline/svneditor.py
cvsdist 27abd71
9ebf152
# override weird -shrext from ruby
9ebf152
export svn_cv_ruby_link="%{__cc} -shared"
89df43d
export svn_cv_ruby_sitedir_libsuffix=""
89df43d
export svn_cv_ruby_sitedir_archsuffix=""
9ebf152
2e3dd3d
#export EXTRA_CFLAGS="$RPM_OPT_FLAGS -DSVN_SQLITE_MIN_VERSION_NUMBER=3007012 \
2e3dd3d
#       -DSVN_SQLITE_MIN_VERSION=\\\"3.7.12\\\""
cf22657
export APACHE_LDFLAGS="-Wl,-z,relro,-z,now"
83f457f
export CC=gcc CXX=g++ JAVA_HOME=%{jdk_path}
0006eb7
cvsdist 27abd71
%configure --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
ace894f
        --disable-debug \
83f457f
        --with-swig --with-serf=%{_prefix} \
4d30986
        --with-ruby-sitedir=%{ruby_vendorarchdir} \
bf858c5
        --with-ruby-test-verbose=verbose \
061c4e0
        --with-apxs=%{_httpd_apxs} --disable-mod-activation \
0764e57
        --with-apache-libexecdir=%{_httpd_moddir} \
cadf5d1
        --disable-static --with-sasl=%{_prefix} \
d47b5d6
        --with-libmagic=%{_prefix} \
44bef68
        --with-gnome-keyring \
4ea09c4
%if %{with_java}
4ea09c4
        --enable-javahl \
cdf5e0d
        --with-junit=%{_prefix}/share/java/junit.jar \
4ea09c4
%endif
0006eb7
%if %{with kwallet}
2e3dd3d
        --with-kwallet=%{_includedir}/kde4:%{_libdir}/kde4/devel \
6264eab
%endif
ab58749
        --with-berkeley-db || (cat config.log; exit 1)
856c4a9
make %{?_smp_mflags} all tools
747aecd
make swig-py swig-py-lib %{swigdirs}
747aecd
make swig-pl swig-pl-lib swig-rb swig-rb-lib
19c0e15
%if %{with_java}
149f44b
# javahl-javah does not parallel-make with javahl
a3c03d5
#make javahl-java javahl-javah
a3c03d5
make javahl
19c0e15
%endif
cvsdist e8ab74e
cvsdist e8ab74e
%install
9ebf152
make install install-swig-py install-swig-pl-lib install-swig-rb \
cvsdist 6887387
        DESTDIR=$RPM_BUILD_ROOT %{swigdirs}
19c0e15
%if %{with_java}
8c701b6
make install-javahl-java install-javahl-lib javahl_javadir=%{_javadir} DESTDIR=$RPM_BUILD_ROOT
19c0e15
%endif
cvsdist 6887387
6fd2448
make pure_vendor_install -C subversion/bindings/swig/perl/native \
6fd2448
        PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
699a1a9
install -m 755 -d ${RPM_BUILD_ROOT}%{_sysconfdir}/subversion
cvsdist e8ab74e
de106c6
mkdir -p ${RPM_BUILD_ROOT}{%{_httpd_modconfdir},%{_httpd_confdir}}
de106c6
de106c6
%if "%{_httpd_modconfdir}" == "%{_httpd_confdir}"
de106c6
# httpd <= 2.2.x
de106c6
install -p -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_httpd_confdir}
de106c6
%else
de106c6
sed -n /^LoadModule/p %{SOURCE1} > 10-subversion.conf
de106c6
sed    /^LoadModule/d %{SOURCE1} > example.conf
de106c6
touch -r %{SOURCE1} 10-subversion.conf example.conf
de106c6
install -p -m 644 10-subversion.conf ${RPM_BUILD_ROOT}%{_httpd_modconfdir}
de106c6
%endif
cvsdist e8ab74e
cvsdist 27abd71
# Remove unpackaged files
cvsdist 27abd71
rm -rf ${RPM_BUILD_ROOT}%{_includedir}/subversion-*/*.txt \
0006eb7
       ${RPM_BUILD_ROOT}%{svn_python_sitearch}/*/*.{a,la}
cvsdist e8ab74e
71cd2a9
# The SVN build system is broken w.r.t. DSO support; it treats
71cd2a9
# normal libraries as DSOs and puts them in $libdir, whereas they
71cd2a9
# should go in some subdir somewhere, and be linked using -module,
71cd2a9
# etc.  So, forcibly nuke the .so's for libsvn_auth_{gnome,kde},
71cd2a9
# since nothing should ever link against them directly.
71cd2a9
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsvn_auth_*.so
71cd2a9
cvsdist 6887387
# remove stuff produced with Perl modules
cvsdist 6887387
find $RPM_BUILD_ROOT -type f \
cvsdist 82a5bfa
    -a \( -name .packlist -o \( -name '*.bs' -a -empty \) \) \
cvsdist 6887387
    -print0 | xargs -0 rm -f
cvsdist 6887387
cvsdist 6887387
# make Perl modules writable so they get stripped
cvsdist 6887387
find $RPM_BUILD_ROOT%{_libdir}/perl5 -type f -perm 555 -print0 |
cvsdist 6887387
        xargs -0 chmod 755
cvsdist 6887387
cvsdist 6887387
# unnecessary libraries for swig bindings
cvsdist 6887387
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsvn_swig_*.{so,la,a}
cvsdist 6887387
9ebf152
# Remove unnecessary ruby libraries
e15ed24
rm -f ${RPM_BUILD_ROOT}%{ruby_vendorarchdir}/svn/ext/*.*a
9ebf152
cvsdist 27abd71
# Trim what goes in docdir
63c8e7d
rm -rvf tools/*/*.in tools/hook-scripts/mailer/tests
cvsdist e8ab74e
cvsdist e1e7868
# Install psvn for emacs and xemacs
cvsdist e1e7868
for f in emacs/site-lisp xemacs/site-packages/lisp; do
cvsdist e1e7868
  install -m 755 -d ${RPM_BUILD_ROOT}%{_datadir}/$f
cvsdist e1e7868
  install -m 644 $RPM_SOURCE_DIR/psvn.el ${RPM_BUILD_ROOT}%{_datadir}/$f
cvsdist e1e7868
done
cvsdist e1e7868
36ee946
install -m 644 $RPM_SOURCE_DIR/psvn-init.el \
fa6854e
        ${RPM_BUILD_ROOT}%{_datadir}/emacs/site-lisp
36ee946
cvsdist 6887387
# Rename authz_svn INSTALL doc for docdir
cvsdist e1e7868
ln -f subversion/mod_authz_svn/INSTALL mod_authz_svn-INSTALL
cvsdist 6887387
ab58749
# Trim exported dependencies to APR libraries only:
44203d1
sed -i "/^dependency_libs/{
44203d1
     s, -l[^ ']*, ,g;
ab58749
     s, -L[^ ']*, ,g;
ab58749
     s,%{_libdir}/lib[^a][^p][^r][^ ']*.la, ,g;
44203d1
     }"  $RPM_BUILD_ROOT%{_libdir}/*.la
44203d1
346fdd7
# Install bash completion
052327b
install -Dpm 644 tools/client-side/bash_completion \
3ac1914
        $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/svn
3ac1914
for comp in svnadmin svndumpfilter svnlook svnsync svnversion; do
3ac1914
    ln -s svn \
3ac1914
        $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/${comp}
3ac1914
done
346fdd7
72a39f6
# Install svnserve bits
72a39f6
mkdir -p %{buildroot}%{_unitdir} \
fdfc8e1
      %{buildroot}/run/svnserve \
fdfc8e1
      %{buildroot}%{_prefix}/lib/tmpfiles.d \
7c2b664
      %{buildroot}%{_sysconfdir}/sysconfig
72a39f6
72a39f6
install -p -m 644 $RPM_SOURCE_DIR/svnserve.service \
72a39f6
        %{buildroot}%{_unitdir}/svnserve.service
72a39f6
install -p -m 644 $RPM_SOURCE_DIR/svnserve.tmpfiles \
fdfc8e1
        %{buildroot}%{_prefix}/lib/tmpfiles.d/svnserve.conf
72a39f6
install -p -m 644 $RPM_SOURCE_DIR/svnserve.sysconf \
d9257f6
        %{buildroot}%{_sysconfdir}/sysconfig/svnserve
72a39f6
9c77a54
# Install tools ex diff*, x509-parser
856c4a9
make install-tools DESTDIR=$RPM_BUILD_ROOT toolsdir=%{_bindir}
9c77a54
rm -f $RPM_BUILD_ROOT%{_bindir}/diff* $RPM_BUILD_ROOT%{_bindir}/x509-parser
856c4a9
3b7e840
# Make svnauthz-validate a symlink
3b7e840
rm $RPM_BUILD_ROOT%{_bindir}/svnauthz-validate
3b7e840
ln -s svnauthz $RPM_BUILD_ROOT%{_bindir}/svnauthz-validate
3b7e840
9c77a54
for f in svn-populate-node-origins-index fsfs-access-map \
9c77a54
    svnauthz svnauthz-validate svnmucc svnraisetreeconflict svnbench; do
856c4a9
    echo %{_bindir}/$f
fdc9874
    if test -f %{_mandir}/man?/${f}.*; then
fdc9874
       echo %{_mandir}/man?/${f}.*
fdc9874
    fi
856c4a9
done | tee tools.files | sed 's/^/%%exclude /' > exclude.tools.files
856c4a9
a03f0ef
%find_lang %{name}
a03f0ef
856c4a9
cat %{name}.lang exclude.tools.files >> %{name}.files
856c4a9
cvsdist 27abd71
%if %{make_check}
cvsdist 27abd71
%check
2130ca6
export LANG=C LC_ALL=C
9cffde9
export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
d47b5d6
export MALLOC_PERTURB_=171 MALLOC_CHECK_=3
d47b5d6
export LIBC_FATAL_STDERR_=1
193e2e3
export PYTHON=%{svn_python}
e15ed24
if ! make check check-swig-pl check-swig-py check-swig-rb CLEANUP=yes; then
6264eab
   : Test suite failure.
6264eab
   cat fails.log
6264eab
   exit 1
6264eab
fi
3af4f07
# check-swig-rb omitted: it runs svnserve
cdf5e0d
%if %{with_java}
cdf5e0d
make check-javahl
cdf5e0d
%endif
jbj 47f9c31
%endif
cvsdist e8ab74e
9f91546
%post
7efe6ae
%systemd_post svnserve.service
9f91546
9f91546
%preun
7efe6ae
%systemd_preun svnserve.service
cvsdist e8ab74e
72a39f6
%postun
7efe6ae
%systemd_postun_with_restart svnserve.service
72a39f6
9f91546
%post libs -p /sbin/ldconfig
9f91546
9f91546
%postun libs -p /sbin/ldconfig
cvsdist e8ab74e
cvsdist 82a5bfa
%post perl -p /sbin/ldconfig
cvsdist 82a5bfa
cvsdist 82a5bfa
%postun perl -p /sbin/ldconfig
cvsdist 82a5bfa
dadd06e
%post ruby -p /sbin/ldconfig
dadd06e
dadd06e
%postun ruby -p /sbin/ldconfig
dadd06e
452f21b
%if %{with_java}
dadd06e
%post javahl -p /sbin/ldconfig
dadd06e
dadd06e
%postun javahl -p /sbin/ldconfig
452f21b
%endif
dadd06e
856c4a9
%files -f %{name}.files
856d717
%{!?_licensedir:%global license %%doc}
856d717
%license LICENSE NOTICE
856d717
%doc BUGS COMMITTERS INSTALL README CHANGES
052327b
%doc mod_authz_svn-INSTALL
cvsdist 27abd71
%{_bindir}/*
cvsdist 975b53d
%{_mandir}/man*/*
36ee946
%{_datadir}/emacs/site-lisp/*.el
36ee946
%{_datadir}/xemacs/site-packages/lisp/*.el
c36f77c
%{_datadir}/bash-completion/
167d3d2
%config(noreplace) %{_sysconfdir}/sysconfig/svnserve
699a1a9
%dir %{_sysconfdir}/subversion
9f91546
%exclude %{_mandir}/man*/*::*
1bfb4ba
%{_unitdir}/*.service
f96159c
%attr(0700,root,root) %dir /run/svnserve
fdfc8e1
%{_prefix}/lib/tmpfiles.d/svnserve.conf
9f91546
856c4a9
%files tools -f tools.files
f9f97b2
%doc tools/hook-scripts tools/backup tools/bdb tools/examples tools/xslt
856c4a9
9f91546
%files libs
856d717
%{!?_licensedir:%global license %%doc}
856d717
%license LICENSE NOTICE
0114678
%{_libdir}/libsvn*.so.*
cvsdist 6887387
%exclude %{_libdir}/libsvn_swig_perl*
9fb54b8
%exclude %{_libdir}/libsvn_swig_ruby*
6225a77
%if %{with_java}
6225a77
%{_libdir}/libsvnjavahl-*.so
6225a77
%endif
0006eb7
%if %{with kwallet}
a1b02af
%exclude %{_libdir}/libsvn_auth_kwallet*
d882fd1
%endif
a1b02af
%exclude %{_libdir}/libsvn_auth_gnome*
cvsdist e8ab74e
0006eb7
%if %{with python2}
8fefc4d
%files -n python2-subversion
0006eb7
%{python2_sitearch}/svn
0006eb7
%{python2_sitearch}/libsvn
0006eb7
%endif
0006eb7
0006eb7
%if %{with python3}
0006eb7
%files -n python3-subversion
0006eb7
%{python3_sitearch}/svn
0006eb7
%{python3_sitearch}/libsvn
0006eb7
%endif
e9cc4c8
a1b02af
%files gnome
a1b02af
%{_libdir}/libsvn_auth_gnome_keyring-*.so.*
a1b02af
0006eb7
%if %{with kwallet}
a1b02af
%files kde
a1b02af
%{_libdir}/libsvn_auth_kwallet-*.so.*
6264eab
%endif
a1b02af
cvsdist e8ab74e
%files devel
cvsdist e8ab74e
%{_includedir}/subversion-1
5694909
%{_libdir}/libsvn*.*a
cvsdist 6887387
%{_libdir}/libsvn*.so
a647369
%{_datadir}/pkgconfig/*.pc
cvsdist 6887387
%exclude %{_libdir}/libsvn_swig_perl*
6225a77
%exclude %{_libdir}/libsvnjavahl-*.so
cvsdist e8ab74e
cvsdist 27abd71
%files -n mod_dav_svn
de106c6
%config(noreplace) %{_httpd_modconfdir}/*.conf
4d6de6d
%{_libdir}/httpd/modules/mod_*.so
de106c6
%if "%{_httpd_modconfdir}" != "%{_httpd_confdir}"
de106c6
%doc example.conf
de106c6
%endif
cvsdist e8ab74e
cvsdist 6887387
%files perl
cvsdist 82a5bfa
%{perl_vendorarch}/auto/SVN
cvsdist 82a5bfa
%{perl_vendorarch}/SVN
cvsdist 6887387
%{_libdir}/libsvn_swig_perl*
cvsdist 82a5bfa
%{_mandir}/man*/*::*
cvsdist 6887387
9ebf152
%files ruby
9fb54b8
%{_libdir}/libsvn_swig_ruby*
957fb58
%{ruby_vendorarchdir}/svn
9ebf152
5be0495
%if %{with_java}
1339ab2
%files javahl
8c701b6
%{_javadir}/svn-javahl.jar
5be0495
%endif
1339ab2
e8325ad
%changelog
2e3dd3d
* Mon Apr 16 2018 Joe Orton <jorton@redhat.com> - 1.10.0-1
2e3dd3d
- update to 1.10.0 (#1566493)
2e3dd3d
0006eb7
* Tue Mar 27 2018 Joe Orton <jorton@redhat.com> - 1.9.7-7
0006eb7
- add build conditionals for python2, python3 and kwallet
0006eb7
a2f1b0b
* Thu Feb  8 2018 Joe Orton <jorton@redhat.com> - 1.9.7-6
a2f1b0b
- force use of Python2 in test suite
a2f1b0b
368c5a9
* Thu Feb 01 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.9.7-5
368c5a9
- Update Python 2 dependency declarations to new packaging standards
368c5a9
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
368c5a9
7291701
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 1.9.7-4
7291701
- Rebuilt for switch to libxcrypt
7291701
ddb4d58
* Fri Jan 05 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.7-3
ddb4d58
- F-28: rebuild for ruby25
ddb4d58
8fefc4d
* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.9.7-2
8fefc4d
- Python 2 binary package renamed to python2-subversion
8fefc4d
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
8fefc4d
cf4f0b2
* Fri Aug 11 2017 Joe Orton <jorton@redhat.com> - 1.9.7-1
cf4f0b2
- update to 1.9.7 (CVE-2017-9800, #1480402)
cf4f0b2
- add Documentation= to svnserve.service
cf4f0b2
d7124a3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.6-4
d7124a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
d7124a3
3ea10e4
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.6-3
3ea10e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3ea10e4
6225a77
* Mon Jul 17 2017 Joe Orton <jorton@redhat.com> - 1.9.6-2
6225a77
- move javahl .so to -libs (#1469158)
6225a77
684d60f
* Thu Jul  6 2017 Joe Orton <jorton@redhat.com> - 1.9.6-1
684d60f
- update to 1.9.6 (#1467890)
684d60f
- update to latest upstream psvn.el
3ccba7d
- move libsvnjavahl to -libs, build -javahl noarch
fa677f6
- fix javahl Requires
684d60f
4f24860
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.9.5-4
4f24860
- Perl 5.26 rebuild
4f24860
2c175ed
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.5-3
2c175ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2c175ed
cf5ce10
* Fri Jan 13 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.5-2
cf5ce10
- F-26: rebuild for ruby24
cf5ce10
8b7160d
* Mon Jan  2 2017 Joe Orton <jorton@redhat.com> - 1.9.5-1
8b7160d
- update to 1.9.5 (#1400040, CVE-2016-8734)
8b7160d
a2b9f79
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.4-4
a2b9f79
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
a2b9f79
ae530f1
* Wed May 25 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.9.4-3
ae530f1
- Enable tests
ae530f1
- Revert one of Ruby 2.2 fixes
ae530f1
a8b52ca
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.9.4-2
a8b52ca
- Perl 5.24 rebuild
a8b52ca
f9f97b2
* Sun May  8 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.9.4-1
f9f97b2
- Update to 1.9.4 (#1331222) CVE-2016-2167 CVE-2016-2168
f9f97b2
- Move tools in docs to tools subpackage (rhbz 1171757 1199761)
f9f97b2
- Disable make check to work around FTBFS
f9f97b2
39e1e2e
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.3-3
39e1e2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
39e1e2e
f24891a
* Thu Jan 21 2016 Joe Orton <jorton@redhat.com> - 1.9.3-2
f24891a
- rebuild for Ruby 2.3
f24891a
8391731
* Tue Dec 15 2015 Joe Orton <jorton@redhat.com> - 1.9.3-1
8391731
- update to 1.9.3 (#1291683)
8391731
- use private /tmp in svnserve.service
8391731
43cb7cd
* Thu Sep 24 2015 Joe Orton <jorton@redhat.com> - 1.9.2-1
43cb7cd
- update to 1.9.2 (#1265447)
43cb7cd
5dedbe2
* Mon Sep 14 2015 Joe Orton <jorton@redhat.com> - 1.9.1-1
5dedbe2
- update to 1.9.1 (#1259099)
5dedbe2
9c77a54
* Mon Aug 24 2015 Joe Orton <jorton@redhat.com> - 1.9.0-1
9c77a54
- update to 1.9.0 (#1207835)
a647369
- package pkgconfig files
9c77a54
3b7e840
* Tue Jul 14 2015 Joe Orton <jorton@redhat.com> - 1.8.13-7
3b7e840
- move svnauthz to -tools; make svnauthz-validate a symlink
fdc9874
- move svnmucc man page to -tools
081fa7e
- restore dep on systemd (#1183873)
3b7e840
2157a2c
* Fri Jul 10 2015 Joe Orton <jorton@redhat.com> - 1.8.13-6
98de9c6
- rebuild with tests enabled
98de9c6
fc7f48a
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.13-5
fc7f48a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fc7f48a
c36f77c
* Mon Jun 15 2015 Ville Skyttä <ville.skytta@iki.fi> - 1.8.13-4
c36f77c
- Own bash-completion dirs not owned by anything in dep chain
c36f77c
6a142b7
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.8.13-3
6a142b7
- Perl 5.22 rebuild
6a142b7
856d717
* Tue Apr 21 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.8.13-2
856d717
- Disable tests to fix swig test issues
856d717
962179d
* Wed Apr 08 2015 <vondruch@redhat.com> - 1.8.13-1
962179d
- Fix Ruby's test suite.
962179d
3de0754
* Tue Apr  7 2015 Joe Orton <jorton@redhat.com> - 1.8.13-1
3de0754
- update to 1.8.13 (#1207835)
3de0754
- attempt to patch around SWIG issues
3de0754
0624185
* Tue Dec 16 2014 Joe Orton <jorton@redhat.com> - 1.8.11-1
0624185
- update to 1.8.11 (#1174521)
0624185
- require newer libserf (#1155670)
0624185
ace894f
* Tue Sep 23 2014 Joe Orton <jorton@redhat.com> - 1.8.10-6
ace894f
- prevents assert()ions in library code (#1058693)
ace894f
855d57b
* Tue Sep 23 2014 Joe Orton <jorton@redhat.com> - 1.8.10-5
855d57b
- drop sysv conversion trigger (#1133786)
855d57b
31859da
* Tue Sep 23 2014 Joe Orton <jorton@redhat.com> - 1.8.10-4
31859da
- move svn-bench, fsfs-* to -tools
31859da
0d19e6b
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.8.10-3
0d19e6b
- Perl 5.20 rebuild
0d19e6b
7e293c5
* Thu Aug 21 2014 Kevin Fenzi <kevin@scrye.com> - 1.8.10-2
7e293c5
- Rebuild for rpm bug 1131960
7e293c5
0a70261
* Mon Aug 18 2014 Joe Orton <jorton@redhat.com> - 1.8.10-1
0a70261
- update to 1.8.10 (#1129100, #1128884, #1125800)
0a70261
b89ac10
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.9-3
b89ac10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b89ac10
3064333
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.9-2
3064333
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3064333
0aafcfd
* Wed May 28 2014 Joe Orton <jorton@redhat.com> - 1.8.9-1
0aafcfd
- update to 1.8.9 (#1100779)
0aafcfd
db6a750
* Tue Apr 29 2014 Vít Ondruch <vondruch@redhat.com> - 1.8.8-3
db6a750
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1
db6a750
9fef633
* Tue Apr 22 2014 Joe Orton <jorton@redhat.com> - 1.8.8-2
1ec24d0
- require minitest 4 to fix tests for Ruby bindings (#1089252)
9fef633
7fad3e5
* Fri Feb 28 2014 Joe Orton <jorton@redhat.com> - 1.8.8-1
7fad3e5
- update to 1.8.8
7fad3e5
e4cb5b4
* Thu Jan 23 2014 Joe Orton <jorton@redhat.com> - 1.8.5-4
e4cb5b4
- fix _httpd_mmn expansion in absence of httpd-devel
e4cb5b4
cc5db16
* Mon Jan  6 2014 Joe Orton <jorton@redhat.com> - 1.8.5-3
f96159c
- fix permissions of /run/svnserve (#1048422)
f96159c
260cfa2
* Tue Dec 10 2013 Joe Orton <jorton@redhat.com> - 1.8.5-2
260cfa2
- don't drop -Wall when building swig Perl bindings (#1037341)
260cfa2
11039e7
* Tue Nov 26 2013 Joe Orton <jorton@redhat.com> - 1.8.5-1
11039e7
- update to 1.8.5 (#1034130)
5ed5d9f
- add fix for wc-queries-test breakage (h/t Andreas Stieger, r1542774)
11039e7
45b051e
* Mon Nov 18 2013 Joe Orton <jorton@redhat.com> - 1.8.4-2
45b051e
- add fix for ppc breakage (Andreas Stieger, #985582)
45b051e
d25854b
* Tue Oct 29 2013 Joe Orton <jorton@redhat.com> - 1.8.4-1
d25854b
- update to 1.8.4
d25854b
3ac1914
* Tue Sep  3 2013 Joe Orton <jorton@redhat.com> - 1.8.3-1
3ac1914
- update to 1.8.3
cd81c66
- move bash completions out of /etc (#922993)
3ac1914
4d4e94a
* Tue Aug 06 2013 Adam Williamson <awilliam@redhat.com> - 1.8.1-2
4d4e94a
- rebuild for perl 5.18 (again; 1.8.1-1 beat out 1.8.0-2)
4d4e94a
da76088
* Thu Jul 25 2013 Joe Orton <jorton@redhat.com> - 1.8.1-1
da76088
- update to 1.8.1
da76088
5e04a2c
* Fri Jul 19 2013 Joe Orton <jorton@redhat.com> - 1.8.0-3
5e04a2c
- temporarily ignore test suite failures on ppc* (#985582)
5e04a2c
4e09ee7
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.8.0-2
4e09ee7
- Perl 5.18 rebuild
4e09ee7
83f457f
* Tue Jun 18 2013 Joe Orton <jorton@redhat.com> - 1.8.0-1
83f457f
- update to 1.8.0; switch to serf
cf22657
- use full relro in mod_dav_svn build (#973694)
83f457f
2d9bfc5
* Mon Jun  3 2013 Joe Orton <jorton@redhat.com> - 1.7.10-1
2d9bfc5
- update to 1.7.10 (#970014)
2d9bfc5
- fix aarch64 build issues (Dennis Gilmore, #926578)
2d9bfc5
0aff876
* Thu May  9 2013 Joe Orton <jorton@redhat.com> - 1.7.9-3
0aff876
- fix spurious failures in ruby test suite (upstream r1327373)
0aff876
bf858c5
* Thu May  9 2013 Joe Orton <jorton@redhat.com> - 1.7.9-2
bf858c5
- try harder to avoid svnserve bind failures in ruby binding tests
bf858c5
- enable verbose output for ruby binding tests
bf858c5
eaa8715
* Tue Apr  9 2013 Joe Orton <jorton@redhat.com> - 1.7.9-1
eaa8715
- update to 1.7.9
eaa8715
e15ed24
* Wed Mar 27 2013 Vít Ondruch <vondruch@redhat.com> - 1.7.8-6
e15ed24
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
e15ed24
- Drop Ruby version checks from configuration script.
e15ed24
- Fix and enable Ruby test suite.
e15ed24
423e8da
* Thu Mar 14 2013 Joe Orton <jorton@redhat.com> - 1.7.8-5
741adf9
- drop specific dep on ruby(abi)
741adf9
7a5b6b9
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.8-4
7a5b6b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7a5b6b9
d9a7f5f
* Tue Jan  8 2013 Joe Orton <jorton@redhat.com> - 1.7.8-3
d9a7f5f
- update to latest psvn.el
d9a7f5f
3e37f78
* Tue Jan  8 2013 Lukáš Nykrýn <lnykryn@redhat.com> - 1.7.8-2
7efe6ae
- Scriptlets replaced with new systemd macros (#850410)
7efe6ae
d47b5d6
* Fri Jan  4 2013 Joe Orton <jorton@redhat.com> - 1.7.8-1
d47b5d6
- update to 1.7.8
d47b5d6
c527ae6
* Thu Oct 11 2012 Joe Orton <jorton@redhat.com> - 1.7.7-1
c527ae6
- update to 1.7.7
c527ae6
d633e56
* Fri Aug 17 2012 Joe Orton <jorton@redhat.com> - 1.7.6-1
d633e56
- update to 1.7.6
d633e56
4dd4180
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.5-6
4dd4180
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4dd4180
3be5242
* Mon Jul 16 2012 Joe Orton <jorton@redhat.com> - 1.7.5-5
fdfc8e1
- switch svnserve pidfile to use /run, use /usr/lib/tmpfiles.d (#840195)
fdfc8e1
642a42e
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 1.7.5-4
642a42e
- Perl 5.16 rebuild
642a42e
f525aae
* Mon Jun 18 2012 Dan Horák 
f525aae
- fix build with recent gcc 4.7 (svn rev 1345740)
f525aae
d510ec3
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1.7.5-2
d510ec3
- Perl 5.16 rebuild
d510ec3
9350f61
* Tue May 22 2012 Joe Orton <jorton@redhat.com> - 1.7.5-1
9350f61
- update to 1.7.5
9350f61
88c9222
* Tue Apr 24 2012 Joe Orton <jorton@redhat.com> - 1.7.4-6
88c9222
- drop strict sqlite version requirement (#815396)
88c9222
2cfa41d
* Mon Apr 23 2012 Joe Orton <jorton@redhat.com> - 1.7.4-5
2cfa41d
- switch to libdb-devel (#814090)
2cfa41d
de106c6
* Thu Apr 19 2012 Joe Orton <jorton@redhat.com> - 1.7.4-4
de106c6
- adapt for conf.modules.d with httpd 2.4
de106c6
- add possible workaround for kwallet crasher (#810861)
de106c6
8bc4866
* Fri Mar 30 2012 Joe Orton <jorton@redhat.com> - 1.7.4-3
8bc4866
- re-enable test suite
8bc4866
061c4e0
* Fri Mar 30 2012 Joe Orton <jorton@redhat.com> - 1.7.4-2
061c4e0
- fix build with httpd 2.4
061c4e0
3ee8fd7
* Mon Mar 12 2012 Joe Orton <jorton@redhat.com> - 1.7.4-1
3ee8fd7
- update to 1.7.4
3ee8fd7
- fix build with httpd 2.4
3ee8fd7
47a13c0
* Thu Mar  1 2012 Joe Orton <jorton@redhat.com> - 1.7.3-7
47a13c0
- re-enable kwallet (#791031)
47a13c0
f89e89b
* Wed Feb 29 2012 Joe Orton <jorton@redhat.com> - 1.7.3-6
f89e89b
- update psvn
f89e89b
856c4a9
* Wed Feb 29 2012 Joe Orton <jorton@redhat.com> - 1.7.3-5
856c4a9
- add tools subpackage (#648015)
856c4a9
a6a338f
* Tue Feb 28 2012 Joe Orton <jorton@redhat.com> - 1.7.3-4
a6a338f
- trim contents of doc dic (#746433)
a6a338f
542cd5b
* Tue Feb 28 2012 Joe Orton <jorton@redhat.com> - 1.7.3-3
542cd5b
- re-enable test suite
542cd5b
7fbff7d
* Tue Feb 28 2012 Joe Orton <jorton@redhat.com> - 1.7.3-2
7fbff7d
- add upstream test suite fixes for APR hash change (r1293602, r1293811)
2953a39
- use ruby vendorlib directory (#798203)
72a39f6
- convert svnserve to systemd (#754074)
7fbff7d
14f6ae3
* Mon Feb 13 2012 Joe Orton <jorton@redhat.com> - 1.7.3-1
14f6ae3
- update to 1.7.3
4d6de6d
- ship, enable mod_dontdothat
14f6ae3
1c7f325
* Mon Feb 13 2012 Joe Orton <jorton@redhat.com> - 1.7.2-2
1c7f325
- require ruby 1.9.1 abi
1c7f325
ad3e5e0
* Thu Feb  9 2012 Joe Orton <jorton@redhat.com> - 1.7.2-1
ad3e5e0
- update to 1.7.2
215a29d
- add Vincent Batts' Ruby 1.9 fixes from dev@
ad3e5e0
a8b558c
* Sun Feb  5 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.7.1-3
a8b558c
- fix gnome-keyring build deps 
a8b558c
ee588b3
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1-2
ee588b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ee588b3
6264eab
* Mon Nov 28 2011 Joe Orton <jorton@redhat.com> - 1.7.1-1
6264eab
- update to 1.7.1
6264eab
- (temporarily) disable failing kwallet support
6264eab
b60c078
* Sun Nov 27 2011 Ville Skyttä <ville.skytta@iki.fi> - 1.7.0-3
b60c078
- Build with libmagic support.
b60c078
c4444b4
* Sat Oct 15 2011 Ville Skyttä <ville.skytta@iki.fi> - 1.7.0-2
c4444b4
- Fix apr Conflicts syntax in -libs.
c4444b4
- Fix obsolete chown syntax in subversion.conf.
c4444b4
- Fix use of spaces vs tabs in specfile.
c4444b4
41a6b20
* Wed Oct 12 2011 Joe Orton <jorton@redhat.com> - 1.7.0-1
41a6b20
- update to 1.7.0
41a6b20
- drop svn2cl (no longer shipped in upstream tarball)