rpms/libyaml/devel libyaml.spec,1.2,1.3

John Eckersberg jeckersb at fedoraproject.org
Wed Jul 22 18:04:48 UTC 2009


Author: jeckersb

Update of /cvs/pkgs/rpms/libyaml/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7523

Modified Files:
	libyaml.spec 
Log Message:
- Minor tweaks to spec file
- Enable %%check section
- Thanks Gareth Armstrong <gareth.armstrong at hp.com>



Index: libyaml.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libyaml/devel/libyaml.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- libyaml.spec	3 Mar 2009 18:21:03 -0000	1.2
+++ libyaml.spec	22 Jul 2009 18:04:18 -0000	1.3
@@ -1,13 +1,17 @@
-Name:           libyaml
-Version:        0.1.2
-Release:        3%{?dist}
-Summary:        YAML 1.1 parser and emitter written in C
-
-Group:          Development/Libraries
-License:        MIT
-URL:            http://pyyaml.org/
-Source0:        http://pyyaml.org/download/libyaml/yaml-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%define tarballname yaml
+
+#====================================================================#
+
+Name:       libyaml
+Version:    0.1.2
+Release:    4%{?dist}
+Summary:    YAML 1.1 parser and emitter written in C
+
+Group:      System Environment/Libraries
+License:    MIT
+URL:        http://pyyaml.org/
+Source0:    http://pyyaml.org/download/libyaml/%{tarballname}-%{version}.tar.gz
+BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 
 %description
@@ -17,17 +21,18 @@ emitter written in C.
 
 
 %package devel
-Summary:        Development libraries and headers for developing LibYAML applications
-Group:          Development/Libraries
-Requires:       libyaml = %{version}-%{release}
+Summary:   Development files for LibYAML applications
+Group:     Development/Libraries
+Requires:  libyaml = %{version}-%{release}
 
 
 %description devel
-Development libraries and headers for developing LibYAML applications.
+The %{name}-devel package contains libraries and header files for
+developing applications that use LibYAML.
 
 
 %prep
-%setup -q -n yaml-%{version}
+%setup -q -n %{tarballname}-%{version}
 
 
 %build
@@ -40,6 +45,11 @@ rm -rf %{buildroot}
 make DESTDIR=%{buildroot} INSTALL="install -p" install
 rm -f %{buildroot}%{_libdir}/*.{la,a}
 
+
+%check
+make check
+
+
 %clean
 rm -rf %{buildroot}
 
@@ -52,7 +62,7 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc README LICENSE
+%doc LICENSE README
 %{_libdir}/%{name}*.so.*
 
 
@@ -64,6 +74,11 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Jul 22 2009 John Eckersberg <jeckersb at redhat.com> - 0.1.2-4
+- Minor tweaks to spec file
+- Enable %%check section
+- Thanks Gareth Armstrong <gareth.armstrong at hp.com>
+
 * Tue Mar 3 2009 John Eckersberg <jeckersb at redhat.com> - 0.1.2-3
 - Remove static libraries
 




More information about the fedora-extras-commits mailing list