summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Kajaba <pkajaba@redhat.com>2015-11-13 13:52:44 +0100
committerPavel Kajaba <pkajaba@redhat.com>2015-11-13 13:52:44 +0100
commitce1a492ca266bf29453a303195df87983d0e09ec (patch)
treeb27ad320b1e0e41a22c8c6219ec1ed4c20460d72
parent51c114a11b11353a378070bd710a526d7a845f6a (diff)
downloadpagila-ce1a492ca266bf29453a303195df87983d0e09ec.tar.gz
pagila-ce1a492ca266bf29453a303195df87983d0e09ec.tar.xz
pagila-ce1a492ca266bf29453a303195df87983d0e09ec.zip
Fixed reviewer comments
-rw-r--r--pagila-0.10.1-1.fc23.src.rpmbin634534 -> 634420 bytes
-rw-r--r--pagila.spec14
2 files changed, 3 insertions, 11 deletions
diff --git a/pagila-0.10.1-1.fc23.src.rpm b/pagila-0.10.1-1.fc23.src.rpm
index 3e253d0..f037ad5 100644
--- a/pagila-0.10.1-1.fc23.src.rpm
+++ b/pagila-0.10.1-1.fc23.src.rpm
Binary files differ
diff --git a/pagila.spec b/pagila.spec
index ceb879a..51a4fb4 100644
--- a/pagila.spec
+++ b/pagila.spec
@@ -1,5 +1,5 @@
-%global pginstdir %{_libdir}/pgsql
-%global sname pagila
+%global sname pagila
+%global _pagiladir %{_datadir}/%{name}
Summary: A sample database for PostgreSQL
Name: %{sname}
@@ -11,11 +11,8 @@ URL: http://pgfoundry.org/projects/dbsamples
Source0: http://pgfoundry.org/frs/download.php/1719/%{sname}-%{version}.zip
-Requires: postgresql-server(:MODULE_COMPAT_%{postgresql_major})
Buildarch: noarch
-%global _pagiladir %{_datadir}/%{name}
-
%description
Pagila is a port of the Sakila example database available for MySQL, which was
originally developed by Mike Hillyer of the MySQL AB documentation team. It
@@ -28,18 +25,13 @@ books, tutorials, articles, samples, etc.
%build
%install
-rm -rf %{buildroot}
install -d %{buildroot}%{_pagiladir}
install -m 644 -p *.sql %{buildroot}%{_pagiladir}
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(0644,root,root,0755)
%doc README
%dir %{_pagiladir}
-%attr(644,root,root) %{_pagiladir}/*.sql
+%{_pagiladir}/*.sql
%changelog
* Thu Nov 12 2015 Pavel Kajaba <pkajaba@redhat.com> 0.10.1-2