8
0
Christian Wittmer
2010-10-14 13:41:30 +00:00
committed by Git OBS Bridge
parent a1fe509650
commit 639432a536
4 changed files with 156 additions and 50 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:74066d7895726230c11958c2b0cc10d723a49ba32423d13b51bdd441c51d8bc8
size 14025

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ec061f6943d78dcdbffc236d6b503b2ae2cd9f3fdaf2877ab8338e355023de7
size 16918

View File

@@ -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

View File

@@ -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
%bcond_with pod
Name: perl-Git-Repository
Version: 1.03
Release: 0
Summary: Perl Interface to Git Repositories
Source: http://www.cpan.org/modules/by-module/Git/Git-Repository-%{version}.tar.gz
URL: http://search.cpan.org/dist/Git-Repository/
%define cpan_name Git-Repository
Summary: Perl interface to Git repositories
Version: 1.12
Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
Requires: perl = %{perl_version}
Requires: git-core
Requires: perl(List::Util)
Requires: perl(File::Spec)
Requires: perl(File::Path)
Requires: perl(IPC::Open3)
Requires: perl(Cwd)
BuildRequires: make perl
Url: http://search.cpan.org/dist/Git-Repository/
#Source: http://www.cpan.org/modules/by-module/Git/Git-Repository-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: git-core
BuildRequires: perl(List::Util)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Path)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Cwd)
BuildRequires: perl
BuildRequires: perl(Module::Build)
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%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::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Cwd)
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
Git::Repository is a Perl interface to Git, allowing scripted interactions with
one or more repositories. It's a low-level interface, allowing to call any Git
command, either porcelain or plumbing, including bidirectional commands such
as git commit-tree.
Git::Repository is a Perl interface to Git, for scripted interactions with
repositories. It's a low-level interface that allows calling any Git
command, whether porcelain or plumbing, including bidirectional commands
such as git commit-tree.
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
the underlying Git command may need and use.
Authors:
--------
Philippe Bruhat (BooK), <book at cpan.org>
%prep
%setup -q -n "Git-Repository-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%setup -q -n %{cpan_name}-%{version}
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}
%install
%perl_make_install
%perl_process_packlist
%{__perl} Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%check
%__make test
./Build test
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%perl_gen_filelist
%clean
%__rm -rf "%{buildroot}"
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%files -f %{name}.files
%defattr(-,root,root,-)
%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
# vim: set sw=4 ts=4 et nu: