forked from appnexus/schema-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema-tool.spec
33 lines (27 loc) · 687 Bytes
/
schema-tool.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
Summary: Schema Tool
Name: schema-tool
Version: 0
Release: 1
License: AppNexus, Inc.
Group: Applications/Internet
Source: schema-tool-%{version}.tar.gz
Vendor: AppNexus, Inc.
Packager: DevOps <[email protected]>
Requires: python2.7
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description
A schema tool to manage alters and migrations.
%prep
%setup -q
%build
%install
mkdir -p %{buildroot}/usr/local/adnxs/schema-tool/
mkdir -p %{buildroot}/usr/bin
cp -R * %{buildroot}/usr/local/adnxs/schema-tool/
ln -s /usr/local/adnxs/schema-tool/schema %{buildroot}/usr/bin/schema
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
/usr/local/adnxs/schema-tool/
/usr/bin/schema