itamarjp pushed to bucardo (master). "make it buildable for fedora-epel"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Sep 23 12:21:01 UTC 2015
From fb8c0b3d9e79f8eb184260a2b90d10fc800584b1 Mon Sep 17 00:00:00 2001
From: Itamar Reis Peixoto <itamar at ispbrasil.com.br>
Date: Wed, 23 Sep 2015 09:18:49 -0300
Subject: make it buildable for fedora-epel
diff --git a/bucardo.spec b/bucardo.spec
index fe72dd2..200e2bd 100644
--- a/bucardo.spec
+++ b/bucardo.spec
@@ -1,7 +1,7 @@
%define realname Bucardo
Name: bucardo
Version: 4.5.0
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: Postgres replication system for both multi-master and multi-slave operations
Group: Applications/Databases
# The README file says `same as Perl', however, I don't think it's
@@ -14,7 +14,7 @@ BuildArch: noarch
BuildRequires: postgresql-plperl
# Build
BuildRequires: perl
-BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.68
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Runtime
@@ -54,7 +54,9 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
-make pure_install DESTDIR=%{buildroot}
+make pure_install DESTDIR=%{buildroot} DESTINSTALLVENDORSHARE=%{buildroot}/%{_datadir}/%{name}
+#removing packlist is required for building on fedora-epel
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
sed -i -e '1d;2i#!%{__perl}' %{name}_ctl
rm -f %{buildroot}/%{_bindir}/%{name}_ctl
install -Dp -m755 bucardo_ctl %{buildroot}/%{_sbindir}/%{name}_ctl
@@ -82,6 +84,9 @@ make test
%dir %{_localstatedir}/run/%{name}
%changelog
+* Wed Sep 23 2015 Itamar Reis Peixoto <itamar at ispbrasil.com.br> - 4.5.0-12
+- change spec to make it buildable under fedora-epel
+
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.5.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/bucardo.git/commit/?h=master&id=fb8c0b3d9e79f8eb184260a2b90d10fc800584b1
More information about the perl-devel
mailing list