forked from pool/perl-Git-Repository
update to 1.12
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Git-Repository?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
a1fe509650
commit
639432a536
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:74066d7895726230c11958c2b0cc10d723a49ba32423d13b51bdd441c51d8bc8
|
|
||||||
size 14025
|
|
||||||
3
Git-Repository-1.12.tar.bz2
Normal file
3
Git-Repository-1.12.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8ec061f6943d78dcdbffc236d6b503b2ae2cd9f3fdaf2877ab8338e355023de7
|
||||||
|
size 16918
|
||||||
@@ -1,3 +1,86 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 14 13:40:26 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- update to 1.12
|
||||||
|
o [ENHANCEMENTS]
|
||||||
|
- the input option can now be empty: it means "close stdin first"
|
||||||
|
- if the input option is undef, it still means "don't touch stdin"
|
||||||
|
- 1.11 Sat Oct 2 18:17:33 CEST 2010
|
||||||
|
o [ENHANCEMENTS]
|
||||||
|
- fixed a bug in version comparison
|
||||||
|
(version 1.7.1.209.gd60ad81 is smaller than 1.7.1.1.1.g66bd8ab)
|
||||||
|
o [TESTS]
|
||||||
|
- skip tests that fail between between versions 1.7.1 and 1.7.1.1
|
||||||
|
(thanks to Sébastien Aperghis-Tramoni for the private report)
|
||||||
|
- fix abs_path dying on Win32 with a path to a non-existent file
|
||||||
|
(again)
|
||||||
|
- 1.10 Fri Sep 24 18:04:05 CEST 2010
|
||||||
|
o [ENHANCEMENTS]
|
||||||
|
- Git::Repository::Command doesn't write to the command stdin
|
||||||
|
if the input option is set to something empty
|
||||||
|
- Git::Repository::Command now has a version number too
|
||||||
|
o [DOCUMENTATION]
|
||||||
|
- minor copy editing by Aristotle Pagaltzis
|
||||||
|
- 1.09 Thu Aug 19 00:34:47 CEST 2010
|
||||||
|
o [ENHANCEMENTS]
|
||||||
|
- now handle SIGPIPE when writing to git stdin
|
||||||
|
(fixes RT bug #60482, reported by Todd Rinaldo (TODDR))
|
||||||
|
- new() ignores the 'input' option for git commands called
|
||||||
|
during initialization
|
||||||
|
o [TESTS]
|
||||||
|
- t/20-simple.t should stop failing with "Non-zero wait status: 13"
|
||||||
|
as it has been doing since 1.05.
|
||||||
|
- 1.08 Tue Aug 17 14:49:11 CEST 2010
|
||||||
|
o [ENHANCEMENTS]
|
||||||
|
- Git::Repository->new() now supports git versions older than 1.5.3
|
||||||
|
o [TESTS]
|
||||||
|
- ensure we have some identity when committing
|
||||||
|
- make tests require the lowest git version they support
|
||||||
|
- 1.07 Sat Aug 14 16:52:21 CEST 2010
|
||||||
|
o [ENHANCEMENTS]
|
||||||
|
- support for option hash in create(), which is attached to the
|
||||||
|
returned Git::Repository object
|
||||||
|
- accessors for Git::Repository::Command objects
|
||||||
|
(including a 'cmdline' accessor)
|
||||||
|
- removed the wc_subdir() attribute, which is useless and
|
||||||
|
redundant with the cwd option
|
||||||
|
- completely rewrote the repo_path and wc_path computation in new()
|
||||||
|
- support new (post-v1.7.1) clone output in create()
|
||||||
|
- less confusing names for options and attributes:
|
||||||
|
+ new() now takes git_dir and work_tree
|
||||||
|
(instead of repository and working_copy)
|
||||||
|
+ the corresponding attributes are now git_dir and work_tree
|
||||||
|
(instead of repo_path and wc_path)
|
||||||
|
+ the older options and attributes are being kept for compatibility
|
||||||
|
o [TESTS]
|
||||||
|
- tests for the case when GIT_DIR is not .git (Mark Lawrence)
|
||||||
|
- protect git log tests against format.pretty (Aristotle Pagaltzis)
|
||||||
|
- tests for backward-compatibility with repository, working_copy, etc.
|
||||||
|
- 1.06 Sat Jul 3 22:02:59 CEST 2010
|
||||||
|
o [ENHANCEMENTS]
|
||||||
|
- none
|
||||||
|
o [TESTS]
|
||||||
|
- just make sure all tests fail gracefully when git is not installed
|
||||||
|
- 1.05 Sat Jul 3 00:40:09 CEST 2010
|
||||||
|
o [ENHANCEMENTS]
|
||||||
|
- version() method returns the git binary version
|
||||||
|
- version_eq(), version_gt(), etc allow simple version comparison
|
||||||
|
for the current git binary
|
||||||
|
- allow providing a default option hash to Git::Repository->new()
|
||||||
|
o [DOCUMENTATION]
|
||||||
|
- Document git init behaviour changed in 1.6.5
|
||||||
|
o [TESTS]
|
||||||
|
- extensive version comparison tests
|
||||||
|
- 1.04 Sun Jun 27 17:24:02 CEST 2010
|
||||||
|
o [ENHANCEMENTS]
|
||||||
|
- create() now supports "reinitializing existing Git repository"
|
||||||
|
(thanks to Michael G. Schwern)
|
||||||
|
o [TESTS]
|
||||||
|
- test a few extra cases
|
||||||
|
- noarch pkg
|
||||||
|
- added bcond_with pod
|
||||||
|
- recreated by cpanspec 1.78
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 19 00:08:20 UTC 2010 - pascal.bleser@opensuse.org
|
Sat Jun 19 00:08:20 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
|||||||
@@ -1,71 +1,94 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-Git-Repository (Version 1.12)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
%bcond_with pod
|
||||||
|
|
||||||
Name: perl-Git-Repository
|
Name: perl-Git-Repository
|
||||||
Version: 1.03
|
%define cpan_name Git-Repository
|
||||||
Release: 0
|
Summary: Perl interface to Git repositories
|
||||||
Summary: Perl Interface to Git Repositories
|
Version: 1.12
|
||||||
Source: http://www.cpan.org/modules/by-module/Git/Git-Repository-%{version}.tar.gz
|
Release: 1
|
||||||
URL: http://search.cpan.org/dist/Git-Repository/
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Perl License
|
Url: http://search.cpan.org/dist/Git-Repository/
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
#Source: http://www.cpan.org/modules/by-module/Git/Git-Repository-%{version}.tar.gz
|
||||||
Requires: perl = %{perl_version}
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
Requires: git-core
|
BuildArch: noarch
|
||||||
Requires: perl(List::Util)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Requires: perl(File::Spec)
|
|
||||||
Requires: perl(File::Path)
|
|
||||||
Requires: perl(IPC::Open3)
|
|
||||||
Requires: perl(Cwd)
|
|
||||||
BuildRequires: make perl
|
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: perl(List::Util)
|
BuildRequires: perl
|
||||||
BuildRequires: perl(File::Spec)
|
BuildRequires: perl(Module::Build)
|
||||||
BuildRequires: perl(File::Path)
|
%if 0%{?suse_version} < 1120
|
||||||
BuildRequires: perl(IPC::Open3)
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Cwd)
|
%endif
|
||||||
|
%if %{with pod}
|
||||||
|
BuildRequires: perl(Test::Pod) >= 1.22
|
||||||
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
||||||
|
%endif
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
BuildRequires: perl(Test::Pod)
|
BuildRequires: perl(Cwd)
|
||||||
BuildRequires: perl(Test::Pod::Coverage)
|
BuildRequires: perl(File::Path)
|
||||||
|
BuildRequires: perl(File::Spec)
|
||||||
|
BuildRequires: perl(IPC::Open3)
|
||||||
|
BuildRequires: perl(List::Util)
|
||||||
|
#
|
||||||
|
Requires: git-core
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
Requires: perl(Cwd)
|
||||||
|
Requires: perl(File::Path)
|
||||||
|
Requires: perl(File::Spec)
|
||||||
|
Requires: perl(IPC::Open3)
|
||||||
|
Requires: perl(List::Util)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Git::Repository is a Perl interface to Git, allowing scripted interactions with
|
Git::Repository is a Perl interface to Git, for scripted interactions with
|
||||||
one or more repositories. It's a low-level interface, allowing to call any Git
|
repositories. It's a low-level interface that allows calling any Git
|
||||||
command, either porcelain or plumbing, including bidirectional commands such
|
command, whether porcelain or plumbing, including bidirectional commands
|
||||||
as git commit-tree.
|
such as git commit-tree.
|
||||||
|
|
||||||
Since it is a low-level interface, it doesn't provide any fancy way to call Git
|
Since it is a low-level interface, it doesn't provide any fancy way to call Git
|
||||||
commands. It is up to the programmer to setup any environment variables that
|
commands. It is up to the programmer to setup any environment variables that
|
||||||
the underlying Git command may need and use.
|
the underlying Git command may need and use.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Philippe Bruhat (BooK), <book at cpan.org>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "Git-Repository-%{version}"
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
%{__perl} Build.PL installdirs=vendor
|
||||||
%__make %{?jobs:-j%{jobs}}
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
|
||||||
%perl_make_install
|
|
||||||
%perl_process_packlist
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%__make test
|
./Build test
|
||||||
|
|
||||||
|
%install
|
||||||
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%__rm -rf "%{buildroot}"
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%dir %{perl_vendorlib}/Git
|
|
||||||
%{perl_vendorlib}/Git/Repository.pm
|
|
||||||
%{perl_vendorlib}/Git/Repository
|
|
||||||
%dir %{perl_vendorarch}/auto/Git
|
|
||||||
%{perl_vendorarch}/auto/Git/Repository
|
|
||||||
%doc %{perl_man3dir}/Git::Repository.%{perl_man3ext}%{ext_man}
|
|
||||||
%doc %{perl_man3dir}/Git::Repository::*.%{perl_man3ext}%{ext_man}
|
|
||||||
/var/adm/perl-modules/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
# vim: set sw=4 ts=4 et nu:
|
|
||||||
|
|||||||
Reference in New Issue
Block a user