8
0
Stephan Kulow
2015-04-20 05:41:13 +00:00
committed by Git OBS Bridge
parent 03d5fe4ac0
commit a180f2d44e
5 changed files with 57 additions and 32 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83c5981df51342f86575346aeaaad23f1bc6b529ea5404401c4ef52e54000cfc
size 20009

3
File-Rsync-0.45.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d69348ca889b745d4bd3b972ac536de671ff118542612772ed70917bc213b8f
size 19829

22
cpanspec.yml Normal file
View File

@@ -0,0 +1,22 @@
---
description_paragraphs: 1
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
preamble: |-
BuildRequires: rsync
Requires: rsync
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Dec 27 22:26:04 UTC 2014 - lars@linux-schulserver.de
- update to 0.45:
+ removed 'use File::Rsync::Config', oops
+ long overdue fix for automated builds, removed prompt for
rsync path to use PATH enviroment instead
-------------------------------------------------------------------
Fri Nov 18 11:07:10 UTC 2011 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-File-Rsync
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,54 +15,49 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-File-Rsync
Version: 0.45
Release: 0
%define cpan_name File-Rsync
Summary: Perl module interface to rsync
Url: http://search.cpan.org/perldoc?File::Rsync
Summary: Perl Module Interface to Rsync(1) F<Http://Rsync.Samba.Org/Rsync/>
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
License: Artistic
Version: 0.43
Release: 2
Source: %{cpan_name}-%{version}.tar.gz
Url: http://search.cpan.org/dist/File-Rsync/
Source0: http://www.cpan.org/authors/id/L/LE/LEAKIN/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
# MANUAL BEGIN
BuildRequires: rsync
Requires: rsync
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
# MANUAL END
%description
Perl Convenience wrapper for the rsync(1) program. Written for rsync-2.3.2 and
updated for rsync-2.6.0 but should perform properly with most recent versions.
Author:
-------
Lee Eakin <leakin@dfw.nostrum.com>
Perl Convenience wrapper for the rsync(1) program. Written for
_rsync-2.3.2_ and updated for _rsync-2.6.0_ but should perform properly
with most recent versions.
%prep
%setup -n %{cpan_name}-%{version}
sed -i "s|/usr/local/bin/rsync|/usr/bin/rsync|" config.in
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
make test
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%files -f %{name}.files
%defattr(-, root, root)
%doc Changelog README MANIFEST TODO
%defattr(-,root,root,755)
%doc Changelog README TODO
%changelog