summaryrefslogtreecommitdiffstats
path: root/php-sabre-xml.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-05 16:02:32 +0200
committerRemi Collet <remi@remirepo.net>2018-06-05 16:02:32 +0200
commit8dfd326a49b7b1025f844b3176cc30a39d654dd4 (patch)
tree597969aa5a39e15d8ced9195b844a57fd7c0f73b /php-sabre-xml.spec
parent383d76af3d85ad8a186468c887bc30f0da9760e2 (diff)
fix URL
Diffstat (limited to 'php-sabre-xml.spec')
-rw-r--r--php-sabre-xml.spec23
1 files changed, 9 insertions, 14 deletions
diff --git a/php-sabre-xml.spec b/php-sabre-xml.spec
index e7e7d4c..9876bae 100644
--- a/php-sabre-xml.spec
+++ b/php-sabre-xml.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-sabre-xml
#
-# Copyright (c) 2016-2017 Remi Collet
+# Copyright (c) 2016-2018 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -8,8 +8,8 @@
#
%global gh_commit 59b20e5bbace9912607481634f97d05a776ffca7
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
-%global gh_owner fruux
-%global gh_project sabre-xml
+%global gh_owner sabre-io
+%global gh_project xml
%if 0%{?rhel} == 5
# Libxml seems too old
%global with_tests 0%{?_with_tests:1}
@@ -17,15 +17,14 @@
%global with_tests 0%{!?_without_tests:1}
%endif
-Name: php-%{gh_project}
+Name: php-sabre-%{gh_project}
Summary: XML library that you may not hate
Version: 1.5.0
-Release: 2%{?dist}
+Release: 6%{?dist}
URL: https://github.com/%{gh_owner}/%{gh_project}
License: BSD
-Group: Development/Libraries
-Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
+Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz
Source1: %{name}-autoload.php
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -85,8 +84,6 @@ cp %{SOURCE1} lib/autoload.php
%install
-rm -rf %{buildroot}
-
# Install as a PSR-0 library
mkdir -p %{buildroot}%{_datadir}/php/Sabre
cp -pr lib %{buildroot}%{_datadir}/php/Sabre/Xml
@@ -126,12 +123,7 @@ exit $ret
%endif
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc *md
@@ -140,6 +132,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Jun 5 2018 Remi Collet <remi@remirepo.net> - 1.5.0-6
+- fix project URL
+
* Sat Oct 29 2016 Remi Collet <remi@fedoraproject.org> - 1.5.0-2
- switch from symfony/class-loader to fedora/autoloader