[perl-BSSolv/f20] Initial commit
Josef Stribny
jstribny at fedoraproject.org
Mon May 5 07:26:47 UTC 2014
commit 60f5f0647678b31de75a5f5bac3835585782f23b
Author: Josef Stribny <jstribny at redhat.com>
Date: Mon May 5 08:38:25 2014 +0200
Initial commit
.gitignore | 1 +
perl-BSSolv.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ef33da9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/BSSolv-0.01-git1e18c32.tar.gz
diff --git a/perl-BSSolv.spec b/perl-BSSolv.spec
new file mode 100644
index 0000000..c07c584
--- /dev/null
+++ b/perl-BSSolv.spec
@@ -0,0 +1,65 @@
+%global gitrev 1e18c32
+
+Name: perl-BSSolv
+Version: 0.01
+Release: 4.git%{gitrev}%{?dist}
+Url: https://github.com/openSUSE/perl-BSSolv
+# Taken from the upstream url from the revision %{gitrev}
+Source0: BSSolv-%{version}-git%{gitrev}.tar.gz
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: libsolv-devel >= 0.3.0-7
+BuildRequires: libdb4-devel
+BuildRequires: perl
+BuildRequires: perl(strict)
+BuildRequires: expat-devel
+BuildRequires: perl
+BuildRequires: xz-devel
+BuildRequires: zlib-devel
+BuildRequires: perl(ExtUtils::MakeMaker)
+Summary: A new approach to package dependency solving
+License: GPL or Artistic
+Group: Development/Libraries
+
+%description
+Using a Satisfyability Solver to compute package dependencies.
+
+%prep
+%setup -c %{name}-%{version}-%{release} -T
+tar xvzf %{SOURCE0}
+
+%build
+perl Makefile.PL
+make %{?_smp_mflags}
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install_vendor
+find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%files
+%{perl_vendorarch}/BSSolv.pm
+%{perl_vendorarch}/auto/BSSolv
+%doc README
+
+%changelog
+* Sun Apr 27 2014 Josef Stribny <jstribny at redhat.com> 0.01-4.git1e18c32
+- Fix license
+- Add BR: perl(strict)
+- Remove redundant BRs
+
+* Sun Apr 20 2014 Josef Stribny <jstribny at redhat.com> 0.01-3.git1e18c32
+- Remove libsolv dep
+- use %{?_smp_mflags} macro
+
+* Wed Feb 19 2014 Josef Stribny <jstribny at redhat.com> 0.01-2.git1e18c32
+- Clean up the spec file and changelog
+- Use tarball for the sources
+
+* Fri Feb 14 2014 Josef Stribny <jstribny at redhat.com> 0.01-1.git1e18c32
+- Update to git release 1e18c32
+- Fix upstream url
+- Add README
+- Change versioning to perl-BSSolv itself
+
diff --git a/sources b/sources
index e69de29..702bbea 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fc4542746acdd5ac9402d0b626d8e7e7 BSSolv-0.01-git1e18c32.tar.gz
More information about the scm-commits
mailing list