-
Notifications
You must be signed in to change notification settings - Fork 8
/
pgcmp.spec
44 lines (37 loc) · 1.14 KB
/
pgcmp.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Summary: A tool to compare differences between two Postgres database schemas
Name: pgcmp
Version: 1.1
Release: 1%{?dist}
License: TBD
Group: Applications/Databases
URL: http://afilias.info
Source0: pgcmp-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: postgresql-client
BuildArch: noarch
Vendor: Afilias Limited
Packager: Christopher Browne <[email protected]>
%description
pgcmp is intended to perform comparisons ("reconciliation") of schemas
between databases to determine if they are equivalent, and to list
differences, should they differ.
%prep
%setup -q
%build
%install
rm -rf %{buildroot}/usr/bin/pgcmp
mkdir -p %{buildroot}/usr/bin
install -D pgcmp %{buildroot}/usr/bin/pgcmp
install -D pgcmp-dump %{buildroot}/usr/bin/pgcmp-dump
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%attr(755,root,root) %{_bindir}/pgcmp
/usr/bin/pgcmp
%doc README.txt
%changelog
* Thu Nov 3 2016 Christopher B Browne <[email protected]>
- Factored out dump code into separate pgcmp-dump
* Tue Aug 7 2012 Christopher B Browne <[email protected]>
- Initial packaging