Spec file cleanup.
This commit is contained in:
parent
e2b714a6c6
commit
784f3127a5
1 changed files with 4 additions and 8 deletions
12
xml2.spec
12
xml2.spec
|
|
@ -1,12 +1,11 @@
|
|||
Name: xml2
|
||||
Version: 0.5
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
Summary: XML/Unix Processing Tools
|
||||
Group: Applications/Text
|
||||
License: GPLv2+
|
||||
URL: http://dan.egnor.name/xml2/
|
||||
Source0: http://download.ofb.net/gale/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: symlinks
|
||||
|
||||
|
|
@ -28,19 +27,13 @@ make %{?_smp_mflags}
|
|||
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
# cleanup symlinks
|
||||
symlinks -c %{buildroot}%{_bindir}
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/2csv
|
||||
%{_bindir}/2html
|
||||
%{_bindir}/2xml
|
||||
|
|
@ -55,6 +48,9 @@ rm -rf %{buildroot}
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 26 2016 Thomas Moschny <thomas.moschny@gmx.de> - 0.5-10
|
||||
- Spec file cleanup.
|
||||
|
||||
* Mon Aug 10 2015 Thomas Moschny <thomas.moschny@gmx.de> - 0.5-9
|
||||
- Mark license with %%license.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue