summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-05-23 08:42:13 +0200
committerRemi Collet <fedora@famillecollet.com>2015-05-23 08:42:13 +0200
commita3775dd33dd4a638c1cfc15054a3bcb1fc448661 (patch)
tree16eb8a4e56342367190c49d0ee49a651c34d6e79
parent6efc720e47ea4cbae1ef5327c1eb1ac01052250a (diff)
php-pimple1: backport stuffHEADmaster
-rw-r--r--Makefile4
-rw-r--r--php-pimple1.spec13
2 files changed, 16 insertions, 1 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..91b0fd5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+SRCDIR := $(shell pwd)
+NAME := $(shell basename $(SRCDIR))
+include ../../common/Makefile
+
diff --git a/php-pimple1.spec b/php-pimple1.spec
index 1676a71..ab2bb57 100644
--- a/php-pimple1.spec
+++ b/php-pimple1.spec
@@ -1,5 +1,6 @@
+# remirepo spec file for php-pimple1, from:
#
-# RPM spec file for php-pimple1
+# Fedora spec file for php-pimple1
#
# Copyright (c) 2015 Shawn Iwinski <shawn.iwinski@gmail.com>
#
@@ -35,6 +36,7 @@ License: MIT
URL: https://github.com/%{github_owner}/%{github_name}/tree/1.1
Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Autoload generation
BuildRequires: %{_bindir}/phpab
@@ -69,6 +71,7 @@ just one file and one class.
%install
+rm -rf %{buildroot}
mkdir -p %{buildroot}%{phpdir}/Pimple1
cp -pr lib/* %{buildroot}%{phpdir}/Pimple1/
@@ -90,7 +93,12 @@ BOOTSTRAP
%endif
+%clean
+rm -rf %{buildroot}
+
+
%files
+%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc README.rst
@@ -99,6 +107,9 @@ BOOTSTRAP
%changelog
+* Sat May 23 2015 Remi Collet <rpms@famillecollet.com> - 1.1.1-4
+- add backport stuff for remi repo.
+
* Fri May 22 2015 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.1.1-4
- Wrap tests' build requires in "%%if %%{with_tests}"