From 8dfd326a49b7b1025f844b3176cc30a39d654dd4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 5 Jun 2018 16:02:32 +0200 Subject: fix URL --- .gitignore | 8 ++++++++ php-sabre-xml.spec | 23 +++++++++-------------- 2 files changed, 17 insertions(+), 14 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fc9aa8c --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +clog +package-*.xml +*.tgz +*.tar.gz +*.tar.xz +*.tar.xz.asc +*.src.rpm +*/*rpm 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 - 1.5.0-6 +- fix project URL + * Sat Oct 29 2016 Remi Collet - 1.5.0-2 - switch from symfony/class-loader to fedora/autoloader -- cgit